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

chore: fix container image reproducibility #7115

Merged
merged 1 commit into from
Apr 24, 2023

Conversation

smira
Copy link
Member

@smira smira commented Apr 20, 2023

Also provide make targets to sign the images.

@@ -663,6 +665,8 @@ COPY --from=pkg-grub / /
COPY --from=unicode-pf2 /usr/share/grub/unicode.pf2 /usr/share/grub/unicode.pf2

FROM alpine:3.17.2 AS installer-image
ARG SOURCE_DATE_EPOCH
Copy link
Member

Choose a reason for hiding this comment

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

SOURCE_DATE_EPOCH comes from buildkit?

Copy link
Member Author

Choose a reason for hiding this comment

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

we inject it

@smira smira marked this pull request as ready for review April 24, 2023 17:45
@@ -575,6 +578,7 @@ local integration_pipelines = [
Pipeline('cron-integration-qemu-race', default_pipeline_steps + [build_race, integration_qemu_race], [default_cron_pipeline]) + cron_trigger(['nightly']),
Pipeline('cron-integration-qemu-csi', default_pipeline_steps + [integration_qemu_csi], [default_cron_pipeline]) + cron_trigger(['nightly']),
Pipeline('cron-integration-images', default_pipeline_steps + [integration_images, integration_sbcs], [default_cron_pipeline]) + cron_trigger(['nightly']),
Pipeline('cron-integration-reproducibility-test', default_pipeline_steps + [integration_reproducibility_test], [default_cron_pipeline]) + cron_trigger(['nightly']),
Copy link
Member

Choose a reason for hiding this comment

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

do we need this nighty where we built with a fresh cache, seems to aggressive, maybe weekly and before release

Copy link
Member

Choose a reason for hiding this comment

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

at least until the ci cutover?

Copy link
Member Author

Choose a reason for hiding this comment

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

I'll see how long it takes in the CI. but in general whole nightly passes fine except for extensions which is basically launching a Talos build which waits for extensions build which in turn wants another whole machine (in terms of resource claims). I think proper fix is to lower resource claims for extensions build

@smira
Copy link
Member Author

smira commented Apr 24, 2023

/promote integration-reproducibility

Also provide make targets to sign the images.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
@smira
Copy link
Member Author

smira commented Apr 24, 2023

/promote integration-reproducibility

1 similar comment
@smira
Copy link
Member Author

smira commented Apr 24, 2023

/promote integration-reproducibility

@smira
Copy link
Member Author

smira commented Apr 24, 2023

/m

@talos-bot talos-bot merged commit ec8c8db into siderolabs:main Apr 24, 2023
@smira smira mentioned this pull request Apr 27, 2023
mrmichaeladavis added a commit to mrmichaeladavis/talos that referenced this pull request Apr 29, 2023
Adds back in the required TARGETARCH for installer so extensions can be built off installer again as nvidia nonfree extension building was broken. 

Fixes: siderolabs#7155 
Refs: siderolabs#7115 

Signed-off-by: Michael A. Davis <6325127+mrmichaeladavis@users.noreply.github.com>
smira pushed a commit to mrmichaeladavis/talos that referenced this pull request May 1, 2023
Adds back in the required TARGETARCH for installer so extensions can be built off installer again as nvidia nonfree extension building was broken.

Fixes: siderolabs#7155
Refs: siderolabs#7115

Signed-off-by: Michael A. Davis <6325127+mrmichaeladavis@users.noreply.github.com>
Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
smira pushed a commit to smira/talos that referenced this pull request May 8, 2023
Adds back in the required TARGETARCH for installer so extensions can be built off installer again as nvidia nonfree extension building was broken.

Fixes: siderolabs#7155
Refs: siderolabs#7115

Signed-off-by: Michael A. Davis <6325127+mrmichaeladavis@users.noreply.github.com>
Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
(cherry picked from commit d4e94f7)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backported
Development

Successfully merging this pull request may close these issues.

4 participants