I have a Java/Maven multi module project which builds already successful on circleci.
I’ve used following commands to deploy to appengine:
develop:
# automatically deploy the develop branch to appengine version "develop"
branch: develop
commands:
# this produces an error: “you do not have permission to modify the Google Cloud SDK installation directory [/opt/google-cloud-sdk].”
#- gcloud --quiet components update
- gcloud auth activate-service-account eaternity-app@appspot.gserviceaccount.com --key-file ${HOME}/client-secret.json
- gcloud config set project $GCLOUD_PROJECT
- gcloud -q preview app deploy app.yaml --promote --version=develop
I’m getting following Error from CircleCI:
gcloud auth activate-service-account eaternity-app@appspot.gserviceaccount.com --key-file ${HOME}/client-secret.json returned exit code 1
ERROR: (gcloud.auth.activate-service-account) PyOpenSSL is not available. See https://developers.google.com/cloud/sdk/crypto for details. Action failed: gcloud auth activate-service-account eaternity-app@appspot.gserviceaccount.com --key-file ${HOME}/client-secret.json
I expected PyOpenSSL to be included in the pre-installed Appengine SDK bundle on CircleCI.
I’ve saved the client secret in the pre-dependency phase:
- echo CLIENT_SECRET | base64 --decode > {HOME}/client-secret.json
Any ideas on how to proceed? Is the error misleading?
thnx for help and best regards
Aurelian