stable

Clone or download

Read-only

Closes request #31542 Stop building a "fat" Docker image to prepare the sources

Instead of building a "fat" Docker image we are now mounting `/nix` inside the container and using `nix-shell`. This saves a bit of time and it is closer to what we have in our development environment. Also, it allows us to drop some of tricks that were used to make it work (no more nix-env priority, setuid binaries...). Later this could also allow to share the Nix store between multiple CI agents. Change-Id: I316df0d4ed73cbfc3d6dcc632c2c4ce26c0f2345

Modified Files

Name
M Makefile +2 −2 Go to diff View file
A lib/frontend/build-system-configurator/bin/run-js-units-ci.sh +10 −0 Go to diff View file
M shell.nix +1 −3 Go to diff View file
M tests/Jenkinsfile +3 −39 Go to diff View file
M tests/Jenkinsfile-nightly +3 −23 Go to diff View file
M tests/Jenkinsfile-security-scan-vuln-deps +4 −12 Go to diff View file
M tests/Jenkinsfile-security-taint-analysis +2 −13 Go to diff View file
M tests/actions.groovy +25 −11 Go to diff View file
M tests/build_and_run/test.sh +15 −5 Go to diff View file
M tools/rpm/build_and_run_packages.sh +20 −5 Go to diff View file
M tools/utils/nix/build-tools/build-tools-general.nix +2 −2 Go to diff View file
M tools/utils/nix/build-tools/default.nix +5 −6 Go to diff View file
M tools/utils/nix/dev-tools/default.nix +11 −10 Go to diff View file
A tools/utils/nix/nix-container.conf +4 −0 Go to diff View file
A tools/utils/nix/nix.dockerfile +6 −0 Go to diff View file
D tools/utils/nix/tools.dockerfile +0 −10 Go to diff View file