2 Star 0 Fork 0

TommyQu / 搜索

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
.gitlab-ci.yml 1.37 KB
一键复制 编辑 Web IDE 原始数据 按行查看 历史
TommyQJR 提交于 2020-11-03 09:33 . feat: 上传
cache:
untracked: true
stages:
- dev
- release
- deploy
before_script:
- git lfs pull
dev:
stage: dev
script:
- env
- chmod +x ./scripts/test_dev.sh
- ls -lsa ./scripts/test_dev.sh
- ./scripts/test_dev.sh $CI_COMMIT_REF_SLUG
except:
- tags
- master
- develop
tags:
- 10.10.32.59_wan
environment:
name: wanFe/$CI_COMMIT_REF_NAME
url: http://$CI_COMMIT_REF_SLUG.wan.xunlei.com
pre-release:
stage: release
script:
- env
- chmod +x ./scripts/build.sh
- ls -lsa ./scripts/build.sh
- ./scripts/build.sh test
- docker_build.sh -p test -F xlxwgame
only:
- develop
tags:
- docker
release:
stage: release
script:
- env
- chmod +x ./scripts/build.sh
- ls -lsa ./scripts/build.sh
- ./scripts/build.sh production $CI_COMMIT_TAG
- docker_build.sh -p test -F xlxwgame
- docker_build.sh -p release -F xlxwgame
only:
- tags
tags:
- docker
deploy-test:
when: manual
stage: deploy
only:
- develop
tags:
- 10.10.32.59_wan
script:
- env
- chmod +x ./scripts/deploy.sh
- ls -lsa ./scripts/deploy.sh
- ./scripts/deploy.sh $CI_BUILD_REF test
deploy:
when: manual
stage: deploy
only:
- tags
tags:
- 10.10.32.59_wan
script:
- env
- chmod +x ./scripts/deploy.sh
- ls -lsa ./scripts/deploy.sh
- ./scripts/deploy.sh $CI_COMMIT_TAG production
1
https://gitee.com/tommyqjr/search_project.git
git@gitee.com:tommyqjr/search_project.git
tommyqjr
search_project
搜索
master

搜索帮助

14c37bed 8189591 565d56ea 8189591