-
Notifications
You must be signed in to change notification settings - Fork 135
feat: add server logs endpoint #1005
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
Conversation
Your org requires the Graphite merge queue for merging into mainYou must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. You can enable merging using labels in your Graphite merge queue settings. |
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @AngelOnFira and the rest of your teammates on |
5538ee2 to
6e3621c
Compare
6e3621c to
ca4a40f
Compare
ca4a40f to
dd6a7c5
Compare
| let root_user_enabled = std::env::var("NOMAD_META_root_user_enabled") | ||
| .context("NOMAD_META_root_user_enabled")? | ||
| == "1"; | ||
| let runner = std::env::var("NOMAD_META_runner").unwrap_or("job_run".to_string()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should work for any existing usage of job-runner, while the new dynamic servers passes in a new var.
| // let server_data = unwrap!(server_get_res.servers.first()); | ||
| // let server_game_id = unwrap_ref!(server_data.game_id).as_uuid(); | ||
|
|
||
| // ensure_eq!(game_id, server_game_id, "server does not belong to game"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This isn't correct rn, fixing all auth upstack after this is merged
dd6a7c5 to
71fb1aa
Compare
71fb1aa to
337558a
Compare
fern/definition/servers/logs.yml
Outdated
| auth: true | ||
| base-path: /servers | ||
| endpoints: | ||
| listBuilds: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be called listBuilds?
| @@ -0,0 +1,89 @@ | |||
| // use chirp_worker::prelude::*; | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should these tests be reimplemented?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i'm going to get as much as i can up to speed soon
337558a to
7a57f54
Compare
94895ba to
6c9d6a2
Compare
6c9d6a2 to
d0a77f3
Compare
Merge activity
|
This will close RVTEE-313, RVTEE-310, RVTEE-163, RVTEE-311, RVTEE-308, RVTEE-307, RVTEE-306
d0a77f3 to
a23073b
Compare

This will close RVTEE-313, RVTEE-310, RVTEE-163, RVTEE-311, RVTEE-308, RVTEE-307, RVTEE-306