Skip to content

Commit

Permalink
Temporarily disable collector (#1599)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebrandon1 authored Nov 9, 2023
1 parent b5182f4 commit 1170a94
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/pre-main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pkg/configuration/configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
}

0 comments on commit 1170a94

Please sign in to comment.