forked from HariSekhon/Templates
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcloudbuild-ubuntu.yaml
More file actions
44 lines (37 loc) · 913 Bytes
/
cloudbuild-ubuntu.yaml
File metadata and controls
44 lines (37 loc) · 913 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#
# Author: Hari Sekhon
# Date: [% DATE # 2020-02-11 12:53:33 +0000 (Tue, 11 Feb 2020) %]
#
# vim:ts=2:sts=2:sw=2:et
#
# [% URL %]
#
# [% LICENSE %]
#
# [% MESSAGE %]
#
# [% LINKEDIN %]
#
# ============================================================================ #
# G C P C l o u d B u i l d
# ============================================================================ #
# References:
#
# https://cloud.google.com/cloud-build/docs/build-config
#
# https://cloud.google.com/cloud-build/docs/build-debug-locally
# gcloud builds submit --config cloudbuild.yaml .
#
# cloud-build-local --config cloudbuild.yml --dryrun=false .
# tars $PWD to bucket called ${PROJECT_ID}_cloudbuild
---
timeout: 3660s
steps:
- name: ubuntu:18.04
entrypoint: bash
args:
- '-c'
- |
setup/ci_bootstrap.sh &&
make build test
timeout: 3600s