Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
main
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Simone Rossi
main
Commits
77485977
Commit
77485977
authored
Oct 02, 2018
by
Daniele Venzano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove slash from url path in env variable
parent
93534bbc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
zoe_master/backends/common.py
zoe_master/backends/common.py
+1
-1
No files found.
zoe_master/backends/common.py
View file @
77485977
...
...
@@ -45,7 +45,7 @@ def gen_environment(execution: Execution, service: Service, env_subst_dict: Dict
env_list
.
append
((
'SERVICE_NAME'
,
service
.
name
))
if
get_conf
().
traefik_zk_ips
is
not
None
:
for
port
in
service
.
ports
:
env_list
.
append
((
'REVERSE_PROXY_PATH_{}'
.
format
(
port
.
internal_number
),
'
/
{}/{}'
.
format
(
get_conf
().
traefik_base_url
,
port
.
proxy_key
())))
env_list
.
append
((
'REVERSE_PROXY_PATH_{}'
.
format
(
port
.
internal_number
),
'{}/{}'
.
format
(
get_conf
().
traefik_base_url
,
port
.
proxy_key
())))
wk_vol
=
ZoeFSWorkspace
().
get
(
execution
.
owner
)
env_list
.
append
((
'ZOE_WORKSPACE'
,
wk_vol
.
mount_point
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment