Skip to content

Commit

Permalink
Added DEV flag to snapshot. prepare-release-manager.sh staging param (#…
Browse files Browse the repository at this point in the history
…39217)

Added DEV flag to snapshot builds. Specified the workflow for prepare-release-manager.sh

Relates: elastic/ingest-dev#3095
  • Loading branch information
pazone committed Apr 26, 2024
1 parent 191d8b4 commit 4597106
Showing 1 changed file with 45 additions and 2 deletions.
47 changes: 45 additions & 2 deletions .buildkite/packaging.pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ steps:
- make beats-dashboards
env:
SNAPSHOT: true
DEV: true
artifact_paths:
- build/distributions/**/*

Expand All @@ -42,6 +43,9 @@ steps:
commands:
- make build/distributions/dependencies.csv
- make beats-dashboards
env:
SNAPSHOT: false
DEV: false
artifact_paths:
- build/distributions/**/*

Expand All @@ -53,6 +57,7 @@ steps:
env:
PLATFORMS: "${PLATFORMS}"
SNAPSHOT: true
DEV: true
command: ".buildkite/scripts/packaging/package-dra.sh {{matrix}}"
agents:
provider: gcp
Expand Down Expand Up @@ -82,6 +87,7 @@ steps:
PLATFORMS: "${PLATFORMS_ARM}"
PACKAGES: "docker"
SNAPSHOT: true
DEV: true
command: ".buildkite/scripts/packaging/package-dra.sh {{matrix}}"
agents:
provider: "aws"
Expand All @@ -102,7 +108,25 @@ steps:
- x-pack/metricbeat
- x-pack/packetbeat

<<<<<<< HEAD
- group: Packaging staging
=======
## Agentbeat needs more CPUs because it builds many other beats
- label: "SNAPSHOT: x-pack/agentbeat"
env:
PLATFORMS: "${PLATFORMS}"
SNAPSHOT: true
DEV: true
command: ".buildkite/scripts/packaging/package-dra.sh x-pack/agentbeat"
agents:
provider: gcp
image: "${IMAGE_UBUNTU_X86_64}"
machineType: "c2-standard-16"
artifact_paths:
- build/distributions/**/*

- group: Packaging Staging
>>>>>>> 5687162622 (Added DEV flag to snapshot. prepare-release-manager.sh staging param (#39217))

key: packaging-staging
## Only for release
Expand All @@ -112,6 +136,7 @@ steps:
env:
PLATFORMS: "${PLATFORMS}"
SNAPSHOT: false
DEV: false
command: ".buildkite/scripts/packaging/package-dra.sh {{matrix}}"
agents:
provider: gcp
Expand Down Expand Up @@ -141,6 +166,7 @@ steps:
PLATFORMS: "${PLATFORMS_ARM}"
PACKAGES: "docker"
SNAPSHOT: false
DEV: false
command: ".buildkite/scripts/packaging/package-dra.sh {{matrix}}"
agents:
provider: "aws"
Expand All @@ -161,6 +187,23 @@ steps:
- x-pack/metricbeat
- x-pack/packetbeat

<<<<<<< HEAD
=======
## Agentbeat needs more CPUs because it builds many other beats
- label: "STAGING: x-pack/agentbeat"
env:
PLATFORMS: "${PLATFORMS}"
SNAPSHOT: false
DEV: false
command: ".buildkite/scripts/packaging/package-dra.sh x-pack/agentbeat"
agents:
provider: gcp
image: "${IMAGE_UBUNTU_X86_64}"
machineType: "c2-standard-16"
artifact_paths:
- build/distributions/**/*

>>>>>>> 5687162622 (Added DEV flag to snapshot. prepare-release-manager.sh staging param (#39217))
- group: DRA publish
key: dra
steps:
Expand All @@ -175,7 +218,7 @@ steps:
- dashboards-snapshot
command: |
buildkite-agent artifact download "build/**/*" .
.buildkite/scripts/packaging/prepare-release-manager.sh
.buildkite/scripts/packaging/prepare-release-manager.sh snapshot
.buildkite/scripts/dra.sh
agents:
provider: gcp
Expand All @@ -193,7 +236,7 @@ steps:
- dashboards-staging
command: |
buildkite-agent artifact download "build/**" .
.buildkite/scripts/packaging/prepare-release-manager.sh
.buildkite/scripts/packaging/prepare-release-manager.sh staging
.buildkite/scripts/dra.sh
agents:
provider: gcp
Expand Down

0 comments on commit 4597106

Please sign in to comment.