Skip to content

Commit

Permalink
fix(build): slightly optimize UI tasks in kit tasks.yaml (#13350)
Browse files Browse the repository at this point in the history
Signed-off-by: Anton Gilgur <[email protected]>
  • Loading branch information
agilgur5 authored and Joibel committed Sep 20, 2024
1 parent f197662 commit 1892cea
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions tasks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,20 @@ metadata:
annotations:
help: |
Install `kit` by following https://github.com/kitproj/kit#install.
Run `kit up` to start argo.
- `env PROFILE=mysql kit up` to start with MySQL.
- `env PROFILE=plugins ARGO_EXECUTOR_PLUGINS=true kit up` to start with plugins.
- `env PROFILE=sso ARGO_AUTH_MODE=sso kit up` to start with SSO.
The app will be up-and-running between 15s and 1m later (if hot compiled or cold).
The app will be up-and-running between 15s and 1m later (if hot compiled or cold).
Any changes made to the source code will be automatically recompiled and the app restarted, typically within a few seconds.
name: argo-workflows
spec:
tasks:
- name: go-deps
command: go mod download
mutex: downloads
- name: install
command: sh -c "make install PROFILE=$PROFILE"
env:
Expand Down Expand Up @@ -77,11 +76,11 @@ spec:
- name: ui-deps
command: yarn install
workingDir: ui
mutex: downloads
watch: ui/package.json ui/yarn.lock
- name: ui
command: yarn start
workingDir: ui
dependencies: ui-deps server
dependencies: ui-deps
ports: "8080"
- name: executor
command: make argoexec-image
Expand Down

0 comments on commit 1892cea

Please sign in to comment.