Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 6afe6cebcc | |||
| 105297c7cf | |||
| 3fca36706f | |||
|
fc31ea981b
|
|||
| eb032b4125 |
@@ -1,35 +0,0 @@
|
|||||||
include:
|
|
||||||
- template: 'Workflows/MergeRequest-Pipelines.gitlab-ci.yml'
|
|
||||||
- project: unboundsoftware/ci-templates
|
|
||||||
file: Defaults.gitlab-ci.yml
|
|
||||||
|
|
||||||
stages:
|
|
||||||
- build
|
|
||||||
- deploy-prod
|
|
||||||
|
|
||||||
image: buildtool/build-tools:${BUILDTOOLS_VERSION}
|
|
||||||
|
|
||||||
build:
|
|
||||||
stage: build
|
|
||||||
script:
|
|
||||||
- build
|
|
||||||
- curl -Os https://uploader.codecov.io/latest/linux/codecov
|
|
||||||
- chmod +x codecov
|
|
||||||
- ./codecov -t ${CODECOV_TOKEN} -R $CI_PROJECT_DIR -C $CI_COMMIT_SHA -r $CI_PROJECT_PATH
|
|
||||||
- push
|
|
||||||
artifacts:
|
|
||||||
paths:
|
|
||||||
- release/
|
|
||||||
- coverage.html
|
|
||||||
- k8s
|
|
||||||
|
|
||||||
deploy-prod:
|
|
||||||
stage: deploy-prod
|
|
||||||
before_script:
|
|
||||||
- echo Deploy to prod
|
|
||||||
script:
|
|
||||||
- deploy prod
|
|
||||||
only:
|
|
||||||
- master
|
|
||||||
environment:
|
|
||||||
name: prod
|
|
||||||
+1
-1
@@ -13,7 +13,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: dancefetcher
|
- name: dancefetcher
|
||||||
image: oci.unbound.se/dancefinder/dancefetcher:${COMMIT}
|
image: oci.unbound.se/dancefinder/dancefetcher@sha256:91a06ed01855f35887c8577a1e521ddb67a37e753e9951562bb0521d7c59e179:${COMMIT}
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
|
|||||||
Reference in New Issue
Block a user