-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP: IDP not working, yet
- Loading branch information
Showing
3 changed files
with
57 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
tasks: | ||
setup-workspace: | ||
name: setup workspace | ||
triggeredBy: | ||
- postEnvironmentStart | ||
command: | | ||
export PREVIEW_ENV_DEV_SA_KEY_PATH="/home/gitpod/.config/gcloud/preview-environment-dev-sa.json" | ||
leeway run dev/preview:configure-workspace | ||
leeway run dev/preview/previewctl:install | ||
preview-create: | ||
name: create preview | ||
dependsOn: | ||
- setup-workspace | ||
triggeredBy: | ||
- manual | ||
command: | | ||
export PREVIEW_ENV_DEV_SA_KEY_PATH="/home/gitpod/.config/gcloud/preview-environment-dev-sa.json" | ||
previewctl create | ||
preview-delete: | ||
name: delete preview | ||
dependsOn: | ||
- setup-workspace | ||
triggeredBy: | ||
- manual | ||
command: | | ||
export PREVIEW_ENV_DEV_SA_KEY_PATH="/home/gitpod/.config/gcloud/preview-environment-dev-sa.json" | ||
previewctl delete | ||
services: | ||
preview-update-kubectx: | ||
name: update kubectx | ||
# trigger: | ||
# - onStart | ||
# dependsOn: | ||
# - setup-workspace | ||
# TODO(gpl): would be great if we could depend on a task - or use "gitpod auto task start setup-workspace --wait" | ||
commands: | ||
start: | | ||
leeway run dev/preview/previewctl:install | ||
previewctl install-context --watch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters