diff --git a/ci/baras/run-baras.sh b/ci/baras/run-baras.sh index 07a85205..b8ac2bd3 100755 --- a/ci/baras/run-baras.sh +++ b/ci/baras/run-baras.sh @@ -36,4 +36,5 @@ export CF_PLUGIN_HOME=$HOME --flake-attempts="${FLAKE_ATTEMPTS}" \ -nodes="${NODES}" \ -timeout=2h \ + --label-filter="${LABEL_FILTER}" \ . diff --git a/ci/baras/run-baras.yml b/ci/baras/run-baras.yml index ae2a358e..aeea2385 100644 --- a/ci/baras/run-baras.yml +++ b/ci/baras/run-baras.yml @@ -20,6 +20,10 @@ params: # - Optional # - Path to the BARAs integration configuration file. # - The path is relative to the `integration-config` input. + LABEL_FILTER: ~ + # - Optional + # - Can be used to specify a Ginkgo label filter query (e.g. "!v2_api" to exclude tests with that label) + # - The filter is empty by default so that Ginkgo includes all tests. CONFIG_FILE_PATH: integration_config.json # Optional # This is the Google Cloud project name. diff --git a/ci/pipeline.yml b/ci/pipeline.yml index 53322231..a34fec6d 100644 --- a/ci/pipeline.yml +++ b/ci/pipeline.yml @@ -1740,6 +1740,7 @@ jobs: NODES: 6 FLAKE_ATTEMPTS: 2 CONFIG_FILE_PATH: gyro-exp/baras_integration_config.json + LABEL_FILTER: "!v2_api" - task: sync-integration-tests attempts: 3 file: sync-integration-tests/concourse/task_with_credhub.yml