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

osbuild-worker-executor: job-id in control.json as hostname #4208

Merged
merged 3 commits into from
Jun 14, 2024

Conversation

mvo5
Copy link
Contributor

@mvo5 mvo5 commented Jun 13, 2024

This commit adds support to set the hostname to the job-id that is part of the control.json.

This is the first part, the second part will actually set this in the internal/osbuildexecutor/runner-impl-aws-ec2.go

This commit adds support to set the hostname to the job-id that
is part of the control.json.
@mvo5 mvo5 requested a review from croissanne June 13, 2024 13:47
mvo5 added 2 commits June 13, 2024 17:05
Introduce a new OsbuildOpts struct to make the API a bit easier
to extend and use in the packages.

Also add a new `JobID` field in the `OsbuildOpts`.
Set the jobID into control.json so that the osbuild-worker-executor
can set the hostname based on the jobID.
Copy link
Member

@croissanne croissanne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm! ty 🐧

@mvo5 mvo5 enabled auto-merge (rebase) June 14, 2024 12:40
@mvo5 mvo5 merged commit c13d37c into osbuild:main Jun 14, 2024
40 of 42 checks passed
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.

2 participants