Skip to content

Commit 76556af

Browse files
Merge pull request #21566 from cevich/enable_aux
Enable freebsd + release-testing tasks
2 parents 3b52172 + 92d6194 commit 76556af

File tree

1 file changed

+64
-63
lines changed

1 file changed

+64
-63
lines changed

.cirrus.yml

Lines changed: 64 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -487,36 +487,37 @@ osx_alt_build_task:
487487
always:
488488
task_cleanup_script: *mac_cleanup
489489

490+
490491
# Build freebsd release natively on a FreeBSD VM.
491492
freebsd_alt_build_task:
492-
name: "FreeBSD Cross"
493-
alias: freebsd_alt_build
494-
# Only run on 'main' and PRs against 'main'
495-
# Docs: ./contrib/cirrus/CIModes.md
496-
only_if: |
497-
$CIRRUS_CHANGE_TITLE !=~ '.*CI:MACHINE.*' &&
498-
( $CIRRUS_BRANCH == 'main' || $CIRRUS_BASE_BRANCH == 'main' )
499-
depends_on:
500-
- build
501-
env:
502-
<<: *stdenvars
503-
# Functional FreeBSD builds must be built natively since they depend on CGO
504-
DISTRO_NV: freebsd-13
505-
VM_IMAGE_NAME: notyet
506-
CTR_FQIN: notyet
507-
CIRRUS_SHELL: "/bin/sh"
508-
TEST_FLAVOR: "altbuild"
509-
ALT_NAME: 'FreeBSD Cross'
510-
freebsd_instance:
511-
image_family: freebsd-13-2
512-
setup_script:
513-
- pkg install -y gpgme bash go-md2man gmake gsed gnugrep go pkgconf
514-
build_amd64_script:
515-
- gmake podman-release
516-
# This task cannot make use of the shared repo.tbz artifact and must
517-
# produce a new repo.tbz artifact for consumption by 'artifacts' task.
518-
repo_prep_script: *repo_prep
519-
repo_artifacts: *repo_artifacts
493+
name: "FreeBSD Cross"
494+
alias: freebsd_alt_build
495+
# Only run on 'main' and PRs against 'main'
496+
# Docs: ./contrib/cirrus/CIModes.md
497+
only_if: |
498+
$CIRRUS_CHANGE_TITLE !=~ '.*CI:MACHINE.*' &&
499+
( $CIRRUS_BRANCH == 'main' || $CIRRUS_BASE_BRANCH == 'main' )
500+
depends_on:
501+
- build
502+
env:
503+
<<: *stdenvars
504+
# Functional FreeBSD builds must be built natively since they depend on CGO
505+
DISTRO_NV: freebsd-13
506+
VM_IMAGE_NAME: notyet
507+
CTR_FQIN: notyet
508+
CIRRUS_SHELL: "/bin/sh"
509+
TEST_FLAVOR: "altbuild"
510+
ALT_NAME: 'FreeBSD Cross'
511+
freebsd_instance:
512+
image_family: freebsd-13-2
513+
setup_script:
514+
- pkg install -y gpgme bash go-md2man gmake gsed gnugrep go pkgconf
515+
build_amd64_script:
516+
- gmake podman-release
517+
# This task cannot make use of the shared repo.tbz artifact and must
518+
# produce a new repo.tbz artifact for consumption by 'artifacts' task.
519+
repo_prep_script: *repo_prep
520+
repo_artifacts: *repo_artifacts
520521

521522

522523
# Verify podman is compatible with the docker python-module.
@@ -1203,22 +1204,22 @@ artifacts_task:
12031204

12041205
# When a new tag is pushed, confirm that the code and commits
12051206
# meet criteria for an official release.
1206-
#release_task:
1207-
# name: "Verify Release"
1208-
# alias: release
1209-
# # This should _only_ run for new tags
1210-
# # Docs: ./contrib/cirrus/CIModes.md
1211-
# only_if: $CIRRUS_TAG != ''
1212-
# depends_on:
1213-
# - build
1214-
# - success
1215-
# gce_instance: *standardvm
1216-
# env:
1217-
# <<: *stdenvars
1218-
# TEST_FLAVOR: release
1219-
# clone_script: *get_gosrc
1220-
# setup_script: *setup
1221-
# main_script: *main
1207+
release_task:
1208+
name: "Verify Release"
1209+
alias: release
1210+
# This should _only_ run for new tags
1211+
# Docs: ./contrib/cirrus/CIModes.md
1212+
only_if: $CIRRUS_TAG != ''
1213+
depends_on:
1214+
- build
1215+
- success
1216+
gce_instance: *standardvm
1217+
env:
1218+
<<: *stdenvars
1219+
TEST_FLAVOR: release
1220+
clone_script: *get_gosrc
1221+
setup_script: *setup
1222+
main_script: *main
12221223

12231224

12241225
# When preparing to release a new version, this task may be manually
@@ -1227,22 +1228,22 @@ artifacts_task:
12271228
#
12281229
# Note: This cannot use a YAML alias on 'release_task' as of this
12291230
# comment, it is incompatible with 'trigger_type: manual'
1230-
#release_test_task:
1231-
# name: "Optional Release Test"
1232-
# alias: release_test
1233-
# # Release-PRs always include "release" or "Bump" in the title
1234-
# # Docs: ./contrib/cirrus/CIModes.md
1235-
# only_if: $CIRRUS_CHANGE_TITLE =~ '.*((release)|(bump)).*'
1236-
# # Allow running manually only as part of release-related builds
1237-
# # see RELEASE_PROCESS.md
1238-
# trigger_type: manual
1239-
# depends_on:
1240-
# - build
1241-
# - success
1242-
# gce_instance: *standardvm
1243-
# env:
1244-
# <<: *stdenvars
1245-
# TEST_FLAVOR: release
1246-
# clone_script: *get_gosrc
1247-
# setup_script: *setup
1248-
# main_script: *main
1231+
release_test_task:
1232+
name: "Optional Release Test"
1233+
alias: release_test
1234+
# Release-PRs always include "release" or "Bump" in the title
1235+
# Docs: ./contrib/cirrus/CIModes.md
1236+
only_if: $CIRRUS_CHANGE_TITLE =~ '.*((release)|(bump)).*'
1237+
# Allow running manually only as part of release-related builds
1238+
# see RELEASE_PROCESS.md
1239+
trigger_type: manual
1240+
depends_on:
1241+
- build
1242+
- success
1243+
gce_instance: *standardvm
1244+
env:
1245+
<<: *stdenvars
1246+
TEST_FLAVOR: release
1247+
clone_script: *get_gosrc
1248+
setup_script: *setup
1249+
main_script: *main

0 commit comments

Comments
 (0)