Skip to content

Commit

Permalink
[CI:BUILD] build rpm in cirrus
Browse files Browse the repository at this point in the history
Ref: #19899 (comment)

[NO NEW TESTS NEEDED]

Signed-off-by: Lokesh Mandvekar <[email protected]>

update

Signed-off-by: Lokesh Mandvekar <[email protected]>
  • Loading branch information
lsm5 committed Sep 26, 2023
1 parent f642349 commit 1ffde4c
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,26 @@ build_task:
path: ./*-${STATS_LOGFILE_SFX}
type: text/plain


build_rpm_task:
alias: 'build_rpm'
name: 'Build RPM for $DISTRO_NV'
gce_instance: *standardvm
env:
<<: *stdenvars
TEST_FLAVOR: build_rpm
clone_script: *full_clone
prebuild_script: *prebuild
setup_script: *setup
postbuild_script: *postbuild
main_script: *main
# Cirrus-CI is very slow uploading one file at time, and the repo contains
# thousands of files. Speed this up by archiving into tarball first.
repo_prep_script: *repo_prep
repo_artifacts: *repo_artifacts
always: *runner_stats


build_aarch64_task:
alias: 'build_aarch64'
name: 'Build for $DISTRO_NV'
Expand Down Expand Up @@ -985,6 +1005,7 @@ success_task:
# N/B: ALL tasks must be listed here, minus their '_task' suffix.
depends_on:
- build
- build_rpm
- build_aarch64
- validate
- validate_aarch64
Expand Down

0 comments on commit 1ffde4c

Please sign in to comment.