.gitlab-ci.yml 360 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: /srv/piphone/sip-backend/
    VIRTUALENV: $/srv/piphone/sip-backend/.sip-backend_env
okhin's avatar
okhin committed
7
  script:
okhin's avatar
okhin committed
8
    - rsync -ruC ./ ${BASE_PATH}
okhin's avatar
okhin committed
9 10 11
    - 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