Prepare Yoga release 19/73319/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Fri, 22 Apr 2022 15:30:22 +0000 (17:30 +0200)
committerCédric Ollivier <cedric.ollivier@orange.com>
Fri, 22 Apr 2022 15:31:13 +0000 (17:31 +0200)
Change-Id: I980b05b4554d36063097a7b14072d6287ad654ad
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
.travis.yml
build.sh
docker/core/Dockerfile
docker/mts/Dockerfile
tox.ini

index c1adf47..0ffa75c 100644 (file)
@@ -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-yoga \
+          --target ${DOCKER_USERNAME}/xtesting:yoga
     - 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-yoga \
+          --target ${DOCKER_USERNAME}/xtesting-mts:yoga
index 0fc6f09..1f004be 100644 (file)
--- 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:-yoga}
 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:yoga|${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:yoga|${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:yoga|${repo}/xtesting:amd64-${tag}|g" {} +
     fi
     dirs=${arch}_dirs
     for dir in ${!dirs}; do
index 3ee3570..e2c6b89 100644 (file)
@@ -1,7 +1,7 @@
 FROM alpine:3.14
 
-ARG BRANCH=master
-ARG OPENSTACK_TAG=master
+ARG BRANCH=stable/yoga
+ARG OPENSTACK_TAG=stable/yoga
 
 RUN apk -U upgrade && \
     apk --no-cache add --update python3 py3-pip py3-wheel bash git mailcap libxml2 libxslt ansible && \
index ae32d8b..b2278b2 100644 (file)
@@ -1,4 +1,4 @@
-FROM opnfv/xtesting
+FROM opnfv/xtesting:yoga
 
 ARG MTS_TAG=6.6.21
 ARG APP_FOLDER=/opt/mts
diff --git a/tox.ini b/tox.ini
index c09e942..7de5e25 100644 (file)
--- 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/yoga/upper-constraints.txt
   -r{toxinidir}/requirements.txt
   -r{toxinidir}/test-requirements.txt
 install_command = pip install {opts} {packages}