Skip to content

Commit

Permalink
Merge pull request #21566 from cevich/enable_aux
Browse files Browse the repository at this point in the history
Enable freebsd + release-testing tasks
  • Loading branch information
openshift-merge-bot[bot] authored Feb 14, 2024
2 parents 3b52172 + 92d6194 commit 76556af
Showing 1 changed file with 64 additions and 63 deletions.
127 changes: 64 additions & 63 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -487,36 +487,37 @@ osx_alt_build_task:
always:
task_cleanup_script: *mac_cleanup


# Build freebsd release natively on a FreeBSD VM.
freebsd_alt_build_task:
name: "FreeBSD Cross"
alias: freebsd_alt_build
# Only run on 'main' and PRs against 'main'
# Docs: ./contrib/cirrus/CIModes.md
only_if: |
$CIRRUS_CHANGE_TITLE !=~ '.*CI:MACHINE.*' &&
( $CIRRUS_BRANCH == 'main' || $CIRRUS_BASE_BRANCH == 'main' )
depends_on:
- build
env:
<<: *stdenvars
# Functional FreeBSD builds must be built natively since they depend on CGO
DISTRO_NV: freebsd-13
VM_IMAGE_NAME: notyet
CTR_FQIN: notyet
CIRRUS_SHELL: "/bin/sh"
TEST_FLAVOR: "altbuild"
ALT_NAME: 'FreeBSD Cross'
freebsd_instance:
image_family: freebsd-13-2
setup_script:
- pkg install -y gpgme bash go-md2man gmake gsed gnugrep go pkgconf
build_amd64_script:
- gmake podman-release
# This task cannot make use of the shared repo.tbz artifact and must
# produce a new repo.tbz artifact for consumption by 'artifacts' task.
repo_prep_script: *repo_prep
repo_artifacts: *repo_artifacts
name: "FreeBSD Cross"
alias: freebsd_alt_build
# Only run on 'main' and PRs against 'main'
# Docs: ./contrib/cirrus/CIModes.md
only_if: |
$CIRRUS_CHANGE_TITLE !=~ '.*CI:MACHINE.*' &&
( $CIRRUS_BRANCH == 'main' || $CIRRUS_BASE_BRANCH == 'main' )
depends_on:
- build
env:
<<: *stdenvars
# Functional FreeBSD builds must be built natively since they depend on CGO
DISTRO_NV: freebsd-13
VM_IMAGE_NAME: notyet
CTR_FQIN: notyet
CIRRUS_SHELL: "/bin/sh"
TEST_FLAVOR: "altbuild"
ALT_NAME: 'FreeBSD Cross'
freebsd_instance:
image_family: freebsd-13-2
setup_script:
- pkg install -y gpgme bash go-md2man gmake gsed gnugrep go pkgconf
build_amd64_script:
- gmake podman-release
# This task cannot make use of the shared repo.tbz artifact and must
# produce a new repo.tbz artifact for consumption by 'artifacts' task.
repo_prep_script: *repo_prep
repo_artifacts: *repo_artifacts


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

# When a new tag is pushed, confirm that the code and commits
# meet criteria for an official release.
#release_task:
# name: "Verify Release"
# alias: release
# # This should _only_ run for new tags
# # Docs: ./contrib/cirrus/CIModes.md
# only_if: $CIRRUS_TAG != ''
# depends_on:
# - build
# - success
# gce_instance: *standardvm
# env:
# <<: *stdenvars
# TEST_FLAVOR: release
# clone_script: *get_gosrc
# setup_script: *setup
# main_script: *main
release_task:
name: "Verify Release"
alias: release
# This should _only_ run for new tags
# Docs: ./contrib/cirrus/CIModes.md
only_if: $CIRRUS_TAG != ''
depends_on:
- build
- success
gce_instance: *standardvm
env:
<<: *stdenvars
TEST_FLAVOR: release
clone_script: *get_gosrc
setup_script: *setup
main_script: *main


# When preparing to release a new version, this task may be manually
Expand All @@ -1227,22 +1228,22 @@ artifacts_task:
#
# Note: This cannot use a YAML alias on 'release_task' as of this
# comment, it is incompatible with 'trigger_type: manual'
#release_test_task:
# name: "Optional Release Test"
# alias: release_test
# # Release-PRs always include "release" or "Bump" in the title
# # Docs: ./contrib/cirrus/CIModes.md
# only_if: $CIRRUS_CHANGE_TITLE =~ '.*((release)|(bump)).*'
# # Allow running manually only as part of release-related builds
# # see RELEASE_PROCESS.md
# trigger_type: manual
# depends_on:
# - build
# - success
# gce_instance: *standardvm
# env:
# <<: *stdenvars
# TEST_FLAVOR: release
# clone_script: *get_gosrc
# setup_script: *setup
# main_script: *main
release_test_task:
name: "Optional Release Test"
alias: release_test
# Release-PRs always include "release" or "Bump" in the title
# Docs: ./contrib/cirrus/CIModes.md
only_if: $CIRRUS_CHANGE_TITLE =~ '.*((release)|(bump)).*'
# Allow running manually only as part of release-related builds
# see RELEASE_PROCESS.md
trigger_type: manual
depends_on:
- build
- success
gce_instance: *standardvm
env:
<<: *stdenvars
TEST_FLAVOR: release
clone_script: *get_gosrc
setup_script: *setup
main_script: *main

1 comment on commit 76556af

@packit-as-a-service
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

podman-next COPR build failed. @containers/packit-build please check.

Please sign in to comment.