Prevent opening PRs against spoke by default

This commit is contained in:
Anna Scholtz 2021-09-22 10:19:42 -07:00
Родитель 376036f7b0
Коммит cea8b8d8d0
2 изменённых файлов: 1 добавлений и 6 удалений

Просмотреть файл

@ -84,14 +84,9 @@ a new branch to the `looker-hub` repository:
```
export HUB_BRANCH_PUBLISH="yourname-generation-test-1"
export GIT_SSH_KEY_BASE64=$(cat ~/.ssh/id_rsa | base64)
export UPDATE_SPOKE_BRANCHES=false
make build && make run
```
To prevent PRs from automatically getting opened against spoke-default and spoke-private,
while testing local changes, `UPDATE_SPOKE_BRANCHES` can be set to `false`.
## Deploying new `lookml-generator` changes
`lookml-generator` runs daily to update the `looker-hub` and `looker-spoke-default` code. Changes

Просмотреть файл

@ -58,7 +58,7 @@ SPOKE_BRANCH_WORKING=${SPOKE_BRANCH_WORKING:-"${SPOKE_BRANCH_PUBLISH}-working"}
LOOKER_INSTANCE_URI=${LOOKER_INSTANCE_URI:-"https://mozilladev.cloud.looker.com"}
UPDATE_DEV_BRANCHES=${UPDATE_DEV_BRANCHES:-"false"}
UPDATE_SPOKE_BRANCHES=${UPDATE_SPOKE_BRANCHES:-"true"}
UPDATE_SPOKE_BRANCHES=${UPDATE_SPOKE_BRANCHES:-"false"}
function setup_git_auth() {
# Configure the container for pushing to github.