aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2021-10-08 17:01:44 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2021-10-08 17:01:44 +0200
commit9a1eddc3cefbba91af8699a467eb9e01fa06f444 (patch)
tree99c9d503cb9dce2d711d92c9e29c49ff019381f8
parent251b0e285b5843ce6378fa6fa9ec1180d3dded38 (diff)
Update Xtesting to stable/xena
Change-Id: Ice25cd175566451faa0dc5f6efc8f2bd27c6a952 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
-rw-r--r--.travis.yml8
-rw-r--r--build.sh8
-rw-r--r--docker/core/Dockerfile4
-rw-r--r--docker/mts/Dockerfile2
-rw-r--r--tox.ini2
5 files changed, 12 insertions, 12 deletions
diff --git a/.travis.yml b/.travis.yml
index 3c798de3..dfb774f9 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -43,8 +43,8 @@ jobs:
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
+ --template ${DOCKER_USERNAME}/xtesting:ARCH-xena \
+ --target ${DOCKER_USERNAME}/xtesting:xena
- stage: build xtesting-mts images
script: sudo -E bash build.sh
env:
@@ -71,5 +71,5 @@ jobs:
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
+ --template ${DOCKER_USERNAME}/xtesting-mts:ARCH-xena \
+ --target ${DOCKER_USERNAME}/xtesting-mts:xena
diff --git a/build.sh b/build.sh
index 0fc6f09c..2c4929dd 100644
--- a/build.sh
+++ b/build.sh
@@ -17,7 +17,7 @@ docker/core \
docker/mts"}
arm_dirs=${arm_dirs-${amd64_dirs}}
arm64_dirs=${arm64_dirs-${amd64_dirs}}
-tag=${BRANCH:-latest}
+tag=${BRANCH:-stable/xena}
image="xtesting"
build_opts=(--pull=true --no-cache --force-rm=true)
@@ -26,15 +26,15 @@ for arch in ${arch}; do
find . -name Dockerfile -exec sed -i \
-e "s|alpine:3.14|arm64v8/alpine:3.14|g" {} +
find . -name Dockerfile -exec sed -i \
- -e "s|opnfv/xtesting|${repo}/xtesting:arm64-${tag}|g" {} +
+ -e "s|opnfv/xtesting:xena|${repo}/xtesting:arm64-${tag}|g" {} +
elif [[ ${arch} == arm ]]; then
find . -name Dockerfile -exec sed -i \
-e "s|alpine:3.14|arm32v6/alpine:3.14|g" {} +
find . -name Dockerfile -exec sed -i \
- -e "s|opnfv/xtesting|${repo}/xtesting:arm-${tag}|g" {} +
+ -e "s|opnfv/xtesting:xena|${repo}/xtesting:arm-${tag}|g" {} +
else
find . -name Dockerfile -exec sed -i \
- -e "s|opnfv/xtesting|${repo}/xtesting:amd64-${tag}|g" {} +
+ -e "s|opnfv/xtesting:xena|${repo}/xtesting:amd64-${tag}|g" {} +
fi
dirs=${arch}_dirs
for dir in ${!dirs}; do
diff --git a/docker/core/Dockerfile b/docker/core/Dockerfile
index c91c636e..b4b0c67b 100644
--- a/docker/core/Dockerfile
+++ b/docker/core/Dockerfile
@@ -1,7 +1,7 @@
FROM alpine:3.14
-ARG BRANCH=master
-ARG OPENSTACK_TAG=master
+ARG BRANCH=stable/xena
+ARG OPENSTACK_TAG=stable/xena
RUN apk -U upgrade && \
apk --no-cache add --update python3 py3-pip py3-wheel bash git mailcap libxml2 libxslt ansible && \
diff --git a/docker/mts/Dockerfile b/docker/mts/Dockerfile
index eae61aab..9f8076b9 100644
--- a/docker/mts/Dockerfile
+++ b/docker/mts/Dockerfile
@@ -1,4 +1,4 @@
-FROM opnfv/xtesting
+FROM opnfv/xtesting:xena
ARG MTS_TAG=6.6.21
ARG APP_FOLDER=/opt/mts
diff --git a/tox.ini b/tox.ini
index a7304e46..dca93ba3 100644
--- a/tox.ini
+++ b/tox.ini
@@ -7,7 +7,7 @@ pip_version = pip==20.2.4
usedevelop = True
deps =
-c{toxinidir}/upper-constraints.txt
- -chttps://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt
+ -chttps://opendev.org/openstack/requirements/raw/branch/stable/xena/upper-constraints.txt
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
install_command = pip install {opts} {packages}