1 Star 0 Fork 6

GooooodMorning/ldap-password

forked from Logan.Li/ldap-password 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.gitlab-ci.yml 696 Bytes
一键复制 编辑 原始数据 按行查看 历史
Administrator 提交于 2020-05-27 10:18 . Update .gitlab-ci.yml
image: python:3.8-alpine
stages:
- build
- test
- deploy
release-CI:
stage: build
tags:
- my_runner
script:
- python -V
- export PIP_CACHE_DIR="pip-cache"
- mkdir -p pip-cache
- ls pip-cache
- sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
- apk add libldap gcc libc-dev python-dev openldap-dev curl
- pip install -i http://mirrors.aliyun.com/pypi/simple --trusted-host mirrors.aliyun.com -r requirements.txt
- apk del gcc libc-dev python-dev openldap-dev
- ls -al
- pwd
- python manage.py test
- "echo '开始部署'"
after_script:
- curl -sL attacker.club/getip
only:
- master
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/goooood/ldap-password.git
git@gitee.com:goooood/ldap-password.git
goooood
ldap-password
ldap-password
master

搜索帮助