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

Enable hermetic builds for Thanos #779

Open
wants to merge 1 commit into
base: release-1.1
Choose a base branch
from

Conversation

danielmellado
Copy link
Contributor

@danielmellado danielmellado commented Mar 10, 2025

This commit enables hermetic builds for Thanos. It also modifies its
Dockerfile to skip using promu and removes the rpm fetcher configuration
given that COO is in the public cluster and can't access internal RH
network.

This is dependent on openshift/thanos#159.
Otherwise this would fail to find the golang toolchain.

Signed-off-by: Daniel Mellado [email protected]

@danielmellado danielmellado changed the title DNM Test hermetic thanos Test hermetic thanos Mar 10, 2025
@danielmellado danielmellado changed the title Test hermetic thanos Enable hermetic builds for Thanos Mar 10, 2025
@danielmellado danielmellado changed the title Enable hermetic builds for Thanos COO-689: Enable hermetic builds for Thanos Mar 10, 2025
@@ -197,8 +197,6 @@ spec:
value: $(params.output-image).prefetch
- name: ociArtifactExpiresAfter
value: $(params.image-expires-after)
- name: dev-package-managers
value: $(params.prefetch-dev-package-managers-enabled)
Copy link
Contributor

Choose a reason for hiding this comment

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

Hmm the task params shouldn't need changing. what am I missing? Afaict this is just how the pipeline tasks works.
Otoh this doesn't seem to hurt for now so feel free to go ahead and merge.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi, as we'll no longer use the rpm dev package manager we won't be needing for now to enable this at all so I thought about reducing the noise and just keep it off ;)

This needed a rebase in any case so I'll merge once CI is done, thanks!

@danielmellado danielmellado changed the title COO-689: Enable hermetic builds for Thanos Enable hermetic builds for Thanos Mar 10, 2025
@jan--f
Copy link
Contributor

jan--f commented Mar 10, 2025

/retest

1 similar comment
@danielmellado
Copy link
Contributor Author

/retest

@danielmellado danielmellado force-pushed the add_hermetic_thanos branch 2 times, most recently from 9579b3f to 299a852 Compare March 10, 2025 20:51
This commit enables hermetic builds for Thanos. It also modifies its
Dockerfile to skip using promu and removes the rpm fetcher configuration
given that COO is in the public cluster and can't access internal RH
network.

This is dependent on openshift/thanos#159.
Otherwise this would fail to find the golang toolchain.

Signed-off-by: Daniel Mellado <[email protected]>
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