FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit dfbda3c3 authored by L. Bower's avatar L. Bower
Browse files

experimenting with pipeline vartiables

parent 5703f39b
No related branches found
No related tags found
No related merge requests found
...@@ -4,6 +4,13 @@ variables: ...@@ -4,6 +4,13 @@ variables:
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip" PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
PACKAGES_DIR: "$CI_PROJECT_DIR/packages/" PACKAGES_DIR: "$CI_PROJECT_DIR/packages/"
CI_PYTHON_PATH: "NOT_SET" CI_PYTHON_PATH: "NOT_SET"
DEPLOY_ENVIRONMENT:
value: "staging"
options:
- "production"
- "staging"
- "canary"
description: "The deployment target. Set to 'staging' by default."
# Pip's cache doesn't store the python packages # Pip's cache doesn't store the python packages
# https://pip.pypa.io/en/stable/reference/pip_install/#caching # https://pip.pypa.io/en/stable/reference/pip_install/#caching
...@@ -81,7 +88,8 @@ half_fat_tests: ...@@ -81,7 +88,8 @@ half_fat_tests:
script: script:
- export PYTHONPATH="$CI_PYTHON_PATH" - export PYTHONPATH="$CI_PYTHON_PATH"
- echo $PYTHONPATH - echo $DEPLOYMENT_ENVIRONMENT
# - echo $PYTHONPATH
- cd $CI_PROJECT_DIR/tests/unit/coordinator/ - cd $CI_PROJECT_DIR/tests/unit/coordinator/
- python3 -m coverage run -m unittest * - python3 -m coverage run -m unittest *
- python -m coverage report - python -m coverage report
...@@ -123,7 +131,8 @@ full_fat_tests: ...@@ -123,7 +131,8 @@ full_fat_tests:
tags: ["ewas-production"] tags: ["ewas-production"]
script: script:
# - export PYTHONPATH="$CI_PYTHON_PATH" # - export PYTHONPATH="$CI_PYTHON_PATH"
- echo $PYTHONPATH - echo $DEPLOYMENT_ENVIRONMENT
# - echo $PYTHONPATH
- echo "this is a manual job" - echo "this is a manual job"
- cd $CI_PROJECT_DIR/tests/integration/full/ - cd $CI_PROJECT_DIR/tests/integration/full/
- ls - ls
......
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