diff options
-rw-r--r-- | .travis.yml | 28 | ||||
-rw-r--r-- | build.sh | 24 | ||||
-rw-r--r-- | ci/globals.yaml | 2 | ||||
-rw-r--r-- | docker/benchmarking/Dockerfile | 4 | ||||
-rw-r--r-- | docker/components/Dockerfile | 2 | ||||
-rw-r--r-- | docker/core/Dockerfile | 2 | ||||
-rw-r--r-- | docker/features/Dockerfile | 4 | ||||
-rw-r--r-- | docker/healthcheck/Dockerfile | 4 | ||||
-rw-r--r-- | docker/smoke/Dockerfile | 4 | ||||
-rw-r--r-- | docker/tempest/Dockerfile | 4 | ||||
-rw-r--r-- | docker/vnf/Dockerfile | 4 | ||||
-rw-r--r-- | docs/testing/user/configguide/configguide.rst | 18 |
12 files changed, 50 insertions, 50 deletions
diff --git a/.travis.yml b/.travis.yml index e4060757f..a7e7fb8e0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,8 +24,8 @@ jobs: script: > sudo manifest-tool push from-args \ --platforms linux/amd64 \ - --template ${DOCKER_USERNAME}/functest-core:ARCH-latest \ - --target ${DOCKER_USERNAME}/functest-core:latest + --template ${DOCKER_USERNAME}/functest-core:ARCH-gambia \ + --target ${DOCKER_USERNAME}/functest-core:gambia - stage: build functest-tempest images script: sudo -E bash build.sh env: @@ -36,8 +36,8 @@ jobs: script: > sudo manifest-tool push from-args \ --platforms linux/amd64 \ - --template ${DOCKER_USERNAME}/functest-tempest:ARCH-latest \ - --target ${DOCKER_USERNAME}/functest-tempest:latest + --template ${DOCKER_USERNAME}/functest-tempest:ARCH-gambia \ + --target ${DOCKER_USERNAME}/functest-tempest:gambia - stage: build all functest images script: sudo -E bash build.sh env: @@ -73,25 +73,25 @@ jobs: script: > sudo manifest-tool push from-args \ --platforms linux/amd64 \ - --template ${DOCKER_USERNAME}/functest-healthcheck:ARCH-latest \ - --target ${DOCKER_USERNAME}/functest-healthcheck:latest + --template ${DOCKER_USERNAME}/functest-healthcheck:ARCH-gambia \ + --target ${DOCKER_USERNAME}/functest-healthcheck:gambia - script: > sudo manifest-tool push from-args \ --platforms linux/amd64 \ - --template ${DOCKER_USERNAME}/functest-smoke:ARCH-latest \ - --target ${DOCKER_USERNAME}/functest-smoke:latest + --template ${DOCKER_USERNAME}/functest-smoke:ARCH-gambia \ + --target ${DOCKER_USERNAME}/functest-smoke:gambia - script: > sudo manifest-tool push from-args \ --platforms linux/amd64 \ - --template ${DOCKER_USERNAME}/functest-features:ARCH-latest \ - --target ${DOCKER_USERNAME}/functest-features:latest + --template ${DOCKER_USERNAME}/functest-features:ARCH-gambia \ + --target ${DOCKER_USERNAME}/functest-features:gambia - script: > sudo manifest-tool push from-args \ --platforms linux/amd64 \ - --template ${DOCKER_USERNAME}/functest-components:ARCH-latest \ - --target ${DOCKER_USERNAME}/functest-components:latest + --template ${DOCKER_USERNAME}/functest-components:ARCH-gambia \ + --target ${DOCKER_USERNAME}/functest-components:gambia - script: > sudo manifest-tool push from-args \ --platforms linux/amd64 \ - --template ${DOCKER_USERNAME}/functest-vnf:ARCH-latest \ - --target ${DOCKER_USERNAME}/functest-vnf:latest + --template ${DOCKER_USERNAME}/functest-vnf:ARCH-gambia \ + --target ${DOCKER_USERNAME}/functest-vnf:gambia @@ -18,36 +18,36 @@ build_opts=(--pull=true --no-cache --force-rm=true \ --build-arg RALLY_OPENSTACK_TAG="${RALLY_OPENSTACK_TAG:-1.2.0}") find . -name Dockerfile -exec sed -i \ - -e "s|opnfv/functest-core|${repo}/functest-core:amd64-latest|g" {} + + -e "s|opnfv/functest-core:gambia|${repo}/functest-core:amd64-gambia|g" {} + find . -name Dockerfile -exec sed -i \ - -e "s|opnfv/functest-tempest|${repo}/functest-tempest:amd64-latest|g" {} + + -e "s|opnfv/functest-tempest:gambia|${repo}/functest-tempest:amd64-gambia|g" {} + for dir in ${amd64_dirs}; do (cd "${dir}" && docker build "${build_opts[@]}" \ - -t "${repo}/functest-${dir##**/}:amd64-latest" .) - docker push "${repo}/functest-${dir##**/}:amd64-latest" + -t "${repo}/functest-${dir##**/}:amd64-gambia" .) + docker push "${repo}/functest-${dir##**/}:amd64-gambia" [ "${dir}" != "docker/core" ] && - (docker rmi "${repo}/functest-${dir##**/}:amd64-latest" || true) + (docker rmi "${repo}/functest-${dir##**/}:amd64-gambia" || true) done [ ! -z "${amd64_dirs}" ] && - (docker rmi "${repo}/functest-core:amd64-latest" alpine:3.8 || true) + (docker rmi "${repo}/functest-core:amd64-gambia" alpine:3.8 || true) find . -name Dockerfile -exec git checkout {} + find . -name Dockerfile -exec sed -i \ -e "s|alpine:3.8|multiarch/alpine:arm64-v3.8|g" {} + find . -name Dockerfile -exec sed -i \ - -e "s|opnfv/functest-core|${repo}/functest-core:arm64-latest|g" {} + + -e "s|opnfv/functest-core:gambia|${repo}/functest-core:arm64-gambia|g" {} + find . -name Dockerfile -exec sed -i \ - -e "s|opnfv/functest-tempest|${repo}/functest-tempest:arm64-latest|g" {} + + -e "s|opnfv/functest-tempest:gambia|${repo}/functest-tempest:arm64-gambia|g" {} + for dir in ${arm64_dirs}; do (cd "${dir}" && docker build "${build_opts[@]}" \ - -t "${repo}/functest-${dir##**/}:arm64-latest" .) - docker push "${repo}/functest-${dir##**/}:arm64-latest" + -t "${repo}/functest-${dir##**/}:arm64-gambia" .) + docker push "${repo}/functest-${dir##**/}:arm64-gambia" [ "${dir}" != "docker/core" ] && - (docker rmi "${repo}/functest-${dir##**/}:arm64-latest" || true) + (docker rmi "${repo}/functest-${dir##**/}:arm64-gambia" || true) done [ ! -z "${arm64_dirs}" ] && - (docker rmi "${repo}/functest-core:arm64-latest" \ + (docker rmi "${repo}/functest-core:arm64-gambia" \ multiarch/alpine:arm64-v3.8 || true) find . -name Dockerfile -exec git checkout {} + diff --git a/ci/globals.yaml b/ci/globals.yaml index 4be1b37a2..e11992dd2 100644 --- a/ci/globals.yaml +++ b/ci/globals.yaml @@ -3,7 +3,7 @@ name: global repo: 'opnfv' branch: 'master' - tag: 'latest' + tag: 'gambia' - defaults: name: functest-defaults diff --git a/docker/benchmarking/Dockerfile b/docker/benchmarking/Dockerfile index 7b98eade9..718c92e26 100644 --- a/docker/benchmarking/Dockerfile +++ b/docker/benchmarking/Dockerfile @@ -1,6 +1,6 @@ -FROM opnfv/functest-core +FROM opnfv/functest-core:gambia -ARG BRANCH=master +ARG BRANCH=stable/gambia ARG OPENSTACK_TAG=stable/queens ARG VMTP_TAG=99b261ccccc2f8a08ee2d8fca9f54ef9d69899d7 diff --git a/docker/components/Dockerfile b/docker/components/Dockerfile index 1153e9d1a..b4f9da83b 100644 --- a/docker/components/Dockerfile +++ b/docker/components/Dockerfile @@ -1,4 +1,4 @@ -FROM opnfv/functest-tempest +FROM opnfv/functest-tempest:gambia COPY testcases.yaml /usr/lib/python2.7/site-packages/xtesting/ci/testcases.yaml CMD ["run_tests", "-t", "all"] diff --git a/docker/core/Dockerfile b/docker/core/Dockerfile index c1e7ede03..2c2e288c2 100644 --- a/docker/core/Dockerfile +++ b/docker/core/Dockerfile @@ -1,6 +1,6 @@ FROM alpine:3.8 -ARG BRANCH=master +ARG BRANCH=stable/gambia ARG OPENSTACK_TAG=stable/queens ARG PIP_TAG=18.0 diff --git a/docker/features/Dockerfile b/docker/features/Dockerfile index 99de1eda5..aaa7ee836 100644 --- a/docker/features/Dockerfile +++ b/docker/features/Dockerfile @@ -1,6 +1,6 @@ -FROM opnfv/functest-tempest +FROM opnfv/functest-tempest:gambia -ARG BRANCH=master +ARG BRANCH=stable/gambia ARG OPENSTACK_TAG=stable/queens ARG FDS_TAG=master diff --git a/docker/healthcheck/Dockerfile b/docker/healthcheck/Dockerfile index 4a1c255b3..c30c4cca0 100644 --- a/docker/healthcheck/Dockerfile +++ b/docker/healthcheck/Dockerfile @@ -1,6 +1,6 @@ -FROM opnfv/functest-core +FROM opnfv/functest-core:gambia -ARG BRANCH=master +ARG BRANCH=stable/gambia ARG OPENSTACK_TAG=stable/queens ARG ODL_TAG=85448c9d97b89989488e675b29b38ac42d8674e4 diff --git a/docker/smoke/Dockerfile b/docker/smoke/Dockerfile index c405330a6..d60816834 100644 --- a/docker/smoke/Dockerfile +++ b/docker/smoke/Dockerfile @@ -1,6 +1,6 @@ -FROM opnfv/functest-tempest +FROM opnfv/functest-tempest:gambia -ARG BRANCH=master +ARG BRANCH=stable/gambia ARG OPENSTACK_TAG=stable/queens ARG REFSTACK_TARGET=2018.02 ARG PATROLE_TAG=0.3.0 diff --git a/docker/tempest/Dockerfile b/docker/tempest/Dockerfile index 0cc947939..7abfa844f 100644 --- a/docker/tempest/Dockerfile +++ b/docker/tempest/Dockerfile @@ -1,6 +1,6 @@ -FROM opnfv/functest-core +FROM opnfv/functest-core:gambia -ARG BRANCH=master +ARG BRANCH=stable/gambia ARG OPENSTACK_TAG=stable/queens ARG RALLY_TAG=1.1.0 ARG RALLY_OPENSTACK_TAG=1.2.0 diff --git a/docker/vnf/Dockerfile b/docker/vnf/Dockerfile index 7f7275894..29ff6848e 100644 --- a/docker/vnf/Dockerfile +++ b/docker/vnf/Dockerfile @@ -1,6 +1,6 @@ -FROM opnfv/functest-core +FROM opnfv/functest-core:gambia -ARG BRANCH=master +ARG BRANCH=stable/gambia ARG OPENSTACK_TAG=stable/queens ARG VIMS_TEST_TAG=release-129 ARG QUAFF_TAG=59213d6d8ee29433552bb75f505cdc96b0b18909 diff --git a/docs/testing/user/configguide/configguide.rst b/docs/testing/user/configguide/configguide.rst index 07f0a1681..a396205ce 100644 --- a/docs/testing/user/configguide/configguide.rst +++ b/docs/testing/user/configguide/configguide.rst @@ -70,7 +70,7 @@ Run healthcheck suite:: sudo docker run --env-file env \ -v $(pwd)/openstack.creds:/home/opnfv/functest/conf/env_file \ -v $(pwd)/images:/home/opnfv/functest/images \ - opnfv/functest-healthcheck + opnfv/functest-healthcheck:gambia Results shall be displayed as follows:: @@ -102,7 +102,7 @@ Run smoke suite:: sudo docker run --env-file env \ -v $(pwd)/openstack.creds:/home/opnfv/functest/conf/env_file \ -v $(pwd)/images:/home/opnfv/functest/images \ - opnfv/functest-smoke + opnfv/functest-smoke:gambia Results shall be displayed as follows:: @@ -132,7 +132,7 @@ Run benchmarking suite:: sudo docker run --env-file env \ -v $(pwd)/openstack.creds:/home/opnfv/functest/conf/env_file \ -v $(pwd)/images:/home/opnfv/functest/images \ - opnfv/functest-benchmarking + opnfv/functest-benchmarking:gambia Results shall be displayed as follows:: @@ -154,7 +154,7 @@ Run features suite:: sudo docker run --env-file env \ -v $(pwd)/openstack.creds:/home/opnfv/functest/conf/env_file \ -v $(pwd)/images:/home/opnfv/functest/images \ - opnfv/functest-features + opnfv/functest-features:gambia Results shall be displayed as follows:: @@ -181,7 +181,7 @@ Run components suite:: sudo docker run --env-file env \ -v $(pwd)/openstack.creds:/home/opnfv/functest/conf/env_file \ -v $(pwd)/images:/home/opnfv/functest/images \ - opnfv/functest-components + opnfv/functest-components:gambia Results shall be displayed as follows:: @@ -201,7 +201,7 @@ Run vnf suite:: sudo docker run --env-file env \ -v $(pwd)/openstack.creds:/home/opnfv/functest/conf/env_file \ -v $(pwd)/images:/home/opnfv/functest/images \ - opnfv/functest-vnf + opnfv/functest-vnf:gambia Results shall be displayed as follows:: @@ -238,7 +238,7 @@ Run healthcheck suite:: sudo docker run -it --env-file env \ -v $(pwd)/config:/root/.kube/config \ - opnfv/functest-kubernetes-healthcheck + opnfv/functest-kubernetes-healthcheck:gambia A config file in the current dir 'config' is also required, which should be volume mapped to ~/.kube/config inside kubernetes container. @@ -258,7 +258,7 @@ Run smoke suite:: sudo docker run -it --env-file env \ -v $(pwd)/config:/root/.kube/config \ - opnfv/functest-kubernetes-smoke + opnfv/functest-kubernetes-smoke:gambia Results shall be displayed as follows:: @@ -275,7 +275,7 @@ Run features suite:: sudo docker run -it --env-file env \ -v $(pwd)/config:/root/.kube/config \ - opnfv/functest-kubernetes-features + opnfv/functest-kubernetes-features:gambia Results shall be displayed as follows:: |