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

This commit is contained in:
Yanis Guenane
2019-09-12 14:39:28 +02:00
parent 168e03ea0e
commit 3c22f99234

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}