Merge pull request #5019 from cevich/fix_gate_epoch

Cirrus: Set EPOCH_TEST_COMMIT during gate task
This commit is contained in:
OpenShift Merge Robot 2020-01-30 06:26:39 -08:00 committed by GitHub
commit e83e9f5d71
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: