Commit 645b844a authored by Aliaksandr Ramanovich (EPAM)'s avatar Aliaksandr Ramanovich (EPAM)
Browse files

Rename stages, add vars

parent d266987c
Pipeline #4596 passed with stage
in 6 seconds
......@@ -14,7 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
.osdu_variables:
.osdu-gcp-variables:
variables:
OSDU_INTEGRATION_TESTER: $EPAM_GCP_INTEGRATION_TESTER # $OSDU_GCP_INTEGRATION_TESTER
OSDU_NO_DATA_ACCESS_TESTER: $EPAM_GCP_NO_DATA_ACCESS_TESTER # $OSDU_GCP_NO_DATA_ACCESS_TESTER
......@@ -29,11 +29,15 @@
OSDU_MY_TENANT: osdu
OSDU_ENTITLEMENTS_URL: https://os-entitlements-gcp-attcrcktoa-uc.a.run.app/entitlements/v1/
OSDU_CLOUDRUN_REGION: us-central1
OSDU_PROJECT: nice-etching-277309
OSDU_VPC_CONNECTOR: osdu-connector
OSDU_SERVICE_ACCOUNT: osdu-gcp-sa@nice-etching-277309.iam.gserviceaccount.com
osdu-gcp-containerize:
stage: containerize
needs: ['compile-and-unit-test']
extends: .osdu-gcp-variables
image: google/cloud-sdk
cache: {}
script:
......@@ -42,11 +46,11 @@ osdu-gcp-containerize:
- touch .gcloudignore
- gcloud builds submit --config provider/$OSDU_SERVICE-$OSDU_VENDOR/cloudbuild/cloudbuild.yaml --substitutions=_PROVIDER_NAME=$OSDU_VENDOR,_SHORT_SHA=$CI_COMMIT_SHORT_SHA,_PORT=$OSDU_PORT
deploy_osdu:
osdiu-gcp-deploy:
image: google/cloud-sdk
needs: ['osdu-gcp-containerize']
stage: deploy
extends: .osdu_variables
extends: .osdu-gcp-variables
cache: {}
script:
- gcloud auth activate-service-account --key-file $EPAM_GCP_DEPLOY_FILE # $OSDU_GCP_DEPLOY_FILE
......
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