-
Notifications
You must be signed in to change notification settings - Fork 0
/
cloudmigrate.yaml
21 lines (17 loc) · 1007 Bytes
/
cloudmigrate.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
steps:
- name: "gcr.io/cloud-builders/docker"
args: ["build", "-t", "gcr.io/kayleigh-fichten-studio/github.com/jeffykle/kf-app", "."]
- name: "gcr.io/cloud-builders/docker"
args: ["push", "gcr.io/kayleigh-fichten-studio/github.com/jeffykle/kf-app"]
# - name: "gcr.io/google-appengine/exec-wrapper"
# args: ["-i", "gcr.io/kayleigh-fichten-studio/github.com/jeffykle/kf-app",
# "-s", "kayleigh-fichten-studio:us-central1:mypsql",
# "--", "python", "manage.py", "makemigrations"]
# - name: "gcr.io/google-appengine/exec-wrapper"
# args: ["-i", "gcr.io/kayleigh-fichten-studio/github.com/jeffykle/kf-app",
# "-s", "kayleigh-fichten-studio:us-central1:mypsql",
# "--", "python", "manage.py", "migrate"]
# - name: "gcr.io/google-appengine/exec-wrapper"
# args: ["-i", "gcr.io/kayleigh-fichten-studio/github.com/jeffykle/kf-app",
# "-s", "kayleigh-fichten-studio:us-central1:mypsql",
# "--", "python", "manage.py", "collectstatic", "--no-input"]