Skip to content
Snippets Groups Projects
Commit 1f193df8 authored by Chris Hines's avatar Chris Hines
Browse files

create a python virtual env as an artifact based on gitlab CI

parent a0db555e
No related branches found
No related tags found
No related merge requests found
stages:
- build
- deploy
build:
image: ubuntu
stage: build
script:
- apt update
- apt install -y python3
- mkdir -p /opt/strudle2/
- python3 -m venv /opt/strudel2/tes
- source /opt/strudel2/tes/bin/activate
- pip install ./setup.py
artifacts:
paths:
- /opt/strudel2/tes
deploy_test:
stage: deploy
only:
- testing@hpc-team/strudelv2_spa
tags:
- deploy_test
script:
- echo "deploying test"
dependencies:
- build
deploy_dev:
stage: deploy
only:
- dev@hpc-team/strudelv2_spa
tags:
- deploy_dev
script:
- echo "deploying dev"
- ls -l
- ./install.sh
dependencies:
- build
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