摘要: .gitlab.yml stages: - test - deploy before_script: - pip install virtualenv virtualenvwrapper - source /home/gitlab-runner/.virtualenvs/sanic_test/bin 阅读全文
posted @ 2022-01-12 13:57 咕咚! 阅读(23) 评论(0) 推荐(0) 编辑
摘要: 代码: #!/bin/bash workdir=`cd "$(dirname "$0")";pwd` venv_dir=venv tuna=https://pypi.tuna.tsinghua.edu.cn/simple azkaban=/usr/lib/systemd/system/azkaban 阅读全文
posted @ 2022-01-12 13:55 咕咚! 阅读(249) 评论(2) 推荐(0) 编辑
摘要: cicd自动部署脚本记录 #!/bin/sh echo "自动部署开始" archiver_file=archiver if [ ! -d "$archiver_file" ]; then mkdir $archiver_file; fi echo "打包文件按" tar -zcvf $archiv 阅读全文
posted @ 2022-01-12 13:52 咕咚! 阅读(105) 评论(0) 推荐(0) 编辑