diff --git a/app/sdms/devops/osdu/cloud-providers/gcp.yml b/app/sdms/devops/osdu/cloud-providers/gcp.yml index 3844109b5e6ab464a8ec319c3746d7042698e7bb..d3d5952f2bc8ea0cd9fa964faf1290475062c17f 100644 --- a/app/sdms/devops/osdu/cloud-providers/gcp.yml +++ b/app/sdms/devops/osdu/cloud-providers/gcp.yml @@ -23,17 +23,17 @@ sdms-osdu-gcp-containerize-gitlab: - cd app/$SDMS_SERVICE - sed -i 's|#{SDMS_PREFIX}#|'$GCP_SDMS_PREFIX'|' ./docs/api/openapi.osdu.yaml rules: - - if: '$OSDU_GCP == "true" && $CI_COMMIT_BRANCH =~ /^release/' + - if: '$OSDU_GCP == "1" && $CI_COMMIT_BRANCH =~ /^release/' when: on_success changes: - devops/**/* - app/sdms/**/* - - if: '$OSDU_GCP == "true" && $CI_COMMIT_TAG' + - if: '$OSDU_GCP == "1" && $CI_COMMIT_TAG' when: on_success changes: - devops/**/* - app/sdms/**/* - - if: '$OSDU_GCP == "true"' + - if: '$OSDU_GCP == "1"' when: on_success changes: - devops/**/* @@ -50,7 +50,7 @@ sdms-osdu-gcp-containerize-gcr: - cd app/$SDMS_SERVICE - sed -i 's|#{SDMS_PREFIX}#|'$GCP_SDMS_PREFIX'|' ./docs/api/openapi.osdu.yaml rules: - - if: '$OSDU_GCP == "true" && $CI_COMMIT_TAG' + - if: '$OSDU_GCP == "1" && $CI_COMMIT_TAG' when: on_success changes: - devops/**/* @@ -67,7 +67,7 @@ sdms-osdu-gcp-deploy-configmap: when: never - if: "$CI_COMMIT_TAG" when: never - - if: '$OSDU_GCP == "true"' + - if: '$OSDU_GCP == "1"' when: on_success changes: - devops/**/* @@ -82,12 +82,12 @@ sdms-osdu-gcp-dev2-deploy-configmap: SEISMIC_OSDU_GCP_SERVICE: seismic-store SEISMIC_OSDU_GCP_CHART: gcp-seismic-store-sdms-configmap #var used only in release and tagged pipelines rules: - - if: '$OSDU_GCP == "true" && $CI_COMMIT_BRANCH =~ /^release/' + - if: '$OSDU_GCP == "1" && $CI_COMMIT_BRANCH =~ /^release/' when: on_success changes: - devops/**/* - app/sdms/**/* - - if: '$OSDU_GCP == "true" && $CI_COMMIT_TAG' + - if: '$OSDU_GCP == "1" && $CI_COMMIT_TAG' when: on_success changes: - devops/**/* @@ -104,7 +104,7 @@ sdms-osdu-gcp-anthos-deploy-configmap: when: never - if: "$CI_COMMIT_TAG" when: never - - if: '$OSDU_GCP == "true"' + - if: '$OSDU_GCP == "1"' when: on_success changes: - devops/**/* @@ -122,7 +122,7 @@ sdms-osdu-gcp-deployment: when: never - if: "$CI_COMMIT_TAG" when: never - - if: '$OSDU_GCP == "true"' + - if: '$OSDU_GCP == "1"' when: on_success changes: - devops/**/* @@ -137,12 +137,12 @@ sdms-osdu-gcp-dev2-deploy-deployment: SEISMIC_OSDU_GCP_SERVICE: seismic-store SEISMIC_OSDU_GCP_CHART: gcp-seismic-store-sdms-deploy #var used only in release and tagged pipelines rules: - - if: '$OSDU_GCP == "true" && $CI_COMMIT_BRANCH =~ /^release/' + - if: '$OSDU_GCP == "1" && $CI_COMMIT_BRANCH =~ /^release/' when: on_success changes: - devops/**/* - app/sdms/**/* - - if: '$OSDU_GCP == "true" && $CI_COMMIT_TAG' + - if: '$OSDU_GCP == "1" && $CI_COMMIT_TAG' when: on_success changes: - devops/**/* @@ -160,7 +160,7 @@ sdms-osdu-gcp-anthos-deploy-deployment: when: never - if: "$CI_COMMIT_TAG" when: never - - if: '$OSDU_GCP == "true"' + - if: '$OSDU_GCP == "1"' when: on_success changes: - devops/**/* @@ -199,7 +199,7 @@ sdms-osdu-gcp-test-python: when: never - if: "$CI_COMMIT_TAG" when: never - - if: '$OSDU_GCP == "true"' + - if: '$OSDU_GCP == "1"' when: on_success changes: - devops/**/* @@ -232,12 +232,12 @@ sdms-osdu-gcp-dev2-test-python: - chmod +x ./tests/e2e/run_e2e_tests.sh - ./tests/e2e/run_e2e_tests.sh --seistore-svc-url="https://${OSDU_GCP_UNIT_HOSTNAME}${GCP_SDMS_PREFIX}" --seistore-svc-api-key="NA" --user-idtoken="$OSDU_GCP_INTEGRATION_TESTER" --tenant="${OSDU_GCP_TENANT}" --admin-email="${OSDU_GCP_SEISTORE_ADMIN_EMAIL}" --datapartition="${DATA_PARTITION_ID}" --legaltag01="${OSDU_GCP_SEISTORE_LEGALTAG01}" --legaltag02="${OSDU_GCP_SEISTORE_LEGALTAG02}" --VCS-Provider="${ISGITLAB}" rules: - - if: '$OSDU_GCP == "true" && $CI_COMMIT_BRANCH =~ /^release/' + - if: '$OSDU_GCP == "1" && $CI_COMMIT_BRANCH =~ /^release/' when: on_success changes: - devops/**/* - app/sdms/**/* - - if: '$OSDU_GCP == "true" && $CI_COMMIT_TAG' + - if: '$OSDU_GCP == "1" && $CI_COMMIT_TAG' when: on_success changes: - devops/**/*