Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Heroku-24: Remove stunnel #275

Merged
merged 1 commit into from
Mar 21, 2024
Merged

Heroku-24: Remove stunnel #275

merged 1 commit into from
Mar 21, 2024

Conversation

edmorley
Copy link
Member

@edmorley edmorley commented Mar 20, 2024

(This is stacked on top of #274.)

Since:

Before (once the other PRs are merged):

-----> Size breakdown...
       heroku/heroku:24         441MB
       heroku/heroku:24-build   1.13GB

After:

-----> Size breakdown...
       heroku/heroku:24         424MB  (17 MB reduction)
       heroku/heroku:24-build   1.11GB (17 MB reduction)

Towards #266.
GUS-W-15159536.

@edmorley edmorley self-assigned this Mar 20, 2024
@edmorley edmorley marked this pull request as ready for review March 20, 2024 15:21
@edmorley edmorley requested a review from a team as a code owner March 20, 2024 15:21
@edmorley edmorley force-pushed the edmorley/h24-git-build-only branch from e5b3c4d to 75c7948 Compare March 21, 2024 15:12
Base automatically changed from edmorley/h24-git-build-only to main March 21, 2024 16:25
Since:
- `heroku-buildpack-pgbouncer` hasn't used stunnel since 2018:
  heroku/heroku-buildpack-pgbouncer#104
- Redis 6 and newer support native TLS, making `heroku-buildpack-redis` redundant:
  heroku/heroku-buildpack-redis#40
  (The buildpack can be sunset now that old Redis instances have been shut down)
- If any other less common use-case needs stunnel, they can install it using APT.
- It reduces the run and build image sizes by 17 MB, and in a CNB world image size is a much bigger concern, so we need to be more selective about what packages we include.
- Once Heroku-24 GAs we can't remove packages (since it will break backwards compatibility given stack rebasing), however, we can add packages - so we should err on the side of trying out removing packages now.

Before:

```
-----> Size breakdown...
       heroku/heroku:24         441MB
       heroku/heroku:24-build   1.13GB
```

After:

```
-----> Size breakdown...
       heroku/heroku:24         424MB
       heroku/heroku:24-build   1.11GB
```

Towards #266.
GUS-W-15159536.
@edmorley edmorley merged commit b1e1838 into main Mar 21, 2024
4 checks passed
@edmorley edmorley deleted the edmorley/h24-rm-stunnel branch March 21, 2024 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants