Skip to content
Snippets Groups Projects
Commit 7e589873 authored by Max Melchert's avatar Max Melchert
Browse files

build: add gitlab ci demo

parent 99353fb9
No related branches found
No related tags found
No related merge requests found
Pipeline #1794 canceled
create-file:
stage: build
image: python
tags:
- gpu
script:
- |
cat <<EOF > test.py
with open('output.txt', 'w') as f:
f.write('hello world!\\n')
EOF
- python test.py
artifacts:
paths:
- output.txt
test-file-output:
stage: test
script:
- grep -q "hello world!" output.txt
dependencies:
- create-file
deploy-output:
stage: deploy
script:
- cp output.txt release.txt
artifacts:
paths:
- release.txt
dependencies:
- create-file
../.gitlab-ci.yml
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment