resource google_sourcerepo_repository image {
name = "paas-monitor"
depends_on = [google_project_service.sourcerepo]
}
Copy
git clone https://github.com/mvanholsteijn/paas-monitor.git
cd paas-monitor
Copy
git config --global
credential.'https://source.developers.google.com'.helper
git-credential-gcloud.sh
Copy
gcloud builds log d3a313b8-ec30-442d-af0f-b9d5a10f788a
------------------------------------------------------------------------------------------------------------ REMOTE BUILD OUTPUT -------------------------------------------------------------------------------------------------------------
starting build "d3a313b8-ec30-442d-af0f-b9d5a10f788a"
FETCHSOURCE
Initialized empty Git repository in /workspace/.git/
From https://source.developers.google.com/p/speeltuin-mvanholsteijn/r/paas-monitor
* branch 23f349221c561dced520606ea0a144c4f04dab95 -> FETCH_HEAD
HEAD is now at 23f3492 added cloudbuild.yaml
...
Copy
gcloud builds list
ID CREATE_TIME DURATION SOURCE IMAGES STATUS
d3a313b8-ec30-442d-af0f-b9d5a10f788a 2019-12-07T17:54:24+00:00 53S paas-monitor@master - SUCCESS
Copy