mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
[ci] Fix ci:build-serverless-image (#183394)
artifacts_container_image.yml is attempting to select an agent that doesn't exist on Kibana CI's infrastructure
This commit is contained in:
parent
71f856b527
commit
0982835800
2 changed files with 14 additions and 4 deletions
11
.buildkite/pipelines/pull_request/build_project.yml
Normal file
11
.buildkite/pipelines/pull_request/build_project.yml
Normal file
|
@ -0,0 +1,11 @@
|
|||
steps:
|
||||
- command: .buildkite/scripts/steps/artifacts/docker_image.sh
|
||||
label: 'Build Project Image'
|
||||
agents:
|
||||
queue: n2-16-spot
|
||||
timeout_in_minutes: 60
|
||||
soft_fail: true
|
||||
retry:
|
||||
automatic:
|
||||
- exit_status: '-1'
|
||||
limit: 3
|
|
@ -151,6 +151,9 @@ const uploadPipeline = (pipelineContent: string | object) => {
|
|||
pipeline.push(getPipeline('.buildkite/pipelines/pull_request/fips.yml'));
|
||||
}
|
||||
|
||||
if (GITHUB_PR_LABELS.includes('ci:build-serverless-image')) {
|
||||
pipeline.push(getPipeline('.buildkite/pipelines/pull_request/build_project.yml'));
|
||||
}
|
||||
if (
|
||||
GITHUB_PR_LABELS.includes('ci:project-deploy-elasticsearch') ||
|
||||
GITHUB_PR_LABELS.includes('ci:project-deploy-observability') ||
|
||||
|
@ -159,10 +162,6 @@ const uploadPipeline = (pipelineContent: string | object) => {
|
|||
pipeline.push(getPipeline('.buildkite/pipelines/pull_request/deploy_project.yml'));
|
||||
}
|
||||
|
||||
if (GITHUB_PR_LABELS.includes('ci:build-serverless-image')) {
|
||||
pipeline.push(getPipeline('.buildkite/pipelines/artifacts_container_image.yml'));
|
||||
}
|
||||
|
||||
if (
|
||||
(await doAnyChangesMatch([/.*stor(ies|y).*/])) ||
|
||||
GITHUB_PR_LABELS.includes('ci:build-storybooks')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue