Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

I am unable to deploy laravel in google cloud by pipeline Here The pipeline configuration

surajurm
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 10, 2018
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

1 answer

0 votes
davina
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 17, 2018

Hi Rahul,

Which part of the pipeline is problematic? and what errors do you see?

Cheers,

Davina

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events