From 1b0bde98414239f09f54e542aaa59e4427c26a2d Mon Sep 17 00:00:00 2001 From: Lukas Malte Monnerjahn <lukasmalte.monnerjahn@dataport.de> Date: Wed, 8 Jan 2025 12:04:21 +0100 Subject: [PATCH] disable publishing the helm chart ci runner doesn't support helm --- .gitlab-ci.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index da53fe10..a8f9347d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -58,6 +58,8 @@ verify: - sh "helm package --version=${HELM_CHART_VERSION} ." - helm package helm-chart - curl -u ${NEXUS_USER}:${NEXUS_PASSWORD} ${NEXUS_HELM_URL}${HELM_REPO} -F file=@'''+${HELMCHART_NAME}+'''-'''+${HELM_CHART_VERSION}+'''.tgz + rules: + - when: never # The runner does not support helm yet # Merge request jobs push-merge-request-image-gitlab: @@ -104,8 +106,10 @@ push-snapshot-helm-chart-nexus: HELM_REPO: ozg-base-apps-snapshot before_script: - export HELM_CHART_VERSION="$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout $MAVEN_CLI_OPTS)-${CI_COMMIT_BRANCH}-${CI_COMMIT_SHORT_SHA}" - only: - - main + # only: + # - main + rules: + - when: never # The runner does not support helm yet # Release jobs push-release-image-gitlab: @@ -137,3 +141,4 @@ push-release-helm-chart-nexus: - export HELM_CHART_VERSION=$CI_COMMIT_TAG rules: - if: $CI_COMMIT_TAG + - when: never # The runner does not support helm yet -- GitLab