Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ci-cd-discovery
templates
hello-world-template
Commits
58e55944
Commit
58e55944
authored
Dec 01, 2020
by
Philippe Charrière
Browse files
update
parent
e7f8ac69
Pipeline
#7686
passed with stage
in 21 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
58e55944
...
...
@@ -75,11 +75,10 @@ hello_python:
image
:
python:slim
stage
:
polyglot
variables
:
MESSAGE
:
"
Hello
from
Python"
HELLO_
MESSAGE
:
"
Hello
from
Python"
SOURCE_CODE
:
|
import os
message = os.environ.get('MESSAGE')
message = os.environ.get('
HELLO_
MESSAGE')
print(message)
script
:
-
python -c "$SOURCE_CODE"
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