Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GitLab Drupal CI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Docker
GitLab Drupal CI
Commits
6ff5c6d2
Commit
6ff5c6d2
authored
3 years ago
by
jurgenhaas
Browse files
Options
Downloads
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
2f352590
4b3f4d83
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#437951
passed
3 years ago
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
bin/backstop
+1
-1
1 addition, 1 deletion
bin/backstop
bin/node_cmd
+4
-4
4 additions, 4 deletions
bin/node_cmd
with
5 additions
and
5 deletions
bin/backstop
+
1
−
1
View file @
6ff5c6d2
...
...
@@ -2,7 +2,7 @@
export
$(
cat
.env | xargs
)
cd
tests/backstop
docker run
--rm
-t
-v
$(
php /usr/local/bin/volume.php
)
-w
$PWD
--network
=
traefik
_
${
COMPOSE_PROJECT_NAME
}
backstopjs/backstopjs
"
$@
"
docker run
--rm
-t
-v
$(
php /usr/local/bin/volume.php
)
-w
$PWD
--network
=
traefik
-public
backstopjs/backstopjs
"
$@
"
EC
=
$?
exit
$EC
This diff is collapsed.
Click to expand it.
bin/node_cmd
+
4
−
4
View file @
6ff5c6d2
...
...
@@ -26,17 +26,17 @@ else
PORT
=
":
$DOCKER4DRUPAL_TRAEFIK_PORT
"
fi
fi
NETWORK
=
"--network traefik
_
${
COMPOSE_PROJECT_NAME
}
--network-alias bs"
ID
=
$(
docker network
ls
-q
-f
name
=
^traefik
_
${
COMPOSE_PROJECT_NAME
}
$)
NETWORK
=
"--network traefik
-public
--network-alias bs"
ID
=
$(
docker network
ls
-q
-f
name
=
^traefik
-public
$)
if
[[
"x
${
ID
}
"
==
"x"
]]
;
then
NETWORK
=
""
fi
docker run
-u
$(
id
-u
)
--init
-it
--rm
--name
=
${
NAME
}
\
${
NETWORK
}
\
--label
traefik.enable
=
True
\
--label
traefik.network
=
${
COMPOSE_PROJECT_NAME
}
\
--label
traefik.
docker.
network
=
traefik-public
\
--label
traefik.http.services.
${
COMPOSE_PROJECT_NAME
}
_bs.loadbalancer.server.port
=
3000
\
--label
traefik.http.routers.
${
COMPOSE_PROJECT_NAME
}
_bs
.rule
=
Host
\(\`
bs-
${
COMPOSE_PROJECT_NAME
}
.
${
DOCKER4DRUPAL_TRAEFIK_DOMAIN
}
\`\)
\
--label
traefik.http.routers.
bs-
${
COMPOSE_PROJECT_NAME
}
.rule
=
Host
\(\`
bs-
${
COMPOSE_PROJECT_NAME
}
.
${
DOCKER4DRUPAL_TRAEFIK_DOMAIN
}
\`\)
\
--env
COMPOSE_PROJECT_NAME
=
${
COMPOSE_PROJECT_NAME
}
\
--env
DOCKER4DRUPAL_NODE_DOMAIN
=
${
COMPOSE_PROJECT_NAME
}
.
${
DOCKER4DRUPAL_TRAEFIK_DOMAIN
}
\
--env
DOCKER4DRUPAL_NODE_PORT
=
${
PORT
}
\
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment