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

Add monitoring for the deployed version for all site repos #491

Open
bhazelton opened this issue Jun 24, 2020 · 5 comments
Open

Add monitoring for the deployed version for all site repos #491

bhazelton opened this issue Jun 24, 2020 · 5 comments
Assignees
Labels

Comments

@bhazelton
Copy link
Member

Particularly the correlator, but also all other repos installed on site. Probably want columns for machine name, environment name, repository name along with the standard git info (hash, branch, upstream etc).

@dannyjacobs
Copy link
Contributor

dannyjacobs commented Aug 25, 2020

We really need this. Currently running hera_corr_f on a hacky branch to shim up the hacked fengine.
Can we make a table in M&C that tracks host, repo, path, checked out branch, hash. Imagining a really simple script that runs on each machine given a local list of repos.

@bhazelton
Copy link
Member Author

bhazelton commented Aug 25, 2020

Ok, so does this table schema seem right? The starred columns are part of the primary key. I guess one question is: do we ever have 2 copies of a repo on a host that we want to use? If so, the path needs to be part of the primary key. Also, is there anything else we should record? Environment comes to mind, but not sure how to get that reliably.

*host
*repo
*starttime
stoptime
path
upstream
branch
hash

@dannyjacobs @plaplant @mkolopanis @david-deboer

@mkolopanis
Copy link
Member

mkolopanis commented Aug 25, 2020 via email

@mkolopanis
Copy link
Member

mkolopanis commented Aug 25, 2020 via email

@bhazelton
Copy link
Member Author

bhazelton commented Aug 27, 2020

input info -- should live as a text or yaml file in hera_ops:
host
package
environment
path

M&C table:
*host: string
*package: string
*starttime: gps second
*environment: string
stoptime: gps second
installed_version: string
installed_branch: string
installed_hash: string
local_path: string
local_remote: string
local_branch: string
local_hash: string

@bhazelton bhazelton self-assigned this Sep 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants