Skip to content

Commit

Permalink
Fix cron.yaml deployment.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Hitchman committed Jan 26, 2018
1 parent 4a0edac commit 06f392e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
8 changes: 6 additions & 2 deletions gubernator/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,17 @@ PROJECT ?= k8s-gubernator

# TODO(fejta): convert these to bazel rules

.PHONY: migrate versions deploy all
.PHONY: migrate versions deploy cron all
all: versions

deploy:
deploy: cron
gcloud app deploy --version="$(VERSION)" --project="$(PROJECT)" --no-promote --quiet
cd github && gcloud app deploy --version="$(VERSION)" --project="$(PROJECT)" --no-promote --quiet

# This is a weird one. It's a global setting that's *not* versioned.
cron:
gcloud app deploy --project="$(PROJECT)" cron.yaml

versions:
gcloud app versions list --project="$(PROJECT)"

Expand Down
1 change: 1 addition & 0 deletions gubernator/github/cron.yaml → gubernator/cron.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ cron:
- description: sync PR state
url: /sync
schedule: every 8 hours
target: github

0 comments on commit 06f392e

Please sign in to comment.