mirror of
https://github.com/containers/podman.git
synced 2025-07-15 03:02:52 +08:00

Update farm build to directly push images to a registry after all the builds are complete on all the nodes. A manifest list is then created locally and pushed to the registry as well. Signed-off-by: Urvashi Mohnani <umohnani@redhat.com>
21 lines
359 B
Bash
21 lines
359 B
Bash
# -*- bash -*-
|
|
|
|
load ../system/helpers.bash
|
|
|
|
export FARM_TMPDIR=$(mktemp -d --tmpdir=${BATS_TMPDIR:-/tmp} podman_bats.XXXXXX)
|
|
|
|
function setup(){
|
|
basic_setup
|
|
|
|
# Always create the same containerfile
|
|
cat >$FARM_TMPDIR/Containerfile <<EOF
|
|
FROM $IMAGE
|
|
RUN arch | tee /arch.txt
|
|
RUN date | tee /built.txt
|
|
EOF
|
|
}
|
|
|
|
function teardown(){
|
|
basic_teardown
|
|
}
|