Skip to content

Commit 8c97b59

Browse files
committed
Remove compile-extensions infrastructure from buildpacks CI
All Cloud Foundry buildpacks now use compile_extensions: false and Go-based packaging, making the legacy Ruby gem-based compile-extensions infrastructure obsolete. This change removes: - compile-extensions git resource from pipeline - buildpack-packager GitHub release resource from pipeline - update-compile-extensions job - update-buildpack-packager job - Legacy Ruby bundler packaging logic from buildpack-tagger.rb - Hardcoded PHP v4.5.3 Gemfile download URLs - compile_extensions field from all buildpack values files Impact: - 66 lines removed from pipeline.yml - 30 lines removed from buildpack-tagger.rb - 2 task files deleted (update-compile-extensions) - 14 buildpack values files cleaned up This completes the buildpack modernization effort, ensuring all buildpacks use consistent Go-based tooling. PHP buildpack packaging was modernized in cloudfoundry/php-buildpack#1200. Related: cloudfoundry/php-buildpack#1200
1 parent 7c4016b commit 8c97b59

File tree

17 files changed

+4
-158
lines changed

17 files changed

+4
-158
lines changed

pipelines/buildpack/apt-values.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,4 @@ buildpack:
99
product_slug: ""
1010
skip_docker_start: false
1111
skip_brats: false
12-
compile_extensions: false
1312
compute_instance_count: 1

pipelines/buildpack/binary-values.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,4 @@ buildpack:
1010
product_slug: binary-buildpack
1111
skip_docker_start: true
1212
skip_brats: false
13-
compile_extensions: false
1413
compute_instance_count: 1

pipelines/buildpack/config.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,4 @@ buildpack:
1717
product_slug: ""
1818
skip_docker_start: false
1919
skip_brats: false
20-
compile_extensions: false
2120
compute_instance_count: 1

pipelines/buildpack/dotnet-core-values.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,4 @@ buildpack:
99
product_slug: dotnet-core-buildpack
1010
skip_docker_start: false
1111
skip_brats: false
12-
compile_extensions: false
1312
compute_instance_count: 3

pipelines/buildpack/go-values.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,4 @@ buildpack:
99
product_slug: go-buildpack
1010
skip_docker_start: false
1111
skip_brats: false
12-
compile_extensions: false
1312
compute_instance_count: 3

pipelines/buildpack/hwc-values.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,4 @@ buildpack:
99
product_slug: hwc-buildpack
1010
skip_docker_start: false
1111
skip_brats: true
12-
compile_extensions: false
1312
compute_instance_count: 1

pipelines/buildpack/nginx-values.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,4 @@ buildpack:
99
product_slug: nginx-buildpack
1010
skip_docker_start: false
1111
skip_brats: false
12-
compile_extensions: false
1312
compute_instance_count: 1

pipelines/buildpack/nodejs-values.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,4 @@ buildpack:
99
product_slug: nodejs-buildpack
1010
skip_docker_start: false
1111
skip_brats: false
12-
compile_extensions: false
1312
compute_instance_count: 1

pipelines/buildpack/php-values.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,4 @@ buildpack:
99
product_slug: php-buildpack
1010
skip_docker_start: false
1111
skip_brats: false
12-
compile_extensions: true
1312
compute_instance_count: 1

pipelines/buildpack/pipeline.yml

Lines changed: 0 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,6 @@ resources:
8383
source:
8484
uri: https://github.com/cloudfoundry/libbuildpack.git
8585

86-
#@ if data.values.buildpack.compile_extensions:
87-
- name: compile-extensions
88-
type: git
89-
source:
90-
uri: https://github.com/cloudfoundry/compile-extensions.git
91-
#@ end
92-
9386
#@ if data.values.language == "hwc":
9487
- name: buildpack-bosh-release
9588
type: git
@@ -132,15 +125,6 @@ resources:
132125
access_token: ((buildpacks-github-token))
133126
#@ end
134127

135-
#@ if data.values.buildpack.compile_extensions:
136-
- name: buildpack-packager
137-
type: github-release
138-
source:
139-
user: #@ data.values.buildpacks_github_org
140-
repository: buildpack-packager
141-
access_token: ((buildpacks-github-token))
142-
#@ end
143-
144128
#! S3 Buckets
145129
#@ for stack in data.values.buildpack.stacks:
146130
- name: #@ "pivotal-buildpack-" + stack
@@ -530,56 +514,6 @@ jobs:
530514
auto_merge: false
531515
base: master
532516

533-
#@ if data.values.buildpack.compile_extensions:
534-
- name: update-compile-extensions
535-
serial: true
536-
public: true
537-
plan:
538-
- in_parallel:
539-
- get: buildpacks-ci
540-
- get: compile-extensions
541-
trigger: true
542-
- get: buildpack
543-
resource: buildpack-master
544-
- task: update-compile-extensions
545-
file: buildpacks-ci/tasks/update-compile-extensions/task.yml
546-
params:
547-
RUBYGEM_MIRROR: #@ data.values.rubygem_mirror
548-
- put: buildpack-pull-request
549-
params:
550-
repo_location: buildpack-artifacts
551-
title: Update compile-extensions
552-
branch_prefix: "update-compile-extensions"
553-
auto_merge: false
554-
base: master
555-
556-
- name: update-buildpack-packager
557-
serial: true
558-
public: true
559-
plan:
560-
- in_parallel:
561-
- get: buildpacks-ci
562-
- get: gem
563-
resource: buildpack-packager
564-
trigger: true
565-
- get: repo-with-gemfile
566-
resource: buildpack-master
567-
- task: update-buildpack-packager
568-
file: buildpacks-ci/tasks/update-gem-in-gemfile/task.yml
569-
params:
570-
RUBYGEM_MIRROR: #@ data.values.rubygem_mirror
571-
GEM_NAME: buildpack-packager
572-
GEM_GIT_REPOSITORY: #@ data.values.buildpack_packager_git_uri_public
573-
GEMFILE_NAME: cf.Gemfile
574-
- put: buildpack-pull-request
575-
params:
576-
repo_location: repo-with-gemfile-artifacts
577-
title: Update buildpack-packager
578-
branch_prefix: "update-buildpack-packager"
579-
auto_merge: false
580-
base: master
581-
#@ end
582-
583517
#@ if data.values.language == "hwc":
584518
- name: update-buildpack-bosh-release
585519
serial: true

0 commit comments

Comments
 (0)