Skip to content
Snippets Groups Projects
Commit c918bacb authored by Pedro's avatar Pedro
Browse files

Merge branch 'main' of gitlab.gwdg.de:pedro.costaklein/ci_cd_tutorial into main

parents 8f099a1b 84eb89b4
Branches main
No related tags found
No related merge requests found
Pipeline #346070 passed
pages:
stage: build
script:
- mkdir public && cd public
- echo "Greetings $GITLAB_USER_LOGIN" >> index.html
artifacts:
paths:
- public # mandatory, other folder won't work
test-job1:
image: python:latest
stage: test
script:
script:
- python -m pip install -r requirements.txt
- python test_concatenate.py
hello-world:
stage: build
script:
- echo $CI_CD_TEST_VAR
greetings:
stage: build
script:
- echo "Greetings $GITLAB_USER_LOGIN" > greetings.txt
artifacts:
when: on_success
expire_in: 5 minutes
name: "greetings"
paths:
- greetings.txt
......@@ -4,4 +4,4 @@ import sys
def concatenate(a, b):
"""concatenate elements"""
return (a + b)
\ No newline at end of file
return (str(a) + str(b))
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