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

[Test] CI: Use Linux containers with pinned package versions #3082

Conversation

osteffenrh
Copy link
Contributor

see tianocore/containers#8
this is based on #2935

Use the Python supplied by the container image.

Signed-off-by: Oliver Steffen <osteffen@redhat.com>
Fix pip install.

Signed-off-by: Oliver Steffen <osteffen@redhat.com>
Run all Linux based jobs in a container, using a custom Fedora 35 image
(gcc 11). The image is hosted on ghcr.io and the Dockerfiles are
here: https://github.com/tianocore/containers

Do not run apt-get in CI jobs to install qemu and gcc dependencies.
Assume the container image provides these.

Signed-off-by: Oliver Steffen <osteffen@redhat.com>
Remove BaseTools/Bin/gcc*_linux_ext_dep.yaml to stop
downloading gcc from external locations; use the
toolchains provided by the container image instead.

The image needs to set the GCC5_*_PREFIX accordingly.

Signed-off-by: Oliver Steffen <osteffen@redhat.com>
Signed-off-by: Oliver Steffen <osteffen@redhat.com>
@osteffenrh osteffenrh force-pushed the ci-linux-container-pinned-versions branch from 1ed11f4 to 782a483 Compare July 15, 2022 09:07
@osteffenrh
Copy link
Contributor Author

patch check fails because I forgot the sign-off.

Pinning the package versions installed in the container images
increases reproducability.

Signed-off-by: Oliver Steffen <osteffen@redhat.com>
@osteffenrh osteffenrh force-pushed the ci-linux-container-pinned-versions branch from 782a483 to 3f8eb0e Compare July 20, 2022 09:24
@osteffenrh
Copy link
Contributor Author

patch check again due to line ending. will fix before sending this out.

@osteffenrh osteffenrh closed this Aug 10, 2022
@osteffenrh osteffenrh deleted the ci-linux-container-pinned-versions branch April 13, 2023 12:23
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.

1 participant