From a4c9ae7500f91cdd526f899725eb8c3eff83dfd7 Mon Sep 17 00:00:00 2001 From: jose-fully-ported <141160579+jose-fully-ported@users.noreply.github.com> Date: Wed, 20 Sep 2023 10:57:46 -0400 Subject: [PATCH] fix: use correct builder for heroku-22 (#3606) --- api/server/handlers/gitinstallation/get_buildpack.go | 2 +- .../handlers/project_integration/get_gitlab_repo_buildpack.go | 2 +- dashboard/src/components/repo-selector/BuildpackSelection.tsx | 2 +- dashboard/src/main/home/app-dashboard/types/buildpack.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/api/server/handlers/gitinstallation/get_buildpack.go b/api/server/handlers/gitinstallation/get_buildpack.go index d03f1d4616..4693da1fa7 100644 --- a/api/server/handlers/gitinstallation/get_buildpack.go +++ b/api/server/handlers/gitinstallation/get_buildpack.go @@ -29,7 +29,7 @@ func initBuilderInfo() map[string]*buildpacks.BuilderInfo { builders[buildpacks.HerokuBuilder] = &buildpacks.BuilderInfo{ Name: "Heroku", Builders: []string{ - "heroku/buildpacks:22", + "heroku/builder:22", "heroku/buildpacks:20", "heroku/buildpacks:18", }, diff --git a/api/server/handlers/project_integration/get_gitlab_repo_buildpack.go b/api/server/handlers/project_integration/get_gitlab_repo_buildpack.go index 33ef8fb3fa..f4e21b6f32 100644 --- a/api/server/handlers/project_integration/get_gitlab_repo_buildpack.go +++ b/api/server/handlers/project_integration/get_gitlab_repo_buildpack.go @@ -137,7 +137,7 @@ func initBuilderInfo() map[string]*buildpacks.BuilderInfo { builders[buildpacks.HerokuBuilder] = &buildpacks.BuilderInfo{ Name: "Heroku", Builders: []string{ - "heroku/buildpacks:22", + "heroku/builder:22", "heroku/buildpacks:20", "heroku/buildpacks:18", }, diff --git a/dashboard/src/components/repo-selector/BuildpackSelection.tsx b/dashboard/src/components/repo-selector/BuildpackSelection.tsx index 86c75d4010..ad9f0e116e 100644 --- a/dashboard/src/components/repo-selector/BuildpackSelection.tsx +++ b/dashboard/src/components/repo-selector/BuildpackSelection.tsx @@ -11,7 +11,7 @@ import styled, { keyframes } from "styled-components"; const DEFAULT_BUILDER_NAME = "heroku"; const DEFAULT_PAKETO_STACK = "paketobuildpacks/builder-jammy-full:latest"; -const DEFAULT_HEROKU_STACK = "heroku/buildpacks:22"; +const DEFAULT_HEROKU_STACK = "heroku/builder:22"; type BuildConfig = { builder: string; diff --git a/dashboard/src/main/home/app-dashboard/types/buildpack.ts b/dashboard/src/main/home/app-dashboard/types/buildpack.ts index 0704017db8..0ec2a15af8 100644 --- a/dashboard/src/main/home/app-dashboard/types/buildpack.ts +++ b/dashboard/src/main/home/app-dashboard/types/buildpack.ts @@ -25,7 +25,7 @@ export type DetectedBuildpack = z.infer; export const DEFAULT_BUILDER_NAME = "heroku"; export const DEFAULT_PAKETO_STACK = "paketobuildpacks/builder-jammy-full:latest"; -export const DEFAULT_HEROKU_STACK = "heroku/buildpacks:22"; +export const DEFAULT_HEROKU_STACK = "heroku/builder:22"; export const BUILDPACK_TO_NAME: { [key: string]: string } = { "heroku/nodejs": "NodeJS",