mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
parent
07a0d97710
commit
abc351f552
5 changed files with 10 additions and 7 deletions
|
@ -20,7 +20,7 @@ spec:
|
|||
spec:
|
||||
env:
|
||||
SLACK_NOTIFICATIONS_CHANNEL: '#kibana-operations-alerts'
|
||||
GITHUB_BUILD_COMMIT_STATUS_ENABLED: 'true'
|
||||
ELASTIC_GITHUB_BUILD_COMMIT_STATUS_ENABLED: 'true'
|
||||
GITHUB_COMMIT_STATUS_CONTEXT: buildkite/on-merge
|
||||
REPORT_FAILED_TESTS_TO_GITHUB: 'true'
|
||||
ELASTIC_SLACK_NOTIFICATIONS_ENABLED: 'true'
|
||||
|
|
|
@ -19,10 +19,10 @@ spec:
|
|||
description: Runs manually for pull requests
|
||||
spec:
|
||||
env:
|
||||
PR_COMMENTS_ENABLED: 'true'
|
||||
GITHUB_BUILD_COMMIT_STATUS_ENABLED: 'true'
|
||||
ELASTIC_PR_COMMENTS_ENABLED: 'true'
|
||||
ELASTIC_GITHUB_BUILD_COMMIT_STATUS_ENABLED: 'true'
|
||||
ELASTIC_GITHUB_STEP_COMMIT_STATUS_ENABLED: 'true'
|
||||
GITHUB_BUILD_COMMIT_STATUS_CONTEXT: kibana-ci
|
||||
GITHUB_STEP_COMMIT_STATUS_ENABLED: 'true'
|
||||
allow_rebuilds: true
|
||||
branch_configuration: ''
|
||||
cancel_intermediate_builds: true
|
||||
|
|
|
@ -171,7 +171,10 @@ export const annotateTestFailures = async () => {
|
|||
|
||||
buildkite.setAnnotation('test_failures', 'error', getAnnotation(failures, failureHtmlArtifacts));
|
||||
|
||||
if (process.env.PR_COMMENTS_ENABLED === 'true') {
|
||||
if (
|
||||
process.env.PR_COMMENTS_ENABLED === 'true' ||
|
||||
process.env.ELASTIC_PR_COMMENTS_ENABLED === 'true'
|
||||
) {
|
||||
buildkite.setMetadata(
|
||||
'pr_comment:test_failures:body',
|
||||
getPrComment(failures, failureHtmlArtifacts)
|
||||
|
|
|
@ -5,7 +5,7 @@ set -euo pipefail
|
|||
BUILD_SUCCESSFUL=$(ts-node "$(dirname "${0}")/build_status.ts")
|
||||
export BUILD_SUCCESSFUL
|
||||
|
||||
if [[ "${GITHUB_BUILD_COMMIT_STATUS_ENABLED:-}" != "true" ]]; then
|
||||
if [[ "${GITHUB_BUILD_COMMIT_STATUS_ENABLED:-}" != "true" ]] && [[ "${ELASTIC_GITHUB_BUILD_COMMIT_STATUS_ENABLED:-}" != "true" ]]; then
|
||||
"$(dirname "${0}")/commit_status_complete.sh"
|
||||
fi
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ set -euo pipefail
|
|||
|
||||
source .buildkite/scripts/common/util.sh
|
||||
|
||||
if [[ "${GITHUB_BUILD_COMMIT_STATUS_ENABLED:-}" != "true" ]]; then
|
||||
if [[ "${GITHUB_BUILD_COMMIT_STATUS_ENABLED:-}" != "true" ]] && [[ "${ELASTIC_GITHUB_BUILD_COMMIT_STATUS_ENABLED:-}" != "true" ]]; then
|
||||
"$(dirname "${0}")/commit_status_start.sh"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue