其他分享
首页 > 其他分享> > gitlab CICD

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 "

标签:script,CICD,gitlab,pip,deploy,test,home
来源: https://www.cnblogs.com/linga/p/15792351.html