aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2020-08-05 16:33:54 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2020-08-05 16:33:54 +0200
commite7b74848907bbc09fd1010fa6cca2c6eac690494 (patch)
treed2d2ea8c3d4f18df9cd2d3d6f925ad3ccbb05301
parent3eb1f13e16aad984fc189ac4734ed47e72f718b3 (diff)
Build arm* xtesting-mts on TravisCI
Change-Id: I594092992020a3eb228fbf62807a64c94f4a3fdd Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
-rw-r--r--.travis.yml41
1 files changed, 39 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 5fbe0fb8..b75fdf53 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -29,17 +29,54 @@ jobs:
env:
- REPO="${DOCKER_USERNAME}"
- arch="amd64"
+ - amd64_dirs="docker/core"
+ - arm64_dirs=""
+ - arm_dirs=""
- script: sudo -E bash build.sh
env:
- REPO="${DOCKER_USERNAME}"
- - arch="arm"
+ - arch="arm64"
+ - amd64_dirs=""
+ - arm64_dirs="docker/core"
+ - arm_dirs=""
- script: sudo -E bash build.sh
env:
- REPO="${DOCKER_USERNAME}"
- - arch="arm64"
+ - arch="arm"
+ - amd64_dirs=""
+ - arm64_dirs=""
+ - arm_dirs="docker/core"
- stage: publish xtesting manifests
script: >
sudo manifest-tool push from-args \
--platforms linux/amd64,linux/arm,linux/arm64 \
--template ${DOCKER_USERNAME}/xtesting:ARCH-latest \
--target ${DOCKER_USERNAME}/xtesting:latest
+ - stage: build xtesting-mts images
+ script: sudo -E bash build.sh
+ env:
+ - REPO="${DOCKER_USERNAME}"
+ - arch="amd64"
+ - amd64_dirs="docker/mts"
+ - arm64_dirs=""
+ - arm_dirs=""
+ - script: sudo -E bash build.sh
+ env:
+ - REPO="${DOCKER_USERNAME}"
+ - arch="arm64"
+ - amd64_dirs=""
+ - arm64_dirs=docker/mts
+ - arm_dirs=""
+ - script: sudo -E bash build.sh
+ env:
+ - REPO="${DOCKER_USERNAME}"
+ - arch="arm"
+ - amd64_dirs=""
+ - arm64_dirs=""
+ - arm_dirs="docker/mts"
+ - stage: publish xtesting-mts manifests
+ script: >
+ sudo manifest-tool push from-args \
+ --platforms linux/amd64,linux/arm,linux/arm64 \
+ --template ${DOCKER_USERNAME}/xtesting-mts:ARCH-latest \
+ --target ${DOCKER_USERNAME}/xtesting-mts:latest