I want to run our automated backend test suite on Google Cloud Builder environment. However, naturally, I bumped into the need to install various dependencies and prerequisi
You have 2 options to achieve this at the moment I believe:
# cloudbuild.yaml
steps:
- name: 'ubuntu'
args: ['./my-awesome-script.sh']
# my-awesome-script.sh
/usr/bin/env/bash
set -eo pipefail
./scripts/install-prerequisites.sh
composer install -n -q --prefer-dist
php init --overwrite=y
php tests/run
bash -c
with all the commands you'd like to follow:steps:
- name: 'ubuntu'
args: ['bash', '-c', './scripts/install-prerequisites.sh && composer install -n -q --prefer-dist && php init --overwrite=y && php tests/run']