Skip to content

Commit

Permalink
Add must-gather to travis (#834)
Browse files Browse the repository at this point in the history
Co-authored-by: Tiger Kaovilai <tkaovila@redhat.com>
  • Loading branch information
openshift-cherrypick-robot and kaovilai committed Oct 21, 2022
1 parent 2965a2e commit 9a08c98
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,10 @@ before_script:

script:
- docker build -t ${IMAGE}:${TAG}-${TRAVIS_ARCH} -f ${DOCKERFILE} .
- docker build -t quay.io/konveyor/oadp-must-gather:${TAG}-${TRAVIS_ARCH} -f must-gather/Dockerfile must-gather/
- if [ -n "${QUAY_ROBOT}" ]; then docker login quay.io -u "${QUAY_ROBOT}" -p ${QUAY_TOKEN}; fi
- if [ -n "${QUAY_ROBOT}" ]; then docker push ${IMAGE}:${TAG}-${TRAVIS_ARCH}; fi
- if [ -n "${QUAY_ROBOT}" ]; then docker push quay.io/konveyor/oadp-must-gather:${TAG}-${TRAVIS_ARCH}; fi

jobs:
include:
Expand All @@ -57,5 +59,12 @@ jobs:
${IMAGE}:${TAG}-ppc64le \
${IMAGE}:${TAG}-s390x \
${IMAGE}:${TAG}-aarch64
docker manifest create \
quay.io/konveyor/oadp-must-gather:${TAG} \
quay.io/konveyor/oadp-must-gather:${TAG}-amd64 \
quay.io/konveyor/oadp-must-gather:${TAG}-ppc64le \
quay.io/konveyor/oadp-must-gather:${TAG}-s390x \
quay.io/konveyor/oadp-must-gather:${TAG}-aarch64
docker manifest push ${IMAGE}:${TAG}
docker manifest push quay.io/konveyor/oadp-must-gather:${TAG}
fi

0 comments on commit 9a08c98

Please sign in to comment.