Skip to content

Commit

Permalink
Test variable interpolation
Browse files Browse the repository at this point in the history
  • Loading branch information
mrodm committed Apr 26, 2024
1 parent 4ed8c57 commit 9343fcc
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 34 deletions.
70 changes: 36 additions & 34 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,46 +23,48 @@ steps:
- label: ":white_check_mark: Check go sources"
key: "check"
command: ".buildkite/scripts/check_sources.sh"
env:
FOO: "${FOO:-value}"
agents:
image: "${LINUX_AGENT_IMAGE}"
cpu: "8"
memory: "4G"

- label: "Trigger integrations"
key: "test-integrations"
command: ".buildkite/scripts/trigger_integrations_in_parallel.sh"
env:
UPLOAD_SAFE_LOGS: 1
depends_on:
- step: "check"
allow_failure: false
# - label: "Trigger integrations"
# key: "test-integrations"
# command: ".buildkite/scripts/trigger_integrations_in_parallel.sh"
# env:
# UPLOAD_SAFE_LOGS: 1
# depends_on:
# - step: "check"
# allow_failure: false

- wait: ~
continue_on_failure: true
# - wait: ~
# continue_on_failure: true

- label: "Publish benchmarks"
key: publish-benchmarks
command: ".buildkite/scripts/process_benchmarks.sh"
env:
BENCHMARK_THRESHOLD: 15
agents:
image: "${LINUX_AGENT_IMAGE}"
cpu: "8"
memory: "4G"
# - label: "Publish benchmarks"
# key: publish-benchmarks
# command: ".buildkite/scripts/process_benchmarks.sh"
# env:
# BENCHMARK_THRESHOLD: 15
# agents:
# image: "${LINUX_AGENT_IMAGE}"
# cpu: "8"
# memory: "4G"

- label: ":sonarqube: Continuous Code Inspection"
env:
VAULT_SONAR_TOKEN_PATH: "kv/ci-shared/platform-ingest/elastic/integrations/sonar-analyze-token"
agents:
image: "docker.elastic.co/cloud-ci/sonarqube/buildkite-scanner:latest"
command: ".buildkite/scripts/run_sonar_scanner.sh"
artifact_paths:
- build/test-coverage/coverage_merged.xml
# - label: ":sonarqube: Continuous Code Inspection"
# env:
# VAULT_SONAR_TOKEN_PATH: "kv/ci-shared/platform-ingest/elastic/integrations/sonar-analyze-token"
# agents:
# image: "docker.elastic.co/cloud-ci/sonarqube/buildkite-scanner:latest"
# command: ".buildkite/scripts/run_sonar_scanner.sh"
# artifact_paths:
# - build/test-coverage/coverage_merged.xml

- label: ":junit: Junit annotate"
plugins:
- junit-annotate#v2.4.1:
artifacts: "build/test-results/*.xml"
failed-download-exit-code: 0 # Not fail the build in case there are no XML files
agents:
provider: "gcp" # junit plugin requires docker
# - label: ":junit: Junit annotate"
# plugins:
# - junit-annotate#v2.4.1:
# artifacts: "build/test-results/*.xml"
# failed-download-exit-code: 0 # Not fail the build in case there are no XML files
# agents:
# provider: "gcp" # junit plugin requires docker
2 changes: 2 additions & 0 deletions .buildkite/scripts/check_sources.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ set -euo pipefail
add_bin_path
with_mage

echo -- "Show value ${FOO}"

mage -debug check

check_git_diff

0 comments on commit 9343fcc

Please sign in to comment.