Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
105 commits
Select commit Hold shift + click to select a range
a92a95f
Bump os-image tgz
bosh-admin-bot Jun 12, 2026
220d86b
Bump os-image tgz
bosh-admin-bot Jun 12, 2026
1f98686
Update vendored dependencies
cf-rabbit-bot Jun 13, 2026
67d1271
Update vendored dependencies
cf-rabbit-bot Jun 13, 2026
eb83984
Bump gems
bosh-admin-bot Jun 13, 2026
86e2657
Bump gems
bosh-admin-bot Jun 13, 2026
a549a68
bump bosh-blobstore-s3/0.0.407
bosh-admin-bot Jun 13, 2026
f0bbdba
bump bosh-blobstore-s3/0.0.407
bosh-admin-bot Jun 13, 2026
c09fad3
Bump os-image tgz
bosh-admin-bot Jun 13, 2026
db01dcb
Bump os-image tgz
bosh-admin-bot Jun 13, 2026
ecb6354
Bump os-image tgz
bosh-admin-bot Jun 13, 2026
f3a5f32
bump bosh-blobstore-gcs/0.0.387
bosh-admin-bot Jun 13, 2026
97009be
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
e7a6dac
Bump os-image tgz
bosh-admin-bot Jun 13, 2026
7e148d2
Bump os-image tgz
bosh-admin-bot Jun 13, 2026
610901a
bump bosh-blobstore-azure-storage/0.0.237
bosh-admin-bot Jun 13, 2026
a711a59
bump bosh-blobstore-azure-storage/0.0.237
bosh-admin-bot Jun 13, 2026
3b94cf1
Bump os-image tgz
bosh-admin-bot Jun 13, 2026
41eb933
Bump os-image tgz
bosh-admin-bot Jun 13, 2026
b00bc47
bump bosh-agent/2.855.0
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
fe915e5
Bump os-image tgz
bosh-admin-bot Jun 13, 2026
24df57c
fix: migrate changes from HEREDOC to agent.json
aramprice Jun 12, 2026
7810f4b
Bump os-image tgz
bosh-admin-bot Jun 13, 2026
a00d1b8
bump bosh-agent/2.856.0
bosh-admin-bot Jun 17, 2026
1c81056
bump bosh-agent/2.856.0
bosh-admin-bot Jun 17, 2026
0235d8b
bump bosh-blobstore-azure-storage/0.0.238
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
587eae4
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
b71f653
bump bosh-agent/2.857.0
bosh-admin-bot Jun 17, 2026
7865c1d
Bump os-image tgz
bosh-admin-bot Jun 17, 2026
1ff9241
Bump os-image tgz
bosh-admin-bot Jun 17, 2026
06c36fa
Bump os-image tgz
bosh-admin-bot Jun 17, 2026
06d958f
bump bosh-blobstore-dav/0.0.480
bosh-admin-bot Jun 17, 2026
cb322c7
bump bosh-blobstore-dav/0.0.480
bosh-admin-bot Jun 17, 2026
6b3c9c9
bump bosh-blobstore-s3/0.0.408
bosh-admin-bot Jun 17, 2026
cda31f8
bump bosh-blobstore-s3/0.0.408
bosh-admin-bot Jun 17, 2026
58b2d73
bump bosh-blobstore-gcs/0.0.388
bosh-admin-bot Jun 17, 2026
ec907a0
bump bosh-blobstore-gcs/0.0.388
bosh-admin-bot Jun 17, 2026
0b6c776
bump bosh-blobstore-dav/0.0.481
bosh-admin-bot Jun 17, 2026
d0248e1
bump bosh-blobstore-dav/0.0.481
bosh-admin-bot Jun 17, 2026
2ae686c
Bump os-image tgz
bosh-admin-bot Jun 17, 2026
880f044
Bump os-image tgz
bosh-admin-bot Jun 17, 2026
d10d912
bump bosh-blobstore-dav/0.0.482
bosh-admin-bot Jun 17, 2026
6dce313
Bump os-image tgz
bosh-admin-bot Jun 17, 2026
33e055b
bump bosh-blobstore-dav/0.0.482
bosh-admin-bot Jun 17, 2026
31100d6
bump bosh-blobstore-s3/0.0.409
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
d4b408f
bump bosh-blobstore-gcs/0.0.389
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
a6da262
Bump os-image tgz
bosh-admin-bot Jun 18, 2026
2392932
Bump os-image tgz
bosh-admin-bot Jun 18, 2026
615958e
Bump os-image tgz
bosh-admin-bot Jun 18, 2026
2e682ab
Bump os-image tgz
bosh-admin-bot Jun 18, 2026
a348b75
Bump os-image tgz
bosh-admin-bot Jun 18, 2026
cdbcbeb
bump bosh-blobstore-gcs/0.0.390
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
948c650
Bump os-image tgz
bosh-admin-bot Jun 18, 2026
ff5c967
Bump os-image tgz
bosh-admin-bot Jun 18, 2026
d2c9345
Bump os-image tgz
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
d5e95d4
bump bosh-agent/2.858.0
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
673261e
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
e6d21a3
bump bosh-agent/2.859.0
bosh-admin-bot Jun 18, 2026
cac90b8
Bump os-image tgz
bosh-admin-bot Jun 18, 2026
24713cf
Bump os-image tgz
bosh-admin-bot Jun 18, 2026
e02763d
bump bosh-blobstore-s3/0.0.410
bosh-admin-bot Jun 18, 2026
2bfcd16
bump bosh-blobstore-s3/0.0.410
bosh-admin-bot Jun 18, 2026
2b3b38b
Bump os-image tgz
bosh-admin-bot Jun 18, 2026
54a637d
Bump os-image tgz
bosh-admin-bot Jun 18, 2026
789de6f
bump bosh-blobstore-azure-storage/0.0.239
bosh-admin-bot Jun 18, 2026
61dbee6
Bump os-image tgz
bosh-admin-bot Jun 18, 2026
ac58a29
bump bosh-blobstore-dav/0.0.483
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
b2eb8e1
CI: pass our github name/email when bumping golang deps
aramprice Jun 18, 2026
9d7b3d6
Merge pull request #649 from cloudfoundry/manually-merge-jammy
aramprice Jun 18, 2026
e9be629
Merge pull request #650 from cloudfoundry/fix-bump-author-info
aramprice Jun 18, 2026
230a3ee
Merge pull request #651 from cloudfoundry/ubuntu-jammy
aramprice Jun 18, 2026
85df148
Bump os-image tgz
bosh-admin-bot Jun 18, 2026
ba67a70
assorted pipeline and test improvements
mkocher Jun 18, 2026
2db9569
Bump os-image tgz
bosh-admin-bot Jun 18, 2026
9bb9e15
fix: add get for bpm-release resource
aramprice Jun 18, 2026
7485569
Merge branch 'ubuntu-noble' into jammy-to-noble
aramprice Jun 18, 2026
233b811
Merge pull request #654 from cloudfoundry/jammy-to-noble
aramprice Jun 18, 2026
a3938ae
Merge branch 'ubuntu-resolute' into noble-to-resolute
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
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,11 @@ var _ = BeforeSuite(func() {
bosh = testhelpers.NewBOSH()
stemcellPath := testhelpers.RequireEnv("STEMCELL_PATH")
syslogReleasePath := testhelpers.RequireEnv("SYSLOG_RELEASE_PATH")
bpmReleasePath := testhelpers.RequireEnv("BPM_RELEASE_PATH")

bosh.UploadStemcell(stemcellPath)
bosh.UploadRelease(syslogReleasePath)
bosh.UploadRelease(bpmReleasePath)
bosh.SafeDeploy()
})

Expand Down
190 changes: 104 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 @@ -367,6 +450,7 @@ jobs:
- get: bosh-linux-stemcell-builder
- get: bosh-deployment
- get: syslog-release
- get: bpm-release
- get: os-conf-release
- get: stemcell
passed:
Expand Down Expand Up @@ -434,6 +518,7 @@ jobs:
#! - get: bosh-linux-stemcell-builder
#! - get: bosh-deployment
#! - get: syslog-release
#! - get: bpm-release
#! - get: os-conf-release
#! - get: stemcell
#! passed:
Expand Down Expand Up @@ -483,62 +568,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 +625,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 +640,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 @@ -827,6 +856,8 @@ jobs:
output_mapping:
output_repo: bosh-linux-stemcell-builder
params:
GIT_USER_EMAIL: *ci_bot_email
GIT_USER_NAME: *ci_bot_name
SOURCE_PATH: acceptance-tests/
- task: acceptance-tests-dry-run
image: bosh-integration-image
Expand Down Expand Up @@ -932,38 +963,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 Expand Up @@ -1089,6 +1100,7 @@ resources:
type: git
source:
branch: (@= data.values.stemcell_details.branch @)
uri: https://github.com/cloudfoundry/bosh-linux-stemcell-builder.git
paths:
- ci
- .ruby-version
Expand Down Expand Up @@ -1125,6 +1137,12 @@ resources:
type: bosh-io-release
source:
repository: cloudfoundry/os-conf-release

- name: bpm-release
type: bosh-io-release
source:
repository: cloudfoundry/bpm-release

- name: bosh-deployment
type: git
source:
Expand Down
Loading
Loading