From 6173679a67e40d4691246c6ccfcdc9c65cfbc864 Mon Sep 17 00:00:00 2001 From: Ronen Hilewicz Date: Tue, 26 Nov 2024 17:24:41 -0500 Subject: [PATCH 1/2] [DEBUG] switch test order --- .github/workflows/ci.yaml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index e65e36ab..cb911730 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -106,8 +106,8 @@ jobs: gotestsum --format short-verbose -- -count=1 -timeout 120s -parallel=1 -v -coverprofile=cover.out -coverpkg=github.com/aserto-dev/topaz/pkg/app/tests/manifest/... github.com/aserto-dev/topaz/pkg/app/tests/manifest/... gotestsum --format short-verbose -- -count=1 -timeout 120s -parallel=1 -v -coverprofile=cover.out -coverpkg=github.com/aserto-dev/topaz/pkg/app/tests/policy/... github.com/aserto-dev/topaz/pkg/app/tests/policy/... gotestsum --format short-verbose -- -count=1 -timeout 120s -parallel=1 -v -coverprofile=cover.out -coverpkg=github.com/aserto-dev/topaz/pkg/app/tests/query/... github.com/aserto-dev/topaz/pkg/app/tests/query/... - gotestsum --format short-verbose -- -count=1 -timeout 120s -parallel=1 -v -coverprofile=cover.out -coverpkg=github.com/aserto-dev/topaz/pkg/app/tests/template/... github.com/aserto-dev/topaz/pkg/app/tests/template/... gotestsum --format short-verbose -- -count=1 -timeout 120s -parallel=1 -v -coverprofile=cover.out -coverpkg=github.com/aserto-dev/topaz/pkg/app/tests/template-no-tls/... github.com/aserto-dev/topaz/pkg/app/tests/template-no-tls/... + gotestsum --format short-verbose -- -count=1 -timeout 120s -parallel=1 -v -coverprofile=cover.out -coverpkg=github.com/aserto-dev/topaz/pkg/app/tests/template/... github.com/aserto-dev/topaz/pkg/app/tests/template/... - name: Upload code coverage @@ -255,11 +255,11 @@ jobs: distribution: goreleaser version: ${{ env.GO_RELEASER_VERSION }} args: release --clean - - + - name: Archive deployment examples run: | cd docs/deployments/sidecar-deployment && zip topaz_deployment_examples.zip *.yaml - - + - name: Upload deployment examples uses: svenstaro/upload-release-action@v2 with: @@ -273,12 +273,12 @@ jobs: needs: release runs-on: windows-latest steps: - - + - name: Checkout uses: actions/checkout@v4 with: fetch-depth: 0 - - + - name: Read Configuration uses: hashicorp/vault-action@v3 id: vault @@ -287,7 +287,7 @@ jobs: token: ${{ secrets.VAULT_TOKEN }} secrets: | kv/data/github "ROOT_TOKEN" | ROOT_TOKEN; - - + - name: Download exe id: download_exe shell: bash @@ -297,16 +297,16 @@ jobs: unzip -o *.zip && rm -v *.zip env: GITHUB_TOKEN: ${{ steps.vault.outputs.ROOT_TOKEN }} - - + - name: Install go-msi run: choco install -y "go-msi" - - + - name: Prepare PATH shell: bash run: | echo "$WIX\\bin" >> $GITHUB_PATH echo "C:\\Program Files\\go-msi" >> $GITHUB_PATH - - + - name: Build MSI id: buildmsi shell: bash @@ -317,7 +317,7 @@ jobs: msi="$(basename "$ZIP_FILE" ".zip").msi" printf "msi=${msi}" >> $GITHUB_OUTPUT go-msi make --arch amd64 --msi "$PWD/$msi" --out "$PWD/build" --version "${GITHUB_REF#refs/tags/}" - - + - name: Upload MSI shell: bash run: | From 670a8c8f45241391afe1ec0c6f1d456a7399c2fd Mon Sep 17 00:00:00 2001 From: Ronen Hilewicz Date: Tue, 26 Nov 2024 17:34:16 -0500 Subject: [PATCH 2/2] Trace logging in no-tls tests --- assets/config/config-no-tls.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/config/config-no-tls.yaml b/assets/config/config-no-tls.yaml index 8818dd39..1e6c2097 100644 --- a/assets/config/config-no-tls.yaml +++ b/assets/config/config-no-tls.yaml @@ -6,7 +6,7 @@ version: 2 # logger settings. logging: prod: true - log_level: info + log_level: trace grpc_log_level: info # edge directory configuration.