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

feat: add server logs endpoint #1005

Merged
merged 1 commit into from
Aug 7, 2024

Conversation

AngelOnFira
Copy link
Contributor

@AngelOnFira AngelOnFira commented Jul 23, 2024

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

Copy link
Contributor

graphite-app bot commented Jul 23, 2024

Your org requires the Graphite merge queue for merging into main

You 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.

Copy link

linear bot commented Jul 23, 2024

RVTEE-313

RVTEE-310

RVTEE-163

Copy link

linear bot commented Jul 24, 2024

RVTEE-311

@AngelOnFira AngelOnFira force-pushed the 07-23-feat_add_server_logs_endpoint branch from 6e3621c to ca4a40f Compare July 24, 2024 18:53
Copy link

linear bot commented Jul 24, 2024

RVTEE-308

RVTEE-307

RVTEE-306

@AngelOnFira AngelOnFira force-pushed the 07-23-feat_add_server_logs_endpoint branch from ca4a40f to dd6a7c5 Compare July 24, 2024 22:11
@@ -28,6 +28,7 @@ fn main() -> anyhow::Result<()> {
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());
Copy link
Contributor Author

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.

Comment on lines +75 to +78
// 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");
Copy link
Contributor Author

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

@AngelOnFira AngelOnFira force-pushed the 07-23-feat_add_server_logs_endpoint branch from dd6a7c5 to 71fb1aa Compare July 25, 2024 03:20
@AngelOnFira AngelOnFira marked this pull request as ready for review July 25, 2024 03:22
@AngelOnFira AngelOnFira force-pushed the 07-23-feat_add_server_logs_endpoint branch from 71fb1aa to 337558a Compare July 25, 2024 03:27
auth: true
base-path: /servers
endpoints:
listBuilds:
Copy link
Contributor

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::*;
Copy link
Contributor

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?

Copy link
Member

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

Copy link
Contributor

graphite-app bot commented Aug 7, 2024

Merge activity

This will close RVTEE-313, RVTEE-310, RVTEE-163, RVTEE-311, RVTEE-308, RVTEE-307, RVTEE-306
@NathanFlurry NathanFlurry force-pushed the 07-23-feat_add_server_logs_endpoint branch from d0a77f3 to a23073b Compare August 7, 2024 22:51
@graphite-app graphite-app bot merged commit a23073b into main Aug 7, 2024
5 of 10 checks passed
@graphite-app graphite-app bot deleted the 07-23-feat_add_server_logs_endpoint branch August 7, 2024 22:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants