diff options
author | Chris Evich <cevich@redhat.com> | 2022-05-10 10:22:01 -0400 |
---|---|---|
committer | Chris Evich <cevich@redhat.com> | 2022-05-10 10:22:01 -0400 |
commit | c1656e2ee5347535f1b33e0f0a710abb5ea551c9 (patch) | |
tree | e2fa34a35a93aa89eb5e2c281fec043239d6bdb0 /libpod/container_graph_test.go | |
parent | 18713f589c1ed9144d873f2656f2067ebf6f3ba2 (diff) | |
download | podman-c1656e2ee5347535f1b33e0f0a710abb5ea551c9.tar.gz podman-c1656e2ee5347535f1b33e0f0a710abb5ea551c9.tar.bz2 podman-c1656e2ee5347535f1b33e0f0a710abb5ea551c9.zip |
Cirrus: Guarantee $DEST_BRANCH is passed through
There are several runtime contexts (rootless and container) where
`$DEST_BRANCH` is needed but was not supplied. A prior commit
(c4865767171b) removed the default value, `main` which was being
set incorrectly when CI ran on release branches. Fix this by ensuring
the variable is non-empty upon entry to `setup_environment.sh`, then
ensure it gets passed through to child environments by way of the
`/etc/ci_environment` file. This will maintain compatibility with
both CI and `hack/get_ci_vm.sh` use.
Signed-off-by: Chris Evich <cevich@redhat.com>
Diffstat (limited to 'libpod/container_graph_test.go')
0 files changed, 0 insertions, 0 deletions