From 1959f77e93801e29c3f3833bd47c7e1cf0c70009 Mon Sep 17 00:00:00 2001 From: Ajay Kidave Date: Sat, 11 Nov 2023 16:01:31 -0800 Subject: [PATCH] Added secret env value --- .github/workflows/test.yml | 2 ++ tests/commander/test_load_app.yaml | 12 ------------ 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6b3649b..5e59bd3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -37,6 +37,8 @@ jobs: - name: Test with Go run: go test -json ./... > TestResults-${{ matrix.go-version }}.json - name: Test CLI + env: + CL_INFOCLACE_SSH: ${{ secrets.CL_INFOCLACE_SSH }} run: | export CL_HOME=`pwd` go install github.com/commander-cli/commander/v2/cmd/commander@latest diff --git a/tests/commander/test_load_app.yaml b/tests/commander/test_load_app.yaml index 4c9b266..facaae3 100644 --- a/tests/commander/test_load_app.yaml +++ b/tests/commander/test_load_app.yaml @@ -150,17 +150,5 @@ tests: stdout: "App created. Permissions have been approved" exit-code: 0 - # Disable until git auth is enabled - # test0300: # Create app, git url - # command: ../clace app create --approve /ghload6 git@github.com:claceio/clace.git/examples/disk_usage - # #stdout: "App created. Permissions have been approved" - # stderr: "" - # exit-code: 0 - # test0310: # Create app, git url with commit id - # command: ../clace app create --approve --commit e6a3ebc00392bc7afebcc3a2cdb6e13273985704 /ghload7 git@github.com:claceio/clace.git/examples/disk_usage - # #stdout: "App created. Permissions have been approved" - # stderr: "" - # exit-code: 0 - test0900: # cleanup command: rm -rf ./disk_usage || true