Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Term.branch_head should add any required .monitor file #396

Open
talex5 opened this issue Dec 6, 2016 · 6 comments
Open

Term.branch_head should add any required .monitor file #396

talex5 opened this issue Dec 6, 2016 · 6 comments

Comments

@talex5
Copy link
Contributor

talex5 commented Dec 6, 2016

Currently if you want to check the status of a project that isn't itself being built by the CI, you need to add the .monitor file manually to tell the bridge to watch it. This should be done automatically.

Will wait for #384 to be merged before changing this, to avoid conflicts.

@avsm
Copy link
Collaborator

avsm commented Jan 16, 2017

This would still be really useful to have for rapid bootstrapping of fresh CI setups.

@avsm
Copy link
Collaborator

avsm commented Jan 23, 2017

Another thought: it would help with unprivileged monitoring to be able to put in a poll: daily (or similar) into the monitor file to make it not establish a webhook, and to regularly check for updates (as it does on restarting) instead.

@samoht
Copy link
Member

samoht commented Jan 23, 2017

you can already put a .dirty in there and write your own loop to write it daily.

@avsm
Copy link
Collaborator

avsm commented Jan 23, 2017

aha, this might be something for the datakit-ci process to help with then? An unprivileged mode where instead of writing a .monitor file it uses .dirty on a loop but can operate without GitHub privilege.

@talex5
Copy link
Contributor Author

talex5 commented Jan 23, 2017

For bootstrapping fresh CI setups, you might prefer to use the local bridge: https://github.com/docker/datakit/tree/master/bridge/local

@avsm
Copy link
Collaborator

avsm commented Jan 23, 2017

LOCAL BRIDGE!!!! Yes!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants