Automating Devops With Gitlab Ci/cd Pipelines Read Online Fix Here

test_job: stage: test script: - npm run test

deploy_staging: stage: deploy script: kubectl apply -f k8s/staging/ environment: name: staging url: https://staging.myapp.com deploy_prod: stage: deploy script: kubectl apply -f k8s/prod/ environment: name: production url: https://myapp.com rules: - if: $CI_COMMIT_TAG automating devops with gitlab ci/cd pipelines read online

container_scan: stage: scan image: docker:latest script: - docker run --rm $IMAGE_TAG trivy image $IMAGE_TAG test_job: stage: test script: - npm run test

Pin It on Pinterest

Share This
2
0
I'd love your thoughts and questions! Please share your comment.x
()
x