CI: Skip downloading artifacts of previous jobs
-
Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA. As a benefit of being a GitLab Community Contributor, you receive complimentary access to GitLab Duo.
What does this MR do?
CI: Skip downloading artifacts of previous jobs
The rebase jobs runs latest and thus downloads artifacts from all
previous jobs and stages, which are not even used. Looking at
https://gitlab.com/gitlab-org/gitlab-runner/-/jobs/11151081441 shows,
that the job rebase on main spent 08:35:43-08:45:36 = 10 minutes on
downloading, while the actual rebase was done in 08:46:44-08:46:51 = 7
seconds.
Total downloaded artifacts size: approximately 15.9 GB
Based on the build log, here's the summary of downloaded artifacts:- helper images (alpine, alpine-pwsh, ubuntu, ubuntu-pwsh, ubi-fips): 2.21 GB
- helper images (windows-nanoserver-ltsc2019, windows-servercore-ltsc2019): 2.66 GB
- helper images (windows-nanoserver-ltsc2022, windows-servercore-ltsc2022): 2.73 GB
- prebuilt helper images: 1.54 GB
- prebuilt helper images windows 2019: 2.28 GB
- prebuilt helper images windows 2022: 2.31 GB
- runner images: 1.13 GB
- binaries: 523.95 MB
- clone test repo: 34.21 KB
- rpm verify fips: 1.54 KB
- code_quality: 226 B
- gemnasium-dependency_scanning: 8.85 KB
- gitlab-advanced-sast: 13.48 KB
- unit test: 8.83 MB
- integration test 1/4: 1.01 MB
- integration test 2/4: 861.34 KB
- integration test 3/4: 971.91 KB
- integration test 4/4: 891.27 KB
- integration test with race 1/4: 1.01 MB
- integration test with race 2/4: 858.49 KB
- integration test with race 3/4: 969.71 KB
- integration test with race 4/4: 888.68 KB
- fuzz variable mask: 58.44 KB
- windows 1809 unit tests 1/2: 11.05 MB
- windows 1809 unit tests 2/2: 8.57 MB
- windows 21H2 unit tests 1/2: 11.05 MB
- windows 21H2 unit tests 2/2: 8.57 MB
- windows 1809 integration tests 1/4: 1.01 MB
- windows 1809 integration tests 2/4: 861.77 KB
- windows 1809 integration tests 3/4: 974.22 KB
- windows 1809 integration tests 4/4: 892.15 KB
- windows 21H2 integration tests 1/4: 1.01 MB
- windows 21H2 integration tests 2/4: 861.72 KB
- windows 21H2 integration tests 3/4: 974.61 KB
- windows 21H2 integration tests 4/4: 892.22 KB
- test coverage report: 33.92 MB
- package-deb: [deb64]: 24.37 MB
- package-deb: [debArm64]: 44.09 MB
- package-deb: [deb32]: 22.47 MB
- package-deb: [debArm32]: 45.51 MB
- package-deb: [debIbm]: 44.47 MB
- package-deb: [debRiscv64]: 23.34 MB
- package-rpm: [rpm64]: 24.40 MB
- package-rpm: [rpmArm64]: 44.10 MB
- package-rpm: [rpm32]: 22.46 MB
- package-rpm: [rpmArm32]: 45.53 MB
- package-rpm: [rpmIbm]: 44.48 MB
- package-rpm: [rpmRiscv64]: 23.33 MB
- package-rpm: [rpmFips]: 76.00 MB
- package-helpers: 1.02 GB
- bleeding edge docker images: 2.96 KB
- integration kubernetes exec legacy: 3.62 KB
- integration kubernetes attach: 5.18 KB
- integration kubernetes: 2.71 KB
- destroy integration kubernetes: 5.18 KB
- package test variables: 307 B
Total downloaded artifacts size: approximately 15.9 GB
Improve pipeline efficiency and disable downloading dependencies and caches; see https://docs.gitlab.com/ci/yaml/#dependencies.
Signed-off-by: Philipp Matthias Hahn pmhahn@pmhahn.de
Why was this MR needed?
Just a performance improvement while waiting for https://gitlab.com/gitlab-org/gitlab-runner/-/jobs/11151081441 triggered by !5799 (merged)
What's the best way to test this MR?
@ajwalker may know, how he triggered that pipeline.
What are the relevant issue numbers?
None