Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: buildkite/agent
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.71.0
Choose a base ref
...
head repository: buildkite/agent
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.72.0
Choose a head ref
Loading
2 changes: 1 addition & 1 deletion .buildkite/Dockerfile-compile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM public.ecr.aws/docker/library/golang:1.22.2@sha256:450e3822c7a135e1463cd83e51c8e2eb03b86a02113c89424e6f0f8344bb4168
FROM public.ecr.aws/docker/library/golang:1.22.2@sha256:d5302d40dc5fbbf38ec472d1848a9d2391a13f93293a6a5b0b87c99dc0eaa6ae
COPY build/ssh.conf /etc/ssh/ssh_config.d/

RUN go install github.com/google/go-licenses@latest
36 changes: 24 additions & 12 deletions .buildkite/pipeline.release-experimental.yml
Original file line number Diff line number Diff line change
@@ -5,14 +5,18 @@ steps:
command: ".buildkite/steps/publish-to-s3.sh"
env:
CODENAME: "experimental"
agents:
queue: "deploy"
plugins:
- aws-assume-role-with-web-identity:
role-arn: arn:aws:iam::032379705303:role/pipeline-buildkite-agent-release-edge
- ecr#v2.7.0:
login: true
account-ids: "032379705303"
- docker#v5.8.0:
image: "032379705303.dkr.ecr.us-east-1.amazonaws.com/deploytools:2022.07"
environment:
- "AWS_ACCESS_KEY_ID"
- "AWS_SECRET_ACCESS_KEY"
- "AWS_SESSION_TOKEN"
propagate-environment: true
mount-buildkite-agent: true

@@ -21,12 +25,16 @@ steps:
env:
CODENAME: "experimental"
RPM_S3_BUCKET: "yum.buildkite.com"
agents:
queue: "deploy"
plugins:
- aws-assume-role-with-web-identity:
role-arn: arn:aws:iam::032379705303:role/pipeline-buildkite-agent-release-edge
- docker#v5.8.0:
image: "buildkite/agent:3.55.0-ubuntu"
entrypoint: bash
environment:
- "AWS_ACCESS_KEY_ID"
- "AWS_SECRET_ACCESS_KEY"
- "AWS_SESSION_TOKEN"
propagate-environment: true
mount-buildkite-agent: true
volumes:
@@ -37,9 +45,9 @@ steps:
env:
REPOSITORY: "buildkite/agent-rpm-experimental"
DISTRO_VERSION: rpm_any/rpm_any
agents:
queue: "deploy"
plugins:
- aws-assume-role-with-web-identity:
role-arn: arn:aws:iam::032379705303:role/pipeline-buildkite-agent-release-edge
- docker#v5.8.0:
image: "public.ecr.aws/docker/library/ruby:3.0"
entrypoint: bash
@@ -52,9 +60,9 @@ steps:
env:
CODENAME: "experimental"
DEB_S3_BUCKET: "apt.buildkite.com/buildkite-agent"
agents:
queue: "deploy"
plugins:
- aws-assume-role-with-web-identity:
role-arn: arn:aws:iam::032379705303:role/pipeline-buildkite-agent-release-edge
- ecr#v2.7.0:
login: true
account-ids: "032379705303"
@@ -64,6 +72,10 @@ steps:
mount-buildkite-agent: true
tmpfs:
- "/root/.gnupg"
environment:
- "AWS_ACCESS_KEY_ID"
- "AWS_SECRET_ACCESS_KEY"
- "AWS_SESSION_TOKEN"
retry:
automatic:
- exit_status: 1
@@ -74,9 +86,9 @@ steps:
env:
REPOSITORY: "buildkite/agent-deb-experimental"
DISTRO_VERSION: any/any
agents:
queue: "deploy"
plugins:
- aws-assume-role-with-web-identity:
role-arn: arn:aws:iam::032379705303:role/pipeline-buildkite-agent-release-edge
- docker#v5.8.0:
image: "public.ecr.aws/docker/library/ruby:3.0"
entrypoint: bash
@@ -88,9 +100,9 @@ steps:
command: ".buildkite/steps/publish-docker-images.sh"
env:
CODENAME: "experimental"
agents:
queue: "deploy"
plugins:
- aws-assume-role-with-web-identity:
role-arn: arn:aws:iam::032379705303:role/pipeline-buildkite-agent-release-edge
- ecr#v2.7.0:
login: true
account-ids: "445615400570"
60 changes: 44 additions & 16 deletions .buildkite/pipeline.release-stable.yml
Original file line number Diff line number Diff line change
@@ -10,28 +10,36 @@ steps:
command: ".buildkite/steps/publish-to-s3.sh"
env:
CODENAME: "stable"
agents:
queue: "deploy"
plugins:
- aws-assume-role-with-web-identity:
role-arn: arn:aws:iam::032379705303:role/pipeline-buildkite-agent-release-stable
- ecr#v2.7.0:
login: true
account-ids: "032379705303"
- docker#v5.8.0:
image: "032379705303.dkr.ecr.us-east-1.amazonaws.com/deploytools:2022.07"
environment:
- "AWS_ACCESS_KEY_ID"
- "AWS_SECRET_ACCESS_KEY"
- "AWS_SESSION_TOKEN"
propagate-environment: true
mount-buildkite-agent: true

- name: ":octocat: :rocket: Create Github Release (if necessary)"
command: ".buildkite/steps/github-release.sh"
env:
CODENAME: "stable"
agents:
queue: "deploy"
plugins:
- aws-assume-role-with-web-identity:
role-arn: arn:aws:iam::032379705303:role/pipeline-buildkite-agent-release-stable
- ecr#v2.7.0:
login: true
account-ids: "032379705303"
- docker#v5.8.0:
environment:
- "AWS_ACCESS_KEY_ID"
- "AWS_SECRET_ACCESS_KEY"
- "AWS_SESSION_TOKEN"
image: "032379705303.dkr.ecr.us-east-1.amazonaws.com/deploytools:2022.07"
propagate-environment: true
mount-buildkite-agent: true
@@ -41,10 +49,14 @@ steps:
env:
CODENAME: "stable"
RPM_S3_BUCKET: "yum.buildkite.com"
agents:
queue: "deploy"
plugins:
- aws-assume-role-with-web-identity:
role-arn: arn:aws:iam::032379705303:role/pipeline-buildkite-agent-release-stable
- docker#v5.8.0:
environment:
- "AWS_ACCESS_KEY_ID"
- "AWS_SECRET_ACCESS_KEY"
- "AWS_SESSION_TOKEN"
image: "buildkite/agent:3.55.0-ubuntu"
entrypoint: bash
propagate-environment: true
@@ -61,10 +73,14 @@ steps:
env:
REPOSITORY: "buildkite/agent-rpm"
DISTRO_VERSION: rpm_any/rpm_any
agents:
queue: "deploy"
plugins:
- aws-assume-role-with-web-identity:
role-arn: arn:aws:iam::032379705303:role/pipeline-buildkite-agent-release-stable
- docker#v5.8.0:
environment:
- "AWS_ACCESS_KEY_ID"
- "AWS_SECRET_ACCESS_KEY"
- "AWS_SESSION_TOKEN"
image: "public.ecr.aws/docker/library/ruby:3.0"
entrypoint: bash
propagate-environment: true
@@ -76,13 +92,17 @@ steps:
env:
CODENAME: "stable"
DEB_S3_BUCKET: "apt.buildkite.com/buildkite-agent"
agents:
queue: "deploy"
plugins:
- aws-assume-role-with-web-identity:
role-arn: arn:aws:iam::032379705303:role/pipeline-buildkite-agent-release-stable
- ecr#v2.7.0:
login: true
account-ids: "032379705303"
- docker#v5.8.0:
environment:
- "AWS_ACCESS_KEY_ID"
- "AWS_SECRET_ACCESS_KEY"
- "AWS_SESSION_TOKEN"
image: "032379705303.dkr.ecr.us-east-1.amazonaws.com/deploytools:2022.07"
propagate-environment: true
mount-buildkite-agent: true
@@ -94,10 +114,14 @@ steps:
env:
REPOSITORY: "buildkite/agent-deb"
DISTRO_VERSION: any/any
agents:
queue: "deploy"
plugins:
- aws-assume-role-with-web-identity:
role-arn: arn:aws:iam::032379705303:role/pipeline-buildkite-agent-release-stable
- docker#v5.8.0:
environment:
- "AWS_ACCESS_KEY_ID"
- "AWS_SECRET_ACCESS_KEY"
- "AWS_SESSION_TOKEN"
image: "public.ecr.aws/docker/library/ruby:3.0"
entrypoint: bash
propagate-environment: true
@@ -108,9 +132,9 @@ steps:
command: ".buildkite/steps/publish-docker-images.sh"
env:
CODENAME: "stable"
agents:
queue: "deploy"
plugins:
- aws-assume-role-with-web-identity:
role-arn: arn:aws:iam::032379705303:role/pipeline-buildkite-agent-release-stable
- ecr#v2.7.0:
login: true
account-ids: "445615400570"
@@ -122,13 +146,17 @@ steps:
artifact_paths: "pkg/*.rb;pkg/*.json"
env:
CODENAME: "stable"
agents:
queue: "deploy"
plugins:
- aws-assume-role-with-web-identity:
role-arn: arn:aws:iam::032379705303:role/pipeline-buildkite-agent-release-stable
- ecr#v2.7.0:
login: true
account-ids: "032379705303"
- docker#v5.8.0:
environment:
- "AWS_ACCESS_KEY_ID"
- "AWS_SECRET_ACCESS_KEY"
- "AWS_SESSION_TOKEN"
image: "032379705303.dkr.ecr.us-east-1.amazonaws.com/deploytools:2022.07"
propagate-environment: true
mount-buildkite-agent: true
56 changes: 40 additions & 16 deletions .buildkite/pipeline.release-unstable.yml
Original file line number Diff line number Diff line change
@@ -10,13 +10,17 @@ steps:
command: ".buildkite/steps/publish-to-s3.sh"
env:
CODENAME: "unstable"
agents:
queue: "deploy"
plugins:
- aws-assume-role-with-web-identity:
role-arn: arn:aws:iam::032379705303:role/pipeline-buildkite-agent-release-beta
- ecr#v2.7.0:
login: true
account-ids: "032379705303"
- docker#v5.8.0:
environment:
- "AWS_ACCESS_KEY_ID"
- "AWS_SECRET_ACCESS_KEY"
- "AWS_SESSION_TOKEN"
image: "032379705303.dkr.ecr.us-east-1.amazonaws.com/deploytools:2022.07"
propagate-environment: true
mount-buildkite-agent: true
@@ -25,13 +29,17 @@ steps:
command: ".buildkite/steps/github-release.sh"
env:
CODENAME: "unstable"
agents:
queue: "deploy"
plugins:
- aws-assume-role-with-web-identity:
role-arn: arn:aws:iam::032379705303:role/pipeline-buildkite-agent-release-beta
- ecr#v2.7.0:
login: true
account-ids: "032379705303"
- docker#v5.8.0:
environment:
- "AWS_ACCESS_KEY_ID"
- "AWS_SECRET_ACCESS_KEY"
- "AWS_SESSION_TOKEN"
image: "032379705303.dkr.ecr.us-east-1.amazonaws.com/deploytools:2022.07"
propagate-environment: true
mount-buildkite-agent: true
@@ -41,10 +49,14 @@ steps:
env:
CODENAME: "unstable"
RPM_S3_BUCKET: "yum.buildkite.com"
agents:
queue: "deploy"
plugins:
- aws-assume-role-with-web-identity:
role-arn: arn:aws:iam::032379705303:role/pipeline-buildkite-agent-release-beta
- docker#v5.8.0:
environment:
- "AWS_ACCESS_KEY_ID"
- "AWS_SECRET_ACCESS_KEY"
- "AWS_SESSION_TOKEN"
image: "buildkite/agent:3.55.0-ubuntu"
entrypoint: bash
propagate-environment: true
@@ -61,10 +73,14 @@ steps:
env:
REPOSITORY: "buildkite/agent-rpm-unstable"
DISTRO_VERSION: rpm_any/rpm_any
agents:
queue: "deploy"
plugins:
- aws-assume-role-with-web-identity:
role-arn: arn:aws:iam::032379705303:role/pipeline-buildkite-agent-release-beta
- docker#v5.8.0:
environment:
- "AWS_ACCESS_KEY_ID"
- "AWS_SECRET_ACCESS_KEY"
- "AWS_SESSION_TOKEN"
image: "public.ecr.aws/docker/library/ruby:3.0"
entrypoint: bash
propagate-environment: true
@@ -76,13 +92,17 @@ steps:
env:
CODENAME: "unstable"
DEB_S3_BUCKET: "apt.buildkite.com/buildkite-agent"
agents:
queue: "deploy"
plugins:
- aws-assume-role-with-web-identity:
role-arn: arn:aws:iam::032379705303:role/pipeline-buildkite-agent-release-beta
- ecr#v2.7.0:
login: true
account-ids: "032379705303"
- docker#v5.8.0:
environment:
- "AWS_ACCESS_KEY_ID"
- "AWS_SECRET_ACCESS_KEY"
- "AWS_SESSION_TOKEN"
image: "032379705303.dkr.ecr.us-east-1.amazonaws.com/deploytools:2022.07"
propagate-environment: true
mount-buildkite-agent: true
@@ -94,9 +114,9 @@ steps:
env:
REPOSITORY: "buildkite/agent-deb-unstable"
DISTRO_VERSION: any/any
agents:
queue: "deploy"
plugins:
- aws-assume-role-with-web-identity:
role-arn: arn:aws:iam::032379705303:role/pipeline-buildkite-agent-release-beta
- docker#v5.8.0:
image: "public.ecr.aws/docker/library/ruby:3.0"
entrypoint: bash
@@ -108,9 +128,9 @@ steps:
command: ".buildkite/steps/publish-docker-images.sh"
env:
CODENAME: "unstable"
agents:
queue: "deploy"
plugins:
- aws-assume-role-with-web-identity:
role-arn: arn:aws:iam::032379705303:role/pipeline-buildkite-agent-release-beta
- ecr#v2.7.0:
login: true
account-ids: "445615400570"
@@ -122,13 +142,17 @@ steps:
artifact_paths: "pkg/*.rb;pkg/*.json"
env:
CODENAME: "unstable"
agents:
queue: "deploy"
plugins:
- aws-assume-role-with-web-identity:
role-arn: arn:aws:iam::032379705303:role/pipeline-buildkite-agent-release-beta
- ecr#v2.7.0:
login: true
account-ids: "032379705303"
- docker#v5.8.0:
environment:
- "AWS_ACCESS_KEY_ID"
- "AWS_SECRET_ACCESS_KEY"
- "AWS_SESSION_TOKEN"
image: "032379705303.dkr.ecr.us-east-1.amazonaws.com/deploytools:2022.07"
propagate-environment: true
mount-buildkite-agent: true
Loading