gitlab CICD

.gitlab.yml

stages:
  - test
  - deploy

before_script:
  - pip install virtualenv virtualenvwrapper
  - source /home/gitlab-runner/.virtualenvs/sanic_test/bin/activate
  - pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
  - pip install -r requirements_dev.txt
  - cp -r /home/devops/py/azkaban/scripts .
  - cp /home/devops/py/azkaban/config.yml .
  - chmod +x deploy.sh
  - echo "
上一篇:异常处理


下一篇:dart系列之:dart语言中的异常