Skip to content

Conversation

@robholland
Copy link
Contributor

What was changed

Added an option to pass a build ID to the worker.

Why?

This allows testing of build-id versioning using omes.

Checklist

  1. Closes

  2. How was this tested:

  1. Any docs updates needed?

This allows testing of build-id versioning using omes.
go func() {
w := worker.New(client, taskQueue, worker.Options{
BuildID: options.BuildID,
UseBuildIDForVersioning: options.BuildID != "",
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 feels safe, but maybe this needs to be an explicit option?

@robholland
Copy link
Contributor Author

cc @Prajithp

@robholland robholland merged commit 9c4f647 into main Oct 17, 2024
9 checks passed
@robholland robholland deleted the rh-build-id branch October 17, 2024 08:42
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