From 1bbc4777af5d8b1036856bf968163578a37e3044 Mon Sep 17 00:00:00 2001 From: Sam Alba Date: Thu, 23 Dec 2021 13:50:07 -0800 Subject: [PATCH] tests: fixed secrets_sops.yml path Signed-off-by: Sam Alba --- tests/tasks/build/build_auth.cue | 4 ++-- tests/tasks/pull/pull_auth.cue | 2 +- tests/tasks/push/push.cue | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/tasks/build/build_auth.cue b/tests/tasks/build/build_auth.cue index 2d20fcdc..cb46d0c2 100644 --- a/tests/tasks/build/build_auth.cue +++ b/tests/tasks/build/build_auth.cue @@ -6,10 +6,10 @@ import ( engine.#Plan & { inputs: { - directories: testdata: path: "./tasks/build/testdata" + directories: testdata: path: "./testdata" secrets: dockerHubToken: command: { name: "sops" - args: ["exec-env", "./secrets_sops.yaml", "echo $DOCKERHUB_TOKEN"] + args: ["exec-env", "../../secrets_sops.yaml", "echo $DOCKERHUB_TOKEN"] } } diff --git a/tests/tasks/pull/pull_auth.cue b/tests/tasks/pull/pull_auth.cue index 04515217..64b7697b 100644 --- a/tests/tasks/pull/pull_auth.cue +++ b/tests/tasks/pull/pull_auth.cue @@ -7,7 +7,7 @@ import ( engine.#Plan & { inputs: secrets: dockerHubToken: command: { name: "sops" - args: ["exec-env", "./secrets_sops.yaml", "echo $DOCKERHUB_TOKEN"] + args: ["exec-env", "../../secrets_sops.yaml", "echo $DOCKERHUB_TOKEN"] } actions: pull: engine.#Pull & { source: "daggerio/ci-test:private-pull@sha256:c74f1b1166784193ea6c8f9440263b9be6cae07dfe35e32a5df7a31358ac2060" diff --git a/tests/tasks/push/push.cue b/tests/tasks/push/push.cue index 1ab0410d..2736ef42 100644 --- a/tests/tasks/push/push.cue +++ b/tests/tasks/push/push.cue @@ -8,7 +8,7 @@ import ( engine.#Plan & { inputs: secrets: dockerHubToken: command: { name: "sops" - args: ["exec-env", "./secrets_sops.yaml", "echo $DOCKERHUB_TOKEN"] + args: ["exec-env", "../../secrets_sops.yaml", "echo $DOCKERHUB_TOKEN"] } #auth: [{