Skip to content

Commit

Permalink
Enable running tests more generally
Browse files Browse the repository at this point in the history
  • Loading branch information
nkammah committed Feb 13, 2024
1 parent 837a7e1 commit 9d1065c
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
20 changes: 20 additions & 0 deletions .buildkite/pull-requests.org-wide.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,26 @@
"repositories": [
"elastic/docs"
]
},
{
"enabled": true,
"pipeline_slug": "docs-test",
"allow_org_users": true,
"allowed_repo_permissions": [
"admin",
"write"
],
"allowed_list": ["github-actions[bot]", "renovate[bot]", "mergify[bot]"],
"build_on_commit": true,
"build_on_comment": true,
"trigger_comment_regex": "run docs-test",
"always_trigger_comment_regex": "run docs-test",
"skip_ci_labels": [],
"skip_ci_on_only_changed": [],
"always_require_ci_on_changed": [],
"repositories": [
"elastic/docs"
]
}
]
}
3 changes: 1 addition & 2 deletions .buildkite/test_pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
steps:
- label: "Execute tests"
command: ".buildkite/scripts/test.sh"
if: build.branch == "master" || build.env("BUILDKITE_PULL_REQUEST") != "false"
agents:
provider: "gcp"
image: family/docs-ubuntu-2204
notify:
- email: "[email protected]"
if: build.state == "failed"
if: build.state == "failed" && build.branch == "master"

0 comments on commit 9d1065c

Please sign in to comment.