Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
34b8ab3ed4
|
@@ -0,0 +1,22 @@
|
|||||||
|
stages:
|
||||||
|
- build
|
||||||
|
- deploy-prod
|
||||||
|
|
||||||
|
image: buildtool/build-tools:${BUILDTOOLS_VERSION}
|
||||||
|
|
||||||
|
build:
|
||||||
|
stage: build
|
||||||
|
script:
|
||||||
|
- build
|
||||||
|
- push
|
||||||
|
|
||||||
|
deploy-to-prod:
|
||||||
|
stage: deploy-prod
|
||||||
|
when: on_success
|
||||||
|
script:
|
||||||
|
- echo Deploy to PROD.
|
||||||
|
- deploy prod
|
||||||
|
environment:
|
||||||
|
name: prod
|
||||||
|
only:
|
||||||
|
- master
|
||||||
+1
-1
@@ -44,7 +44,7 @@ spec:
|
|||||||
periodSeconds: 5
|
periodSeconds: 5
|
||||||
timeoutSeconds: 5
|
timeoutSeconds: 5
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
image: oci.unbound.se/unboundsoftware/lingonpaj-site@sha256:4af64942ba74210a4db65c7b8ab3fbf138eeef87c30084de855a524052f16a7e:${COMMIT}
|
image: oci.unbound.se/unboundsoftware/lingonpaj-site:${COMMIT}
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 80
|
- containerPort: 80
|
||||||
resources:
|
resources:
|
||||||
|
|||||||
Reference in New Issue
Block a user