-
Notifications
You must be signed in to change notification settings - Fork 526
/
Copy pathpackage.yml
61 lines (57 loc) · 1.5 KB
/
package.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
notify:
- slack: "#apm-server"
if: build.state == "failed"
- slack: "#observablt-bots"
if: "build.state != 'passed'"
env:
IMAGE_UBUNTU_X86_64: "family/core-ubuntu-2404"
IMAGE_UBUNTU_ARM_64: "core-ubuntu-2404-aarch64"
GENERATE_WOLFI_IMAGES: true
steps:
- group: "Package"
key: "package"
steps:
- label: "Package x86_64"
key: "package-x86-64"
command: ".buildkite/scripts/package.sh {{matrix}}"
agents:
provider: "gcp"
image: "${IMAGE_UBUNTU_X86_64}"
machineType: "c2-standard-16"
matrix:
- "snapshot"
- "staging"
artifact_paths:
- "build/distributions/**/*"
- "build/dependencies*.csv"
retry:
automatic:
- limit: 1
- label: "Package aarch64"
key: "package-arm"
command: ".buildkite/scripts/package.sh {{matrix}}"
agents:
provider: "aws"
imagePrefix: "${IMAGE_UBUNTU_ARM_64}"
instanceType: "t4g.2xlarge"
matrix:
- "snapshot"
- "staging"
artifact_paths:
- "build/distributions/**/*"
retry:
automatic:
- limit: 1
- label: "DRA"
key: "dra"
command: ".buildkite/scripts/dra.sh {{matrix}}"
agents:
provider: "gcp"
image: "${IMAGE_UBUNTU_X86_64}"
machineType: "c2-standard-16"
matrix:
- "snapshot"
- "staging"
depends_on:
- step: "package"
allow_failure: false