From 1170a94902e14c7d1478ac9927380a7371e29e5b Mon Sep 17 00:00:00 2001 From: Brandon Palm Date: Thu, 9 Nov 2023 16:18:55 -0600 Subject: [PATCH] Temporarily disable collector (#1599) --- .github/workflows/pre-main.yaml | 10 +++++----- pkg/configuration/configuration.go | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pre-main.yaml b/.github/workflows/pre-main.yaml index 0cf1831a0..5f44ec8de 100644 --- a/.github/workflows/pre-main.yaml +++ b/.github/workflows/pre-main.yaml @@ -386,12 +386,12 @@ jobs: run: TNF_LOG_LEVEL=${TNF_SMOKE_TESTS_LOG_LEVEL} ./run-tnf-container.sh ${{ env.TESTING_CMD_PARAMS }} - name: 'Test: Run Smoke Tests in a TNF container' - run: TNF_LOG_LEVEL=${TNF_SMOKE_TESTS_LOG_LEVEL} TNF_ENABLE_DATA_COLLECTION=true ./run-tnf-container.sh ${{ env.TESTING_CMD_PARAMS }} -l "${SMOKE_TESTS_GINKGO_LABELS_FILTER}" + run: TNF_LOG_LEVEL=${TNF_SMOKE_TESTS_LOG_LEVEL} TNF_ENABLE_DATA_COLLECTION=false ./run-tnf-container.sh ${{ env.TESTING_CMD_PARAMS }} -l "${SMOKE_TESTS_GINKGO_LABELS_FILTER}" - - name: Run sanity check on collector - uses: ./collector/.github/actions/run-sanity-check - with: - working_directory: collector + # - name: Run sanity check on collector + # uses: ./collector/.github/actions/run-sanity-check + # with: + # working_directory: collector - name: Upload container test results as an artifact uses: actions/upload-artifact@v3 diff --git a/pkg/configuration/configuration.go b/pkg/configuration/configuration.go index d70396020..aaec22a47 100644 --- a/pkg/configuration/configuration.go +++ b/pkg/configuration/configuration.go @@ -103,5 +103,5 @@ type TestParameters struct { PfltDockerconfig string `split_words:"true" envconfig:"PFLT_DOCKERCONFIG"` IncludeWebFilesInOutputFolder bool `split_words:"true" default:"false"` OmitArtifactsZipFile bool `split_words:"true" default:"false"` - EnableDataCollection bool `split_words:"true" default:"false"` + EnableDataCollection bool `split_words:"true" envconfig:"ENABLE_DATA_COLLECTION" default:"false"` }