forked from elastic/logstash
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ci] Backport Buildkite PR pipeline to 8.11
This is a backport of the initial Pull Request pipeline for Buildkite. While currently we haven't migrated all PR jobs from Jenkins, this is needed so PRs against non `main` branches don't fail this step (also giving us the possibility to test functionality against non `main` branches). Relates: - elastic#15402 - elastic#15413 - elastic#15415 - elastic#15421 - elastic/ingest-dev#1721
- Loading branch information
Showing
2 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# yaml-language-server: $schema=https://raw.githubusercontent.com/buildkite/pipeline-schema/main/schema.json | ||
|
||
steps: | ||
- label: ":passport_control: License check" | ||
key: "license-check" | ||
agents: | ||
image: "docker.elastic.co/ci-agent-images/platform-ingest/buildkite-agent-logstash-ci" | ||
cpu: "4" | ||
memory: "6Gi" | ||
ephemeralStorage: "100Gi" | ||
command: | | ||
set -euo pipefail | ||
source .buildkite/scripts/common/container-agent.sh | ||
export JRUBY_OPTS="-J-Xmx1g" | ||
export GRADLE_OPTS="-Xmx2g -Dorg.gradle.daemon=false -Dorg.gradle.logging.level=info" | ||
ci/license_check.sh -m 4G | ||
- label: ":rspec: Ruby unit tests" | ||
key: "ruby-unit-tests" | ||
agents: | ||
image: "docker.elastic.co/ci-agent-images/platform-ingest/buildkite-agent-logstash-ci" | ||
cpu: "4" | ||
memory: "8Gi" | ||
ephemeralStorage: "100Gi" | ||
command: | | ||
set -euo pipefail | ||
source .buildkite/scripts/common/container-agent.sh | ||
ci/unit_tests.sh ruby |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/usr/bin/env bash | ||
|
||
# ******************************************************** | ||
# This file contains prerequisite bootstrap invocations | ||
# required for Logstash CI when using containerized agents | ||
# ******************************************************** | ||
|
||
set -euo pipefail | ||
|
||
export PATH="/usr/local/rbenv/bin:$PATH" | ||
eval "$(rbenv init -)" |