From 694288a74ce052262aeb04cf4a381c0fd05c8e33 Mon Sep 17 00:00:00 2001 From: Johannes Rudolph Date: Wed, 28 Aug 2024 18:03:33 +0200 Subject: [PATCH] test: use correct collie version when invoking install scripts sudo -E preserves existing environment --- .github/workflows/release.yml | 4 ++-- test/e2e.ps1 | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 066f58e..03de9ef 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -111,7 +111,7 @@ jobs: env: COLLIE_VERSION: ${{ github.event.release.tag_name }} run: | - curl -sf -L https://raw.githubusercontent.com/meshcloud/collie-cli/main/install.sh | sudo bash + curl -sf -L https://raw.githubusercontent.com/meshcloud/collie-cli/main/install.sh | sudo -E bash collie info ./test/e2e.sh e2e-macos: @@ -128,6 +128,6 @@ jobs: env: COLLIE_VERSION: ${{ github.event.release.tag_name }} run: | - curl -sf -L https://raw.githubusercontent.com/meshcloud/collie-cli/main/install.sh | sudo bash + curl -sf -L https://raw.githubusercontent.com/meshcloud/collie-cli/main/install.sh | sudo -E bash collie info ./test/e2e.sh diff --git a/test/e2e.ps1 b/test/e2e.ps1 index 5ab646b..05e930a 100755 --- a/test/e2e.ps1 +++ b/test/e2e.ps1 @@ -56,6 +56,3 @@ echo "Testing outputs" collie foundation tree collie kit tree collie compliance tree - -echo "Testing documentation" -collie foundation docs --build