Merge pull request #4718 from Spredzy/proper-args

e2e/test: NPMRC_FILE is a build-arg not an environment variable

Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
softwarefactory-project-zuul[bot]
2019-09-12 13:40:50 +00:00
committed by GitHub

View File

@@ -29,6 +29,8 @@ services:
build: build:
context: ../../../../../ context: ../../../../../
dockerfile: awx/ui/test/e2e/cluster/Dockerfile dockerfile: awx/ui/test/e2e/cluster/Dockerfile
args:
NPMRC_FILE: ${NPMRC_FILE}
depends_on: depends_on:
- chrome - chrome
links: links:
@@ -39,4 +41,3 @@ services:
AWX_E2E_CLUSTER_HOST: hub AWX_E2E_CLUSTER_HOST: hub
AWX_E2E_CLUSTER_PORT: 4444 AWX_E2E_CLUSTER_PORT: 4444
DBUS_SESSION_BUS_ADDRESS: /dev/null DBUS_SESSION_BUS_ADDRESS: /dev/null
NPMRC_FILE: ${NPMRC_FILE}