Skip to content

Commit

Permalink
Remove functions buildpacks from heroku/builder:22 (#398)
Browse files Browse the repository at this point in the history
A new functions only builder image variant was added in #392 (see that
PR for why), and now the functions Kodon instances have been switched
to use this new image in:
heroku/kodon#408

As such, the functions buildpacks in `heroku/builder:22` are now unused
and can be removed.

In addition, the functions examples have been moved under the functions
builder's directory, since its now the only builder using them.

GUS-W-14194543.
  • Loading branch information
edmorley authored Oct 2, 2023
1 parent 580af9b commit 5df7586
Show file tree
Hide file tree
Showing 28 changed files with 2 additions and 20 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-test-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ jobs:
strategy:
fail-fast: false
matrix:
builder: ["builder-22", "salesforce-functions"]
builder: ["salesforce-functions"]
language: ["java", "javascript", "typescript"]
steps:
- name: Checkout
Expand All @@ -122,7 +122,7 @@ jobs:
- name: Load Docker images into the Docker daemon
run: zstd -dc --long=31 images.tar.zst | docker load
- name: Build example function image
run: pack build example-function --path examples/functions/${{ matrix.language }} --builder ${{ matrix.builder }} --trust-builder --pull-policy never
run: pack build example-function --path salesforce-functions/examples/${{ matrix.language }} --builder ${{ matrix.builder }} --trust-builder --pull-policy never
- name: Start example function image
run: docker run --name example-function --detach -p 8080:8080 --env PORT=8080 --env DYNO=web.1 example-function
- name: Test example function web server response
Expand Down
18 changes: 0 additions & 18 deletions builder-22/builder.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,10 @@ version = "0.17.1"
id = "heroku/java"
uri = "docker://docker.io/heroku/buildpack-java@sha256:3b69171e416c8062b3caefc97c206cd006a197773e380d09cb7f704a10147dee"

[[buildpacks]]
id = "heroku/java-function"
uri = "docker://docker.io/heroku/buildpack-java-function@sha256:4cbe8d4984f70fc63e6b0fcea1b904d4246d90bbe0b9cc10ba8b73c98eda3b00"

[[buildpacks]]
id = "heroku/nodejs"
uri = "docker://docker.io/heroku/buildpack-nodejs@sha256:5000a0f8ca2f440bedc24dd1a75dd20c60ffb8ff1708b7490d67aa290f280606"

[[buildpacks]]
id = "heroku/nodejs-function"
uri = "docker://docker.io/heroku/buildpack-nodejs-function@sha256:69d61df4e1805055fcf2911e75f5fed59b02292f2bda7c78b6f891e8d8cd00f3"

[[buildpacks]]
id = "heroku/php"
uri = "docker://docker.io/heroku/buildpack-php@sha256:19e44139b850b3b9040f21d436ec693f0dff82e931bbff500e9876f4febacd0e"
Expand Down Expand Up @@ -78,21 +70,11 @@ version = "0.17.1"
version = "2.0.1"
optional = true

[[order]]
[[order.group]]
id = "heroku/nodejs-function"
version = "1.1.6"

[[order]]
[[order.group]]
id = "heroku/nodejs"
version = "1.1.6"

[[order]]
[[order.group]]
id = "heroku/java-function"
version = "3.2.0"

[[order]]
[[order.group]]
id = "heroku/java"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 5df7586

Please sign in to comment.