-
Notifications
You must be signed in to change notification settings - Fork 1
/
cloudbuild-owlbot-bootstrapper.yaml
30 lines (30 loc) · 1.13 KB
/
cloudbuild-owlbot-bootstrapper.yaml
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
# Run by a CLI command manually (by a human), or when googleapis/googleapis API Index changes
steps:
# Clones the target repository and opens a branch for mono-repos, for split-repos creates a repository
- name: ${_CONTAINER}
env:
- 'LANGUAGE=$_LANGUAGE'
- 'PROJECT_ID=$PROJECT_ID'
- 'API_ID=$_API_ID'
- 'REPO_TO_CLONE=$_REPO_TO_CLONE'
- 'IS_PRE_PROCESS=$_IS_PRE_PROCESS'
- 'APP_INSTALLATION_ID=$_INSTALLATION_ID'
# Generates the basic files necessary for a minimal implementation of a library
# Current working directory contains the branch of the target repo
- name: ${_LANGUAGE_CONTAINER}
env:
- 'LANGUAGE=$_LANGUAGE'
- 'PROJECT_ID=$PROJECT_ID'
- 'API_ID=$_API_ID'
- 'REPO_TO_CLONE=$_REPO_TO_CLONE'
- 'IS_PRE_PROCESS=$_IS_PRE_PROCESS'
- 'APP_INSTALLATION_ID=$_INSTALLATION_ID'
# Commits and pushes changes to a branch; if the repo is nonempty, opens a PR
- name: ${_CONTAINER}
env:
- 'LANGUAGE=$_LANGUAGE'
- 'PROJECT_ID=$PROJECT_ID'
- 'API_ID=$_API_ID'
- 'REPO_TO_CLONE=$_REPO_TO_CLONE'
- 'IS_PRE_PROCESS=false'
- 'APP_INSTALLATION_ID=$_INSTALLATION_ID'