Fix caching issue on argoCD package
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
This commit is contained in:
@@ -25,7 +25,7 @@ import (
|
||||
// Destination namespace
|
||||
namespace: dagger.#Input & {*"default" | string}
|
||||
|
||||
ctr: os.#Container & {
|
||||
os.#Container & {
|
||||
image: #CLI & {
|
||||
"config": config
|
||||
}
|
||||
@@ -36,6 +36,7 @@ import (
|
||||
--dest-server "$APP_SERVER" \
|
||||
--dest-namespace "$APP_NAMESPACE"
|
||||
"""#
|
||||
always: true
|
||||
env: {
|
||||
APP_NAME: name
|
||||
APP_REPO: repo
|
||||
|
@@ -48,6 +48,7 @@ import (
|
||||
"""#,
|
||||
]
|
||||
env: APPLICATION: name
|
||||
always: true
|
||||
},
|
||||
|
||||
op.#Export & {
|
||||
|
@@ -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"
|
||||
|
Reference in New Issue
Block a user