Fix caching issue on argoCD package

Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
This commit is contained in:
Tom Chauveau
2021-09-10 15:37:37 +02:00
committed by Sam Alba
parent 05b165bcc8
commit ef112e21ec
5 changed files with 41 additions and 35 deletions

View File

@@ -16,7 +16,7 @@ import (
// Wait the application to sync correctly
wait: dagger.#Input & {*false | bool}
ctr: os.#Container & {
os.#Container & {
image: #CLI & {
"config": config
}
@@ -27,6 +27,7 @@ import (
argocd app wait "$APPLICATION"
fi
"""#
always: true
env: APPLICATION: application
if wait {
env: WAIT_FLAG: "wait"