Commit c2ed2acc authored by Rostislav Dublin (EPAM)'s avatar Rostislav Dublin (EPAM)
Browse files

Merge branch 'fix-gcp-bootstrap' into 'master'

Fix-gcp-bootstrap

See merge request !92
parents 37646918 e7cec63f
Pipeline #62503 failed with stages
in 69 minutes and 32 seconds
google-cloud-datastore==2.1.3 google-cloud-datastore
google-cloud-storage==1.40.0 google-cloud-storage
\ No newline at end of file
...@@ -3,6 +3,7 @@ FROM google/cloud-sdk:slim ...@@ -3,6 +3,7 @@ FROM google/cloud-sdk:slim
COPY ./devops/gcp/bootstrap.sh /opt COPY ./devops/gcp/bootstrap.sh /opt
COPY ./deployments /opt/ COPY ./deployments /opt/
RUN pip3 install google-crc32c==1.0.0
RUN pip3 install -r /opt/scripts/gcp/requirements.txt RUN pip3 install -r /opt/scripts/gcp/requirements.txt
RUN chmod 775 /opt/bootstrap.sh RUN chmod 775 /opt/bootstrap.sh
......
...@@ -10,6 +10,7 @@ osdu_gcp_bootstrap: ...@@ -10,6 +10,7 @@ osdu_gcp_bootstrap:
WKS_TENANT: $OSDU_TENANT WKS_TENANT: $OSDU_TENANT
WKS_BUCKET: $OSDU_GCP_WKS_BUCKET WKS_BUCKET: $OSDU_GCP_WKS_BUCKET
script: script:
- apt install python3-dev
- gcloud auth activate-service-account --key-file $OSDU_GCP_DEPLOY_FILE - gcloud auth activate-service-account --key-file $OSDU_GCP_DEPLOY_FILE
- gcloud config set project $OSDU_GCP_PROJECT - gcloud config set project $OSDU_GCP_PROJECT
- export GOOGLE_APPLICATION_CREDENTIALS=$OSDU_GCP_DEPLOY_FILE - export GOOGLE_APPLICATION_CREDENTIALS=$OSDU_GCP_DEPLOY_FILE
......
Markdown is supported
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