Commit 1d2b4918 authored by Yauheni  Rykhter (EPAM)'s avatar Yauheni Rykhter (EPAM)
Browse files

GONRG-4079 refactor script part

parent b6ffb5e2
Pipeline #85295 canceled with stages
in 5 seconds
osdu-gcp-helm-charts-master:
rules:
- changes:
- $OSDU_GCP_HELM_DEPLOYMENT_DIR/**/*
- $OSDU_GCP_HELM_CONFIG_DIR/**/*
- $OSDU_GCP_HELM_OPA_DIR/**/*
script:
- helm cm-push $OSDU_GCP_HELM_CONFIG_DIR ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/helm/stable --username gitlab-ci-token --password $CI_JOB_TOKEN
- helm cm-push $OSDU_GCP_HELM_DEPLOYMENT_DIR ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/helm/stable --username gitlab-ci-token --password $CI_JOB_TOKEN
- helm cm-push $OSDU_GCP_HELM_OPA_DIR ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/helm/stable --username gitlab-ci-token --password $CI_JOB_TOKEN
osdu-gcp-helm-charts-release:
rules:
- changes:
- $OSDU_GCP_HELM_DEPLOYMENT_DIR/**/*
- $OSDU_GCP_HELM_CONFIG_DIR/**/*
- $OSDU_GCP_HELM_OPA_DIR/**/*
script:
- helm cm-push $OSDU_GCP_HELM_CONFIG_DIR ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/helm/stable --username gitlab-ci-token --password $CI_JOB_TOKEN
- helm cm-push $OSDU_GCP_HELM_DEPLOYMENT_DIR ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/helm/stable --username gitlab-ci-token --password $CI_JOB_TOKEN
- helm cm-push $OSDU_GCP_HELM_OPA_DIR ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/helm/stable --username gitlab-ci-token --password $CI_JOB_TOKEN
- VER=$(echo $CI_COMMIT_TAG | sed "s/^v//")
- helm cm-push $OSDU_GCP_HELM_CONFIG_DIR ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/helm/stable --version $VER --username gitlab-ci-token --password $CI_JOB_TOKEN
- helm cm-push $OSDU_GCP_HELM_DEPLOYMENT_DIR ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/helm/stable --version $VER --username gitlab-ci-token --password $CI_JOB_TOKEN
- helm cm-push $OSDU_GCP_HELM_OPA_DIR ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/helm/stable --version $VER --username gitlab-ci-token --password $CI_JOB_TOKEN
osdu-gcp-containerize-gitlab:
stage: containerize
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment