1717#
1818version : ' 3'
1919
20- dotenv :
20+ dotenv :
2121 - .env
2222
2323vars :
5252 sh : echo "$HOME/.ops/0.1.0/olaris/opsroot.json"
5353 KIND_NODE : nuvolaris-control-plane
5454 KUBE_NAMESPACE : nuvolaris
55- DOCKER_REGISTRY : registry.hub. docker.com /apache
55+ DOCKER_REGISTRY : docker.io /apache
5656 LOCAL_DOCKER_REGISTRY :
5757 sh : echo "${LOCAL_DOCKER_REGISTRY:-localhost:5000/apache}"
5858 LOCAL_REGISTRY_CONTAINER :
7676
7777 default :
7878 - task --list-all
79-
80- setup :
79+
80+ setup :
8181 silent : true
8282
8383 ensure-openwhisk :
@@ -125,7 +125,7 @@ tasks:
125125 cmds :
126126 - ./gradlew :core:scheduler:distTar
127127 status :
128- - test -f core/scheduler/build/distributions/scheduler.tar
128+ - test -f core/scheduler/build/distributions/scheduler.tar
129129
130130 compile:standalone :
131131 dir : openwhisk
@@ -138,26 +138,26 @@ tasks:
138138
139139 native:standalone-libs :
140140 deps :
141- - compile:standalone
141+ - compile:standalone
142142 dir : openwhisk
143143 cmds :
144- - ./gradlew core:standalone:copyRuntimeLibs
144+ - ./gradlew core:standalone:copyRuntimeLibs
145145
146146 native:standalone-build :
147147 deps :
148- - native:standalone-libs
148+ - native:standalone-libs
149149 dir : openwhisk/core/standalone
150150 cmds :
151151 - native-image
152- --initialize-at-run-time=io.netty,akka.protobufv3.internal.UnsafeUtil
152+ --initialize-at-run-time=io.netty,akka.protobufv3.internal.UnsafeUtil
153153 --no-fallback --report-unsupported-elements-at-runtime
154154 --trace-object-instantiation=ch.qos.logback.classic.Logger
155155 --enable-url-protocols=http,https
156156 -march=native
157157 -cp build/classes/scala/main:build/resources/main:build/dependency-libs/*
158158 -H:ConfigurationFileDirectories=$PWD/../../../standalone/graal-config
159159 -o $PWD/../../../standalone/dist/{{.EXEC_NAME}}
160- org.apache.openwhisk.standalone.StandaloneOpenWhisk
160+ org.apache.openwhisk.standalone.StandaloneOpenWhisk
161161 vars :
162162 EXEC_NAME : " ${NATIVE_IMAGE_NAME:-openwhisk-standalone}"
163163
@@ -170,14 +170,14 @@ tasks:
170170
171171 native:standalone-config :
172172 deps :
173- - compile:standalone
173+ - compile:standalone
174174 dir : openwhisk/core/standalone
175175 cmds :
176- - java -agentlib:native-image-agent=config-output-dir=../../../standalone/graal-config
177- -cp build/classes/scala/main:build/resources/main:build/dependency-libs/*
176+ - java -agentlib:native-image-agent=config-output-dir=../../../standalone/graal-config
177+ -cp build/classes/scala/main:build/resources/main:build/dependency-libs/*
178178 -Dwhisk.standalone.host.name="0.0.0.0"
179- -Dwhisk.standalone.host.internal="$(hostname -f)"
180- org.apache.openwhisk.standalone.StandaloneOpenWhisk
179+ -Dwhisk.standalone.host.internal="$(hostname -f)"
180+ org.apache.openwhisk.standalone.StandaloneOpenWhisk
181181
182182 clean :
183183 ignore_error : true
@@ -223,19 +223,19 @@ tasks:
223223 (build)
224224 docker build {{.DIR}} -t {{.IMG}} --build-arg BASE={{.BASE}}
225225 ;;
226- (buildx)
226+ (buildx)
227227 docker buildx build --platform linux/amd64,linux/arm64 --build-arg BASE={{.BASE}} -t {{.IMG}} {{.DIR}}
228228 ;;
229229 (buildx-local)
230230 docker buildx build --platform linux/amd64,linux/arm64 --build-arg BASE={{.BASE}} -t {{.IMG}} {{.DIR}} --push
231231 ;;
232- (buildx-push)
233- docker buildx build --platform linux/amd64,linux/arm64 --build-arg BASE={{.BASE}} -t {{.IMG}} {{.DIR}} --push
232+ (buildx-push)
233+ docker buildx build --platform linux/amd64,linux/arm64 --build-arg BASE={{.BASE}} -t {{.IMG}} {{.DIR}} --push
234234 ;;
235235 (*) echo ACT must be "build|buildx|buildx-local|buildx-push"
236236 esac
237237
238- # this requires ACT IMG OPENWHISK_JAR and DIR parameters to be passed
238+ # this requires ACT IMG OPENWHISK_JAR and DIR parameters to be passed
239239 docker-build-standalone :
240240 silent : true
241241 cmds :
@@ -245,25 +245,25 @@ tasks:
245245 (build)
246246 docker build {{.DIR}} -t {{.IMG}} --build-arg BASE={{.BASE}} --build-arg OPENWHISK_JAR={{.OPENWHISK_JAR}}
247247 ;;
248- (buildx)
248+ (buildx)
249249 docker buildx build --platform linux/amd64,linux/arm64 --build-arg BASE={{.BASE}} --build-arg OPENWHISK_JAR={{.OPENWHISK_JAR}} -t {{.IMG}} {{.DIR}}
250250 ;;
251251 (buildx-local)
252252 docker buildx build --platform linux/amd64,linux/arm64 --build-arg BASE={{.BASE}} --build-arg OPENWHISK_JAR={{.OPENWHISK_JAR}} -t {{.IMG}} {{.DIR}} --push
253253 ;;
254- (buildx-push)
255- docker buildx build --platform linux/amd64,linux/arm64 --build-arg BASE={{.BASE}} --build-arg OPENWHISK_JAR={{.OPENWHISK_JAR}} -t {{.IMG}} {{.DIR}} --push
254+ (buildx-push)
255+ docker buildx build --platform linux/amd64,linux/arm64 --build-arg BASE={{.BASE}} --build-arg OPENWHISK_JAR={{.OPENWHISK_JAR}} -t {{.IMG}} {{.DIR}} --push
256256 ;;
257257 (*) echo ACT must be "build|buildx|buildx-local|buildx-push"
258- esac
258+ esac
259259
260260 build:scala :
261261 cmds :
262262 - task : docker-build
263263 vars :
264264 DIR : openwhisk/common/scala
265- IMG : " {{.DOCKER_REGISTRY}}/{{.COMMON_IMAGE}}:{{.TAG}}"
266- ACT : ' {{.ACT}}'
265+ IMG : " {{.DOCKER_REGISTRY}}/{{.COMMON_IMAGE}}:{{.TAG}}"
266+ ACT : ' {{.ACT}}'
267267
268268 build:controller :
269269 deps :
@@ -275,7 +275,7 @@ tasks:
275275 IMG : " {{.DOCKER_REGISTRY}}/${MY_CONTROLLER_IMAGE:-{{.CONTROLLER_IMAGE}}}:{{.TAG}}"
276276 ACT : ' {{.ACT}}'
277277 BASE : " {{.DOCKER_REGISTRY}}/{{.COMMON_IMAGE}}:{{.TAG}}"
278-
278+
279279 build:invoker :
280280 deps :
281281 - compile:invoker
@@ -296,8 +296,8 @@ tasks:
296296 DIR : openwhisk/core/scheduler
297297 IMG : " {{.DOCKER_REGISTRY}}/${MY_SCHEDULER_IMAGE:-{{.SCHEDULER_IMAGE}}}:{{.TAG}}"
298298 ACT : ' {{.ACT}}'
299- BASE : " {{.DOCKER_REGISTRY}}/{{.COMMON_IMAGE}}:{{.TAG}}"
300-
299+ BASE : " {{.DOCKER_REGISTRY}}/{{.COMMON_IMAGE}}:{{.TAG}}"
300+
301301 build:standalone :
302302 deps :
303303 - compile:standalone
@@ -309,7 +309,7 @@ tasks:
309309 ACT : ' {{.ACT}}'
310310 BASE : " {{.DOCKER_REGISTRY}}/{{.COMMON_IMAGE}}:{{.TAG}}"
311311 OPENWHISK_JAR : " build/libs/openwhisk-standalone-1.0.0-SNAPSHOT.jar"
312-
312+
313313 build-all :
314314 cmds :
315315 - |
@@ -324,16 +324,16 @@ tasks:
324324 - task : ensure-openwhisk
325325 - task : build:scala
326326 vars :
327- ACT : " build"
327+ ACT : " build"
328328 - task : build:controller
329329 vars :
330- ACT : " build"
330+ ACT : " build"
331331 - task : build:invoker
332332 vars :
333333 ACT : " build"
334334 - task : build:scheduler
335335 vars :
336- ACT : " build"
336+ ACT : " build"
337337 - task : build:standalone
338338 vars :
339339 ACT : " build"
@@ -458,16 +458,16 @@ tasks:
458458 - task : docker-setup
459459 - task : build:scala
460460 vars :
461- ACT : " buildx-push"
461+ ACT : " buildx-push"
462462 - task : build:controller
463463 vars :
464- ACT : " buildx-push"
464+ ACT : " buildx-push"
465465 - task : build:invoker
466466 vars :
467467 ACT : " buildx-push"
468468 - task : build:scheduler
469469 vars :
470- ACT : " buildx-push"
470+ ACT : " buildx-push"
471471 - task : build:standalone
472472 vars :
473473 ACT : " buildx-push"
@@ -495,14 +495,14 @@ tasks:
495495 -p 3232:3232 -p 3233:3233
496496 -v /var/run/docker.sock:/var/run/docker.sock
497497 {{.DOCKER_REGISTRY}}/openwhisk2/standalone:{{.TAG}}
498- interactive : true
498+ interactive : true
499499
500500 run:standalone :
501501 deps :
502- - native:standalone-libs
502+ - native:standalone-libs
503503 dir : openwhisk/core/standalone
504504 cmds :
505- - java -cp build/classes/scala/main:build/resources/main:build/dependency-libs/*
505+ - java -cp build/classes/scala/main:build/resources/main:build/dependency-libs/*
506506 -Dwhisk.standalone.host.name="0.0.0.0"
507507 -Dwhisk.standalone.host.internal="$(hostname -f)"
508508 org.apache.openwhisk.standalone.StandaloneOpenWhisk --no-browser
0 commit comments