text Gitlab CI / CD
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了text Gitlab CI / CD相关的知识,希望对你有一定的参考价值。
# Boilerplate script for: .gitlab-ci.yml
before_script:
- echo "Before script"
- pwd
- ls
- "php -v"
building:
stage: build
tags:
- runner-for-ngrx-boilerplate
script:
- git status
testing:
stage: test
tags:
- runner-for-ngrx-boilerplate
script:
- "php -v"
deploying:
stage: deploy
tags:
- runner-for-ngrx-boilerplate
script:
- echo "Deployed success"
- php -v
* Create Runner on VM:
# gitlab-runner version
# gitlab-runner register
# gitlab-runner list
# gitlab-runner stop
# gitlab-runner start
# gitlab-runner restart
以上是关于text Gitlab CI / CD的主要内容,如果未能解决你的问题,请参考以下文章
基于GitLab的CI/CD系统重点记要
gitlab 的 CI/CD 配置管理
Gitlab CI/CD配置-并发送消息到飞书
gitlab 实现 CI/CD
GitLab CI/CD 的使用
Gitlab CI/CD Runner