File tree Expand file tree Collapse file tree 2 files changed +18
-16
lines changed
Expand file tree Collapse file tree 2 files changed +18
-16
lines changed Original file line number Diff line number Diff line change 11# yaml-language-server: $schema=https://raw.githubusercontent.com/buildkite/pipeline-schema/main/schema.json
22---
3- # Nodes with values to reuse in the pipeline.
4- common_params :
5- env : &xcode_image
6- IMAGE_ID : xcode-16.1
7- plugins :
8- - &ci_toolkit
9- automattic/a8c-ci-toolkit#3.7.1: ~
10- - &docker_plugin
11- docker#v5.8.0:
12- image : &ruby_version "public.ecr.aws/docker/library/ruby:3.2.2"
13- propagate-environment : true
14- environment :
15- - " RUBYGEMS_API_KEY"
3+
4+ env :
5+ IMAGE_ID : $IMAGE_ID
166
177steps :
188 # ################
3929
4030 echo "--- :rspec: Run Rspec"
4131 bundle exec rspec --profile 10 --format progress
42- env : *xcode_image
43- plugins : [*ci_toolkit]
32+ plugins : [$CI_TOOLKIT]
4433 agents :
4534 queue : " mac"
4635 matrix :
@@ -60,7 +49,13 @@ steps:
6049 # commands written inline) to avoid leaking a key used in the process in clear in the
6150 # BUILDKITE_COMMAND environment variable.
6251 command : .buildkite/commands/gem-push.sh
63- plugins : [*docker_plugin]
52+ plugins :
53+ - $DOCKER_PLUGIN :
54+ image : " $DOCKER_RUBY_IMAGE"
55+ propagate-environment : true
56+ environment :
57+ - " RUBYGEMS_API_KEY"
58+
6459 agents :
6560 queue : " default"
6661
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ export IMAGE_ID=" xcode-26.1.1"
4+ export CI_TOOLKIT=" automattic/a8c-ci-toolkit#3.7.1"
5+ export DOCKER_PLUGIN=" docker#v5.8.0"
6+ export RUBY_VERSION=" 3.2.2"
7+ export DOCKER_RUBY_IMAGE=" public.ecr.aws/docker/library/ruby:$RUBY_VERSION "
You can’t perform that action at this time.
0 commit comments