From 08ae1178e93fae74dcf62b18b7c8106407114034 Mon Sep 17 00:00:00 2001 From: jneo8 Date: Mon, 23 Oct 2023 17:49:08 +0800 Subject: [PATCH 1/2] ci: Show juju information --- .github/workflows/func.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/func.yaml b/.github/workflows/func.yaml index 3e75c08..2032743 100644 --- a/.github/workflows/func.yaml +++ b/.github/workflows/func.yaml @@ -88,6 +88,10 @@ jobs: lxc profile set --project nested-lxd default security.privileged=true # set default project to be nested-lxd project juju model-default project=nested-lxd + - name: Show juju information + run: | + juju version + juju controllers - name: Run tests with `${{ inputs.command }}` working-directory: ${{ inputs.working-directory }} run: ${{ inputs.command }} From 4ec770127d2345aab0952bed3cbbeca0ffdb434d Mon Sep 17 00:00:00 2001 From: jneo8 Date: Wed, 25 Oct 2023 11:03:43 +0800 Subject: [PATCH 2/2] ci: Hide controller information, show only version --- .github/workflows/func.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/func.yaml b/.github/workflows/func.yaml index 2032743..e51c030 100644 --- a/.github/workflows/func.yaml +++ b/.github/workflows/func.yaml @@ -91,7 +91,7 @@ jobs: - name: Show juju information run: | juju version - juju controllers + juju controllers | grep Version -A 1 | awk '{print $9}' - name: Run tests with `${{ inputs.command }}` working-directory: ${{ inputs.working-directory }} run: ${{ inputs.command }}