-
Notifications
You must be signed in to change notification settings - Fork 0
/
launchpad.yml
43 lines (38 loc) · 1.65 KB
/
launchpad.yml
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
31
32
33
34
35
36
37
38
39
40
41
42
43
# tasks that relate to launchpad, launchpad-core and repo setup
version: '3'
includes:
update-deps: ./launchpad_deps_{{OS}}.yml
tasks:
pull-upstream-starter:
desc: Pull and rebase changes from upstream launchpad-starter into current local branch
cmds:
- git remote add upstream-starter https://github.com/graphops/launchpad-starter || true && echo "OK"
- |
if [[ `git status --porcelain --untracked-files=no` ]]; then echo "You have uncommitted changes! Please commit or reset before continuing. Exiting..." && exit 1; fi
- git status
- |
TEXT="
Are you sure you want to pull and rebase the main branch of launchpad-starter into the current local branch?
You will need to manually resolve conflicts between remote changes and local changes,
and your history will be divergent with remote branches. You will need to force push over them.
Learn more about rebasing: https://git-scm.com/book/en/v2/Git-Branching-Rebasing
Learn more about git pull --rebase: https://gitolite.com/git-pull--rebase
"
gum confirm "$TEXT"
- git pull upstream-starter main --rebase
- git status
update-deps:
desc: 'Installs all local Launchpad tooling dependencies'
cmds:
- task: update-deps:helm
- task: update-deps:helmfile
- task: update-deps:kustomize
- task: update-deps:gum
- task: update-deps:kubectl
- task: update-deps:kubeseal
- task: update-deps:jq
- task: update-deps:gum
- task: update-deps:octant
- task: update-deps:k9s
- task: update-deps:helm-git
- task: update-deps:helm-diff