forked from flutter/cocoon
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcloudbuild.yaml
More file actions
26 lines (21 loc) · 801 Bytes
/
cloudbuild.yaml
File metadata and controls
26 lines (21 loc) · 801 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
# Provide instructions for google Cloud Build to auto-build flutter
# dashboard to flutter-dashboard project. Auto-build will be triggered
# by new commits to `master` branch.
steps:
# Build app_flutter.
- name: gcr.io/$PROJECT_ID/flutter
entrypoint: '/bin/bash'
args: ['cloud_build/app_flutter_build.sh']
# Build repo_dashboard.
- name: gcr.io/$PROJECT_ID/flutter
entrypoint: '/bin/bash'
args: ['cloud_build/repo_dash_build.sh']
# Build angular dart app.
- name: gcr.io/$PROJECT_ID/flutter
entrypoint: '/bin/bash'
args: ['cloud_build/app_build.sh']
# Deploy a new version to google cloud.
- name: 'gcr.io/cloud-builders/gcloud'
entrypoint: '/bin/bash'
args: ['cloud_build/deploy.sh', '$PROJECT_ID', '$SHORT_SHA', '$_GAE_PROMOTE']
timeout: 1200s