-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathbuildkite.yaml
More file actions
62 lines (59 loc) · 1.77 KB
/
buildkite.yaml
File metadata and controls
62 lines (59 loc) · 1.77 KB
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
62
agents:
queue: hosted
steps:
- label: ":rspec: Tests :ruby: {{matrix}}"
command:
- "gem install bundler:2.3.25"
- "bundle"
- "bundle exec rake"
- "bundle exec cucumber"
plugins:
- aws-assume-role-with-web-identity#v1.2.0:
role-arn: "${OIDC_ASSUME_ROLE_ARN:-arn:aws:iam::445615400570:role/pipeline-buildkite-test-collector-ruby-build}"
session-tags:
- organization_slug
- organization_id
- pipeline_slug
- build_branch
- ecr#v2.9.0:
login: true
account_ids: "public.ecr.aws"
region: "us-east-1"
- docker#v3.7.0:
image: "public.ecr.aws/docker/library/ruby:{{matrix}}"
matrix:
- "latest"
- "3.4"
- "3.3"
- "3.2"
- "3.1"
- "3.0"
- "2.7"
- group: ":rspec: Legacy Ruby :ruby:"
steps:
- label: ":rspec: Tests :ruby: {{matrix}}"
command:
- "gem install bundler:2.3.25"
- "bundle"
- "bundle exec rake"
plugins:
- aws-assume-role-with-web-identity#v1.2.0:
role-arn: "${OIDC_ASSUME_ROLE_ARN:-arn:aws:iam::445615400570:role/pipeline-buildkite-test-collector-ruby-build}"
session-tags:
- organization_slug
- organization_id
- pipeline_slug
- build_branch
- ecr#v2.9.0:
login: true
account_ids: "public.ecr.aws"
region: "us-east-1"
- docker#v3.7.0:
# Images for older Ruby versions aren't available on AWS ECR
# so fall back to Docker Hub
image: "ruby:{{matrix}}"
matrix:
- "2.6"
- "2.5"
- "2.4"
- "2.3"