Skip to content
Snippets Groups Projects
Commit e970fe58 authored by jurgenhaas's avatar jurgenhaas
Browse files

gitlab-ci-cd/drupal#44 make cypress process local to its project, take it out of host scope

parent c98f59b7
No related branches found
No related tags found
1 merge request!60Merging develop into main
Pipeline #750628 passed
This commit is part of merge request !60. Comments created here will be created in the context of that merge request.
......@@ -9,9 +9,9 @@ if [[ -n ${ID} ]]; then
docker start --attach --interactive ${NAME}
else
docker run -u 1000:$(stat -c "%g" /var/run/docker.sock) --rm --name=${NAME} \
--network host \
--env CYPRESS_baseUrl={{ projectprotocol }}://{{ projectdomain }}{{ projectport }} \
--env CYPRESS_mailhogUrl={{ projectprotocol }}://mailhog-{{ projectdomain }}{{ projectport }} \
--network {{ projectname }}_default \
--env CYPRESS_baseUrl=http://apache \
--env CYPRESS_mailhogUrl=http://mailhog \
--env PHP_CONTAINER={{ projectname }}-php-1 \
-v /var/run/docker.sock:/var/run/docker.sock \
-v $(php /usr/local/bin/volume.php --none)/tests/:/e2e \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment