From: ebo Date: Fri, 10 Apr 2020 15:03:52 +0000 (+0100) Subject: netconf-pnp-simulator: fix tox execution working dir X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=506ba235e42c86cb5c57c92444371a4351e52923;p=ci-management.git netconf-pnp-simulator: fix tox execution working dir Using inline script since it's not possible to configure the working dir where tox-build.sh runs. Issue-ID: INT-1124 Change-Id: Ia8fee5bc6dbbee7f3e416fc4f5fe9480dd47071b Signed-off-by: ebo --- diff --git a/jjb/integration/integration-docker.yaml b/jjb/integration/integration-docker.yaml index cf6c430d2..39206537a 100644 --- a/jjb/integration/integration-docker.yaml +++ b/jjb/integration/integration-docker.yaml @@ -32,7 +32,13 @@ docker-name: 'onap/integration/simulators/netconf-pnp-simulator' docker-root: test/mocks/netconf-pnp-simulator/engine container-tag-method: yaml-file - post_docker_build_script: !include-raw-escape: ../global-jjb/shell/tox-run.sh + post_docker_build_script: | + #!/bin/bash + set -eux + cd "$DOCKER_ROOT" + # To simplify the references inside tox.ini and tests/settings.py + docker tag "$CONTAINER_PUSH_REGISTRY/$DOCKER_NAME:$DOCKER_IMAGE_TAG" netconf-pnp-simulator:latest + tox build-node: centos7-docker-8c-8g build-timeout: 20 jobs: