Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CONF
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UvA
CONF
Commits
26098653
Commit
26098653
authored
Jun 03, 2020
by
Spiros Koulouzis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add env vars to deployer
parent
faf71077
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
Dockerfile
deployer/Dockerfile
+4
-1
deployer-deployment.yaml
k8s/CONF/deployer-deployment.yaml
+2
-0
No files found.
deployer/Dockerfile
View file @
26098653
...
...
@@ -28,4 +28,7 @@ RUN pip3 install --no-cache-dir -r requirements.txt
COPY
. /usr/src/app
CMD
python3 __main__.py $RABBITMQ_HOST deployer
CMD
sed -i 's#http://127.0.0.1:8081/tosca-sure/1.0.0#$SURE_TOSCA_BASE_PATH#g' properties.ini && \
sed -i 's
#http://127.0.0.1:3000/api#$SEMAPHORE_BASE_PATH#g' properties.ini && \
sed -i 's
#host = 127.0.0.1#host = $RABBITMQ_HOST#g' properties.ini && \
python3 __main__.py $RABBITMQ_HOST deployer
k8s/CONF/deployer-deployment.yaml
View file @
26098653
...
...
@@ -33,6 +33,8 @@ spec:
value
:
rabbit
-
name
:
SURE_TOSCA_BASE_PATH
value
:
http://sure-tosca:8081/tosca-sure/1.0.0
-
name
:
SEMAPHORE_BASE_PATH
value
:
http://semaphore:3000/api
image
:
qcdis/deployer:3.0.0
name
:
deployer
imagePullPolicy
:
Always
...
...
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