Skip to content
Snippets Groups Projects
Commit 4d02a892 authored by Chris Schaller's avatar Chris Schaller
Browse files

Merge branch '20-fix-publish-stage' into 'master'

Resolve "fix publish stage"

Closes #20

See merge request dunkelzifferradar/modelling/dzr_model_orchestration!20
parents c917024e 37000243
No related branches found
No related tags found
No related merge requests found
stages:
- check_version
- test
- publish
- build
variables:
POSTGRES_DB: $DB_NAME
......@@ -26,7 +26,7 @@ default:
- pip install poetry
- poetry install
check_version:
check version:
stage: check_version
before_script: []
script:
......@@ -41,8 +41,22 @@ test:
script:
- poetry run pytest
publish:
stage: publish
test build:
stage: build
before_script: []
dependencies:
- test
image:
name: gcr.io/kaniko-project/executor:debug
entrypoint: ['']
script:
- /kaniko/executor --context . --dockerfile ./Dockerfile --no-push
except:
- tags
build and publish:
stage: build
before_script: []
dependencies:
- test
image:
......
......@@ -6,7 +6,7 @@ helm_project_version() {
do
key="$(cut -d':' -f1 <<<"$line" | tr -d '[:space:]')"
value="$(cut -d':' -f2 <<<"$line" | tr -d '[:space:]\"')"
if [[ "$key" == "version" ]]; then
if [[ "$key" == "appVersion" ]]; then
echo "$value"
fi
done < ./helm/Chart.yaml
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment