Skip to content

Commit

Permalink
Test skipping reporting in 9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mrodm committed Sep 18, 2024
1 parent 9954b20 commit 441f7e8
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 69 deletions.
131 changes: 64 additions & 67 deletions .buildkite/pipeline.schedule-daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,49 +7,49 @@ env:

# The pipeline is triggered by the scheduler every day
steps:
- label: ":white_check_mark: Check go sources"
key: "check"
command: ".buildkite/scripts/check_sources.sh"
agents:
image: "${LINUX_AGENT_IMAGE}"
cpu: "8"
memory: "4G"
# - label: ":white_check_mark: Check go sources"
# key: "check"
# command: ".buildkite/scripts/check_sources.sh"
# agents:
# image: "${LINUX_AGENT_IMAGE}"
# cpu: "8"
# memory: "4G"

- label: "Check integrations local stacks - Stack Version v7.17"
trigger: "integrations"
build:
env:
SERVERLESS: "false"
FORCE_CHECK_ALL: "true"
STACK_VERSION: 7.17.25-SNAPSHOT
depends_on:
- step: "check"
allow_failure: false
# - label: "Check integrations local stacks - Stack Version v7.17"
# trigger: "integrations"
# build:
# env:
# SERVERLESS: "false"
# FORCE_CHECK_ALL: "true"
# STACK_VERSION: 7.17.25-SNAPSHOT
# depends_on:
# - step: "check"
# allow_failure: false

- label: "Check integrations local stacks - Stack Version v8.16"
trigger: "integrations"
build:
env:
SERVERLESS: "false"
FORCE_CHECK_ALL: "true"
STACK_VERSION: 8.16.0-SNAPSHOT
PUBLISH_COVERAGE_REPORTS: "true"
depends_on:
- step: "check"
allow_failure: false
# - label: "Check integrations local stacks - Stack Version v8.16"
# trigger: "integrations"
# build:
# env:
# SERVERLESS: "false"
# FORCE_CHECK_ALL: "true"
# STACK_VERSION: 8.16.0-SNAPSHOT
# PUBLISH_COVERAGE_REPORTS: "true"
# depends_on:
# - step: "check"
# allow_failure: false

- label: "Check integrations local stacks - Stack Version v8.16 - LogsDB"
trigger: "integrations"
build:
env:
SERVERLESS: "false"
FORCE_CHECK_ALL: "true"
STACK_VERSION: 8.16.0-SNAPSHOT
STACK_LOGSDB_ENABLED: "true"
PUBLISH_COVERAGE_REPORTS: "false"
depends_on:
- step: "check"
allow_failure: false
# - label: "Check integrations local stacks - Stack Version v8.16 - LogsDB"
# trigger: "integrations"
# build:
# env:
# SERVERLESS: "false"
# FORCE_CHECK_ALL: "true"
# STACK_VERSION: 8.16.0-SNAPSHOT
# STACK_LOGSDB_ENABLED: "true"
# PUBLISH_COVERAGE_REPORTS: "false"
# depends_on:
# - step: "check"
# allow_failure: false

- label: "Check integrations local stacks - Stack Version v9.0"
trigger: "integrations"
Expand All @@ -59,33 +59,30 @@ steps:
FORCE_CHECK_ALL: "true"
STACK_VERSION: 9.0.0-SNAPSHOT
PUBLISH_COVERAGE_REPORTS: "false"
depends_on:
- step: "check"
allow_failure: false

- label: "Check integrations in serverless - project: Observability"
key: "trigger-integrations-serverless-obs"
trigger: "integrations-serverless"
build:
env:
SERVERLESS_PROJECT: observability
depends_on:
- step: "check"
allow_failure: false
# - label: "Check integrations in serverless - project: Observability"
# key: "trigger-integrations-serverless-obs"
# trigger: "integrations-serverless"
# build:
# env:
# SERVERLESS_PROJECT: observability
# depends_on:
# - step: "check"
# allow_failure: false

- label: "Check integrations in serverless - project: Security"
key: "trigger-integrations-serverless-security"
trigger: "integrations-serverless"
build:
env:
SERVERLESS_PROJECT: security
depends_on:
- step: "check"
allow_failure: false
# - label: "Check integrations in serverless - project: Security"
# key: "trigger-integrations-serverless-security"
# trigger: "integrations-serverless"
# build:
# env:
# SERVERLESS_PROJECT: security
# depends_on:
# - step: "check"
# allow_failure: false

- label: ":package: Publish missing packages"
key: "trigger-integrations-publish"
trigger: "integrations-publish"
depends_on:
- step: "check"
allow_failure: false
# - label: ":package: Publish missing packages"
# key: "trigger-integrations-publish"
# trigger: "integrations-publish"
# depends_on:
# - step: "check"
# allow_failure: false
2 changes: 1 addition & 1 deletion .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,5 +103,5 @@ steps:
soft_fail: true
# run this step when if it is triggered by the daily job
# skipped for now notification for tests related to STACK_VERSION: 9
if: >
if: |
build.source == "trigger_job" && build.env('BUILDKITE_TRIGGERED_FROM_BUILD_PIPELINE_SLUG') == "integrations-schedule-daily" && build.env('STACK_VERSION') !~ /^9/
2 changes: 1 addition & 1 deletion .buildkite/scripts/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,7 @@ teardown_test_package() {
}

list_all_directories() {
find . -maxdepth 1 -mindepth 1 -type d | xargs -I {} basename {} | sort
find . -maxdepth 1 -mindepth 1 -type d | xargs -I {} basename {} | sort |grep elastic_package_registry
}

check_package() {
Expand Down

0 comments on commit 441f7e8

Please sign in to comment.