.gitlab-ci.yml 338 Bytes
Newer Older
okhin's avatar
okhin committed
1 2 3
before_script:

job install:
okhin's avatar
okhin committed
4
  variables:
okhin's avatar
okhin committed
5 6
    BASE_PATH: $PREPROD_BASE_PATH
    VIRTUALENV: $BASE_PATH/.sip-backend_env/
okhin's avatar
okhin committed
7
  script:
okhin's avatar
okhin committed
8 9 10 11
    - rsync -ruC . ${BASE_PATH}
    - source ${VIRTUALENV}/bin/activate
    - pip install --upgrade pip
    - pip install --upgrade -r requirements.txt
12
  stage: deploy
okhin's avatar
okhin committed
13
  tags: [preprod]
okhin's avatar
okhin committed
14
  only:
okhin's avatar
okhin committed
15
    - master