.gitlab-ci.yml 390 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 7
    BASE_PATH: ${PREPROD_BASE_PATH}
    SQLITE_DB: ${BASE_PATH}/backend_sip.sqlite3
    VIRTUALENV: ${BASE_PATH}/.sip-backend_env/
okhin's avatar
okhin committed
8
  script:
okhin's avatar
okhin committed
9 10 11 12
    - rsync -ruC . ${BASE_PATH}
    - source ${VIRTUALENV}/bin/activate
    - pip install --upgrade pip
    - pip install --upgrade -r requirements.txt
13
  stage: deploy
okhin's avatar
okhin committed
14
  tags: [preprod]
okhin's avatar
okhin committed
15
  only:
okhin's avatar
okhin committed
16
    - master