image: php:7-fpm pipelines: default: - step: script: # Modify the commands below to build your repository. # Downloading the Google Cloud SDK - apt-get update && apt-get install -qy git curl libmcrypt-dev mysql-client - docker-php-ext-install mcrypt && docker-php-ext-install pdo_mysql - apt-get update && apt-get -y --no-install-recommends install git \&& php -r "readfile('http://getcomposer.org/installer');" | php -- --install-dir=/usr/bin/ --filename=composer \ && rm -rf /var/lib/apt/lists/* - ti google/cloud-sdk:160.0.0 gcloud version - ti --name gcloud-config google/cloud-sdk gcloud auth login # Authenticating with the service account key file - echo $GCLOUD_API_KEYFILE | base64 --decode --ignore-garbage > ./gcloud-api-key.json - gcloud auth activate-service-account --key-file gcloud-api-key.json # Linking to the Google Cloud project - gcloud config set project $GCLOUD_PROJECT
Hi Rahul,
Which part of the pipeline is problematic? and what errors do you see?
Cheers,
Davina
It looks like you're new here. Sign in or register to get started.