diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-01-30 06:26:39 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-30 06:26:39 -0800 |
commit | e83e9f5d7194b43365e288f53dcd2114bdf9fa91 (patch) | |
tree | 4ea803a90922e51aa5bf3e561363338adc36db90 | |
parent | eb283657036f5dc69c926432252768d158989100 (diff) | |
parent | 12bd7e927cc8b01033f6a9594ccdf0611f96e075 (diff) | |
download | podman-e83e9f5d7194b43365e288f53dcd2114bdf9fa91.tar.gz podman-e83e9f5d7194b43365e288f53dcd2114bdf9fa91.tar.bz2 podman-e83e9f5d7194b43365e288f53dcd2114bdf9fa91.zip |
Merge pull request #5019 from cevich/fix_gate_epoch
Cirrus: Set EPOCH_TEST_COMMIT during gate task
-rw-r--r-- | .cirrus.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.cirrus.yml b/.cirrus.yml index e1810fab6..bb2da0812 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -85,10 +85,15 @@ gce_instance: # quick format, lint, and unit tests on the standard platform. gating_task: + # Only run this on PRs, never during post-merge testing. This is also required + # for proper setting of EPOCH_TEST_COMMIT value, required by validation tools. + only_if: $CIRRUS_BRANCH != $DEST_BRANCH + env: CIRRUS_WORKING_DIR: "/usr/src/libpod" GOPATH: "/go" GOSRC: "/go/src/github.com/containers/libpod" + EPOCH_TEST_COMMIT: "${CIRRUS_BASE_SHA}" # Runs within Cirrus's "community cluster" container: |