summaryrefslogtreecommitdiffstats
path: root/jjb/integration
diff options
context:
space:
mode:
authorebo <eliezio.oliveira@est.tech>2020-04-10 16:03:52 +0100
committerebo <eliezio.oliveira@est.tech>2020-04-14 11:36:20 +0100
commit506ba235e42c86cb5c57c92444371a4351e52923 (patch)
treef8c6b7435de8fc44aae515f121d1724434ace279 /jjb/integration
parent69262952abb09404f096e44cca470bdad83f5eab (diff)
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 <eliezio.oliveira@est.tech>
Diffstat (limited to 'jjb/integration')
-rw-r--r--jjb/integration/integration-docker.yaml8
1 files changed, 7 insertions, 1 deletions
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: