当我尝试使用 GitLab CI/CD 时,我发现我的管道连接符号在 GitLab 文档中没有显示为它的存在。
特此附上我的 gitlab-ci.yml 代码
stages:
- build
- test
- deploy
services:
- docker:dind
build:
stage: build
script:
- echo "Running build stage"
- echo "Bbuilding the docker image"
- docker build -t aayu .
tags:
- build
test_1:
stage: test
script:
- echo "Testing the project - 1"
- echo "Test passed"
tags:
- test
test_2:
stage: test
script:
- echo "Testing the project - 2"
- echo "Test passed"
tags:
- test
deploy:
stage: deploy
script:
- echo "Deploing to the aws"
- sudo docker run -p 8090:8090 aayu & exit
- echo "Deployemnt successful"
tags:
- deploy
我的管道 点击
文档中显示了一些管道。 点击
感谢您的时间。