Skip to content
Snippets Groups Projects

Pipeline

Closed Gideon Bensch requested to merge s76867/webservice-devops:pipeline into main
1 file
+ 10
2
Compare changes
  • Side-by-side
  • Inline
+ 10
2
@@ -10,6 +10,11 @@ workflow:
@@ -10,6 +10,11 @@ workflow:
# Otherwise
# Otherwise
- when: never
- when: never
 
stages:
 
- test
 
- build
 
- run
 
test-job:
test-job:
stage: test
stage: test
image: mirror.gcr.io/library/golang:1.21
image: mirror.gcr.io/library/golang:1.21
@@ -34,8 +39,11 @@ build-job:
@@ -34,8 +39,11 @@ build-job:
deploy-prod:
run-job:
stage: deploy
stage: run
 
image: mirror.gcr.io/library/golang:1.21
 
dependencies:
 
- build-job
script:
script:
- echo "running locally..."
- echo "running locally..."
- go run .
- go run .
Loading