diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 75557e02..1b64bc28 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,6 +5,8 @@ services: docker before_script: - sudo -E docker login -u="${DOCKER_USERNAME}" -p="${DOCKER_PASSWORD}" + - (cd .. && git clone https://github.com/estesp/manifest-tool) + - (cd ../manifest-tool && sudo -E make && sudo -E make install) jobs: include: @@ -13,17 +15,46 @@ jobs: env: - REPO="${DOCKER_USERNAME}" - amd64_dirs="docker/core" + - arm64_dirs="" + - stage: publish functest-kubernetes-core manifests + script: > + sudo manifest-tool push from-args \ + --platforms linux/amd64 \ + --template ${DOCKER_USERNAME}/functest-kubernetes-core:ARCH-fraser \ + --target ${DOCKER_USERNAME}/functest-kubernetes-core:fraser - stage: build functest-kubernetes-[healthcheck,features] image script: sudo -E bash build.sh env: - REPO="${DOCKER_USERNAME}" - amd64_dirs="docker/healthcheck" + - arm64_dirs="" - script: sudo -E bash build.sh env: - REPO="${DOCKER_USERNAME}" - amd64_dirs="docker/features" + - arm64_dirs="" + - stage: publish functest-kubernetes-[healthcheck,features] manifests + script: > + sudo manifest-tool push from-args \ + --platforms linux/amd64 \ + --template \ + ${DOCKER_USERNAME}/functest-kubernetes-healthcheck:ARCH-fraser \ + --target ${DOCKER_USERNAME}/functest-kubernetes-healthcheck:fraser + - script: > + sudo manifest-tool push from-args \ + --platforms linux/amd64 \ + --template \ + ${DOCKER_USERNAME}/functest-kubernetes-features:ARCH-fraser \ + --target ${DOCKER_USERNAME}/functest-kubernetes-features:fraser - stage: build functest-kubernetes-smoke image script: sudo -E bash build.sh env: - REPO="${DOCKER_USERNAME}" - amd64_dirs="docker/smoke" + - arm64_dirs="" + - stage: publish functest-kubernetes-smoke manifests + script: > + sudo manifest-tool push from-args \ + --platforms linux/amd64 \ + --template ${DOCKER_USERNAME}/functest-kubernetes-smoke:ARCH-fraser \ + --target ${DOCKER_USERNAME}/functest-kubernetes-smoke:fraser |