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>
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: