Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
a92a95f
Bump os-image tgz
bosh-admin-bot Jun 12, 2026
1f98686
Update vendored dependencies
cf-rabbit-bot Jun 13, 2026
eb83984
Bump gems
bosh-admin-bot Jun 13, 2026
f0bbdba
bump bosh-blobstore-s3/0.0.407
bosh-admin-bot Jun 13, 2026
db01dcb
Bump os-image tgz
bosh-admin-bot Jun 13, 2026
71846ef
bump bosh-blobstore-gcs/0.0.387
bosh-admin-bot Jun 13, 2026
d58e264
Bump os-image tgz
bosh-admin-bot Jun 13, 2026
3451c74
Bump os-image tgz
bosh-admin-bot Jun 13, 2026
7e148d2
Bump os-image tgz
bosh-admin-bot Jun 13, 2026
a711a59
bump bosh-blobstore-azure-storage/0.0.237
bosh-admin-bot Jun 13, 2026
41eb933
Bump os-image tgz
bosh-admin-bot Jun 13, 2026
79ee2c3
bump bosh-agent/2.855.0
bosh-admin-bot Jun 13, 2026
3650c6a
Bump os-image tgz
bosh-admin-bot Jun 13, 2026
a00d1b8
bump bosh-agent/2.856.0
bosh-admin-bot Jun 17, 2026
0f7dde0
bump bosh-blobstore-azure-storage/0.0.238
bosh-admin-bot Jun 17, 2026
3ea7d63
Bump os-image tgz
bosh-admin-bot Jun 17, 2026
ff5fe01
bump bosh-blobstore-azure-storage/0.0.239
bosh-admin-bot Jun 17, 2026
ae0efbc
Bump os-image tgz
bosh-admin-bot Jun 17, 2026
d6f5c72
Bump os-image tgz
bosh-admin-bot Jun 17, 2026
be92778
bump bosh-agent/2.857.0
bosh-admin-bot Jun 17, 2026
1ff9241
Bump os-image tgz
bosh-admin-bot Jun 17, 2026
cb322c7
bump bosh-blobstore-dav/0.0.480
bosh-admin-bot Jun 17, 2026
cda31f8
bump bosh-blobstore-s3/0.0.408
bosh-admin-bot Jun 17, 2026
ec907a0
bump bosh-blobstore-gcs/0.0.388
bosh-admin-bot Jun 17, 2026
d0248e1
bump bosh-blobstore-dav/0.0.481
bosh-admin-bot Jun 17, 2026
880f044
Bump os-image tgz
bosh-admin-bot Jun 17, 2026
33e055b
bump bosh-blobstore-dav/0.0.482
bosh-admin-bot Jun 17, 2026
c7078f2
bump bosh-blobstore-s3/0.0.409
bosh-admin-bot Jun 17, 2026
b44ccd2
Bump os-image tgz
bosh-admin-bot Jun 17, 2026
3d59e63
Bump os-image tgz
bosh-admin-bot Jun 17, 2026
f4c0fdc
bump bosh-blobstore-gcs/0.0.389
bosh-admin-bot Jun 17, 2026
615958e
Bump os-image tgz
bosh-admin-bot Jun 18, 2026
2e682ab
Bump os-image tgz
bosh-admin-bot Jun 18, 2026
30ac3d3
Bump os-image tgz
bosh-admin-bot Jun 18, 2026
5ef36d2
bump bosh-blobstore-gcs/0.0.390
bosh-admin-bot Jun 18, 2026
8dc34de
Bump os-image tgz
bosh-admin-bot Jun 18, 2026
1e03eef
Bump os-image tgz
bosh-admin-bot Jun 18, 2026
11a4365
bump bosh-agent/2.858.0
bosh-admin-bot Jun 18, 2026
1783a82
Bump os-image tgz
bosh-admin-bot Jun 18, 2026
3687a1d
refactor: align jammy agent settings to cp+assets approach (#646)
neddp Jun 18, 2026
1d332ad
Bump os-image tgz
bosh-admin-bot Jun 18, 2026
ce45b11
bump bosh-agent/2.859.0
bosh-admin-bot Jun 18, 2026
cac90b8
Bump os-image tgz
bosh-admin-bot Jun 18, 2026
2bfcd16
bump bosh-blobstore-s3/0.0.410
bosh-admin-bot Jun 18, 2026
54a637d
Bump os-image tgz
bosh-admin-bot Jun 18, 2026
87e4aa7
bump bosh-blobstore-dav/0.0.483
bosh-admin-bot Jun 18, 2026
440af5f
CI: remove single-use YTT functions
aramprice Jun 18, 2026
0eb1f36
Merge branch 'ubuntu-jammy' into manually-merge-jammy
aramprice Jun 18, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
179 changes: 93 additions & 86 deletions ci/pipelines/builder.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,95 @@
anchors:
ci_bot:
email: &ci_bot_email infra@cloudfoundry.org
name: &ci_bot_name CI Bot

#@ load("@ytt:data", "data")
#@ bats_director_tag = "test-stemcells-" + data.values.stemcell_details.os_short_name

#@yaml/text-templated-strings
---

#@ def metalink_resource(IAAS, HYPERVISOR, FIPS=""):
name: (@= IAAS @)-(@= HYPERVISOR @)(@= FIPS @)
type: metalink-repository
source:
mirror_files:
- destination: s3://storage.googleapis.com/bosh-core-stemcells-candidate(@= FIPS @)/(@= IAAS @)/{{.Name}}
options:
private_key: ((github_deploy_key_bosh-io-stemcells-core-index.private_key))
filters:
- repositorypath: "*/(@= IAAS @)-(@= HYPERVISOR @)(@= FIPS @)(@= data.values.stemcell_details.agent_suffix @).meta4"
uri: git+ssh://git@github.com:cloudfoundry/bosh-io-stemcells-core-index.git//dev/(@= data.values.stemcell_details.os_name @)(@= FIPS @)/
url_handlers:
- include:
- (s3|https)://.*
options:
access_key: ((hmac_accesskey))
secret_key: ((hmac_secret))
type: s3
#@ end

#@yaml/text-templated-strings
---

#@ def build_stemcell(IAAS, HYPERVISOR, FIPS=""):
name: build-(@= IAAS @)-(@= HYPERVISOR @)(@= FIPS @)
serial: true
plan:
- in_parallel:
- get: version
passed:
- build-stemcell
resource: version
trigger: true
- get: bosh-stemcells-ci
- get: os-image-stemcell-builder-registry-image
- get: build-time
passed:
- build-stemcell
trigger: true
- get: bosh-linux-stemcell-builder
passed:
- build-stemcell
resource: bosh-linux-stemcell-builder
- get: stemcells-index
- get: os-image-tarball
passed:
- build-os-image
- task: create-stemcell
file: bosh-stemcells-ci/ci/tasks/build.yml
image: os-image-stemcell-builder-registry-image
params:
HYPERVISOR: #@ HYPERVISOR
IAAS: #@ IAAS
OS_NAME: ubuntu
S3_API_ENDPOINT: storage.googleapis.com
OS_VERSION: (@= data.values.stemcell_details.os_short_name @)(@= FIPS @)
STEMCELL_BUCKET: bosh-core-stemcells-candidate(@= FIPS @)
GIT_USER_EMAIL: (@= data.values.stemcell_details.bot_email @)
GIT_USER_NAME: (@= data.values.stemcell_details.bot_name @)
AGENT_SUFFIX: (@= data.values.stemcell_details.agent_suffix @)
#@ if/end FIPS != "":
UBUNTU_ADVANTAGE_TOKEN: ((ubuntu_advantage_token))
privileged: true
vars:
image_os_tag: (@= data.values.stemcell_details.os_short_name @)
- in_parallel:
- put: (@= IAAS @)-(@= HYPERVISOR @)(@= FIPS @)
attempts: 3
params:
files:
- stemcell/*.tgz
rename: "{{.Version}}/(@= IAAS @)-(@= HYPERVISOR @)(@= FIPS @)(@= data.values.stemcell_details.agent_suffix @).meta4"
options:
author_email: (@= data.values.stemcell_details.bot_email @)
author_name: (@= data.values.stemcell_details.bot_name @)
message: 'dev: (@= data.values.stemcell_details.os_name @)'
version: candidate-build-number/number
#@ end

#@yaml/text-templated-strings
---

anchors:
bats_director_tag: &bats-director-tag test-stemcells-(@= data.values.stemcell_details.os_short_name @)
ci_bot:
email: &ci_bot_email (@= data.values.stemcell_details.bot_email @)
name: &ci_bot_name (@= data.values.stemcell_details.bot_name @)

groups:
- name: build
Expand Down Expand Up @@ -125,7 +208,7 @@ jobs:
GCP_REGION: europe-north2
GCP_NETWORK_NAME: bosh-concourse
SUBNET_INT: (@= data.values.stemcell_details.subnet_int @)
DIRECTOR_TAG: (@= bats_director_tag @)
DIRECTOR_TAG: *bats-director-tag

- name: process-high-critical-cves
serial_groups: [log-cves]
Expand Down Expand Up @@ -483,62 +566,6 @@ jobs:
#! timeout: 15m
#! serial: true

#@ def build_stemcell(IAAS, HYPERVISOR, FIPS=""):
name: build-(@= IAAS @)-(@= HYPERVISOR @)(@= FIPS @)
serial: true
plan:
- in_parallel:
- get: version
passed:
- build-stemcell
resource: version
trigger: true
- get: bosh-stemcells-ci
- get: os-image-stemcell-builder-registry-image
- get: build-time
passed:
- build-stemcell
trigger: true
- get: bosh-linux-stemcell-builder
passed:
- build-stemcell
resource: bosh-linux-stemcell-builder
- get: stemcells-index
- get: os-image-tarball
passed:
- build-os-image
- task: create-stemcell
file: bosh-stemcells-ci/ci/tasks/build.yml
image: os-image-stemcell-builder-registry-image
params:
HYPERVISOR: #@ HYPERVISOR
IAAS: #@ IAAS
OS_NAME: ubuntu
S3_API_ENDPOINT: storage.googleapis.com
OS_VERSION: (@= data.values.stemcell_details.os_short_name @)(@= FIPS @)
STEMCELL_BUCKET: bosh-core-stemcells-candidate(@= FIPS @)
GIT_USER_EMAIL: *ci_bot_email
GIT_USER_NAME: *ci_bot_name
AGENT_SUFFIX: (@= data.values.stemcell_details.agent_suffix @)
#@ if/end FIPS != "":
UBUNTU_ADVANTAGE_TOKEN: ((ubuntu_advantage_token))
privileged: true
vars:
image_os_tag: (@= data.values.stemcell_details.os_short_name @)
- in_parallel:
- put: (@= IAAS @)-(@= HYPERVISOR @)(@= FIPS @)
attempts: 3
params:
files:
- stemcell/*.tgz
rename: "{{.Version}}/(@= IAAS @)-(@= HYPERVISOR @)(@= FIPS @)(@= data.values.stemcell_details.agent_suffix @).meta4"
options:
author_email: *ci_bot_email
author_name: *ci_bot_name
message: 'dev: (@= data.values.stemcell_details.os_name @)'
version: candidate-build-number/number
#@ end

#@ for iaas in data.values.stemcell_details.include_iaas:
- #@ build_stemcell(iaas.iaas, iaas.hypervisor)
#@ end
Expand Down Expand Up @@ -596,7 +623,7 @@ jobs:
GCP_PROJECT_ID: ((gcp_project_id))
GCP_ZONE: europe-north2-a
GCP_SUBNET_NAME: stemcell-builder-integration-(@= data.values.stemcell_details.subnet_int @)
TAG: (@= bats_director_tag @)
TAG: *bats-director-tag
- task: deploy-director
file: bosh-stemcells-ci/ci/tasks/gcp/deploy-director.yml
image: bosh-integration-image
Expand All @@ -611,7 +638,7 @@ jobs:
INTERNAL_CIDR: 10.100.(@= data.values.stemcell_details.subnet_int @).0/24
INTERNAL_GW: 10.100.(@= data.values.stemcell_details.subnet_int @).1
RESERVED_RANGE: '10.100.(@= data.values.stemcell_details.subnet_int @).2 - 10.100.(@= data.values.stemcell_details.subnet_int @).63, 10.100.(@= data.values.stemcell_details.subnet_int @).126 - 10.100.(@= data.values.stemcell_details.subnet_int @).254'
TAG: (@= bats_director_tag @)
TAG: *bats-director-tag
- task: prepare-bats
file: bosh-stemcells-ci/ci/tasks/bats/iaas/gcp/prepare-bats-config.yml
image: bosh-integration-image
Expand Down Expand Up @@ -932,38 +959,18 @@ resources:
- name: weekly
type: time
source:
initial_version: true
start: 3:00 -0700
stop: 4:30 -0700
days:
- Saturday
initial_version: true

- name: bosh-agent
type: metalink-repository
source:
uri: git+https://github.com/cloudfoundry/bosh-agent-index.git/
version: "*"

#@ def metalink_resource(IAAS, HYPERVISOR, FIPS=""):
name: (@= IAAS @)-(@= HYPERVISOR @)(@= FIPS @)
type: metalink-repository
source:
mirror_files:
- destination: s3://storage.googleapis.com/bosh-core-stemcells-candidate(@= FIPS @)/(@= IAAS @)/{{.Name}}
options:
private_key: ((github_deploy_key_bosh-io-stemcells-core-index.private_key))
filters:
- repositorypath: "*/(@= IAAS @)-(@= HYPERVISOR @)(@= FIPS @)(@= data.values.stemcell_details.agent_suffix @).meta4"
uri: git+ssh://git@github.com:cloudfoundry/bosh-io-stemcells-core-index.git//dev/(@= data.values.stemcell_details.os_name @)(@= FIPS @)/
url_handlers:
- include:
- (s3|https)://.*
options:
access_key: ((hmac_accesskey))
secret_key: ((hmac_secret))
type: s3
#@ end

#@ for iaas in data.values.stemcell_details.include_iaas:
- #@ metalink_resource(iaas.iaas, iaas.hypervisor)
#@ end
Expand Down
Loading
Loading