forked from argoproj/argo-workflows
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtasks.yaml
More file actions
147 lines (147 loc) · 2.82 KB
/
tasks.yaml
File metadata and controls
147 lines (147 loc) · 2.82 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
tasks:
build:
dependencies:
- build-controller
- build-cli
- build-executor
build-cli:
command:
- make
- ./dist/argo
env:
STATIC_FILES: "false"
mutex: build
watch:
- cmd/argo
- config
- errors
- persist
- pkg
- util
- server
- workflow
build-controller:
command:
- make
- ./dist/workflow-controller
mutex: build
watch:
- cmd/workflow-controller
- config
- errors
- persist
- pkg
- util
- workflow
build-executor:
command:
- make
- argoexec-image
mutex: docker
watch:
- cmd/argoexec
- config
- errors
- pkg
- util
- workflow
controller:
command:
- ./dist/workflow-controller
dependencies:
- build-controller
- port-forward
- otel-port-forward
env:
ALWAYS_OFFLOAD_NODE_STATUS: "false"
ARCHIVED_WORKFLOW_GC_PERIOD: 30s
ARGO_EXECUTOR_PLUGINS: "false"
ARGO_LOGLEVEL: info
ARGO_MANAGED_NAMESPACE: argo
ARGO_NAMESPACE: argo
ARGO_NAMESPACED: "true"
ARGO_PROGRESS_PATCH_TICK_DURATION: 7s
ARGO_REMOVE_PVC_PROTECTION_FINALIZER: "true"
DEFAULT_REQUEUE_TIME: 1s
LEADER_ELECTION_IDENTITY: local
OFFLOAD_NODE_STATUS_TTL: 30s
UPPERIO_DB_DEBUG: "1"
WORKFLOW_GC_PERIOD: 30s
# OpenTelemetry tracing - collector runs in k8s, port-forwarded to localhost
OTEL_EXPORTER_OTLP_ENDPOINT: http://localhost:4318
OTEL_EXPORTER_OTLP_PROTOCOL: http/protobuf
ports:
- "9090"
otel-port-forward:
sh: kubectl port-forward -n argo svc/otel-collector 4318:4318 2>/dev/null || true
ports:
- "4318"
example:
command:
- kubectl
- create
- -f
- examples/hello-world.yaml
dependencies:
- install
mutex: docker
install:
env:
PROFILE: minimal
mutex: docker
sh: make install PROFILE=$PROFILE
watch:
- manifests
port-forward:
command:
- ./hack/port-forward.sh
dependencies:
- install
ports:
- "9000"
server:
command:
- ./dist/argo
- server
dependencies:
- build-cli
- port-forward
env:
ARGO_AUTH_MODE: hybrid
ARGO_LOGLEVEL: info
ARGO_MANAGED_NAMESPACE: argo
ARGO_NAMESPACE: argo
ARGO_NAMESPACED: "true"
ARGO_SECURE: "false"
ARGO_X_FRAME_OPTIONS: SAMEORIGIN
UPPERIO_DB_DEBUG: "1"
CI_ONLY_DISABLE_ARTIFACT_SERVER_CHECKS: "true"
ports:
- "2746"
ui:
command:
- yarn
- start
dependencies:
- ui-deps
ports:
- "8080"
watch:
- package.json
- webpack.config.js
workingDir: ui
ui-deps:
command:
- yarn
- install
workingDir: ui
up:
command:
- sleep
- "999999"
dependencies:
- example
- controller
- server
- ui
- build-executor