Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Ginkgo label filter parameter to run-baras job #117

Merged
merged 1 commit into from
Nov 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ci/baras/run-baras.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,5 @@ export CF_PLUGIN_HOME=$HOME
--flake-attempts="${FLAKE_ATTEMPTS}" \
-nodes="${NODES}" \
-timeout=2h \
--label-filter="${LABEL_FILTER}" \
.
4 changes: 4 additions & 0 deletions ci/baras/run-baras.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 1 addition & 0 deletions ci/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1740,6 +1740,7 @@ jobs:
NODES: 6
FLAKE_ATTEMPTS: 2
CONFIG_FILE_PATH: gyro-exp/baras_integration_config.json
LABEL_FILTER: "!v2_api"
Copy link
Contributor Author

@jochenehret jochenehret Nov 7, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The exclamation mark could provoke an "event not found" error in the shell. In that case, we can turn of history substitution with +H.

- task: sync-integration-tests
attempts: 3
file: sync-integration-tests/concourse/task_with_credhub.yml
Expand Down