Skip to content

Commit

Permalink
Set default builders to be Ubuntu 22.04 based (#3602)
Browse files Browse the repository at this point in the history
  • Loading branch information
jose-fully-ported authored Sep 19, 2023
1 parent b99a90e commit c3420cc
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 2 additions & 0 deletions api/server/handlers/gitinstallation/get_buildpack.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,14 @@ func initBuilderInfo() map[string]*buildpacks.BuilderInfo {
builders[buildpacks.PaketoBuilder] = &buildpacks.BuilderInfo{
Name: "Paketo",
Builders: []string{
"paketobuildpacks/builder-jammy-full:latest",
"paketobuildpacks/builder:full",
},
}
builders[buildpacks.HerokuBuilder] = &buildpacks.BuilderInfo{
Name: "Heroku",
Builders: []string{
"heroku/buildpacks:22",
"heroku/buildpacks:20",
"heroku/buildpacks:18",
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,14 @@ func initBuilderInfo() map[string]*buildpacks.BuilderInfo {
builders[buildpacks.PaketoBuilder] = &buildpacks.BuilderInfo{
Name: "Paketo",
Builders: []string{
"paketobuildpacks/builder-jammy-full:latest",
"paketobuildpacks/builder:full",
},
}
builders[buildpacks.HerokuBuilder] = &buildpacks.BuilderInfo{
Name: "Heroku",
Builders: []string{
"heroku/buildpacks:22",
"heroku/buildpacks:20",
"heroku/buildpacks:18",
},
Expand Down
4 changes: 2 additions & 2 deletions dashboard/src/components/repo-selector/BuildpackSelection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import { ActionConfigType } from "shared/types";
import styled, { keyframes } from "styled-components";

const DEFAULT_BUILDER_NAME = "heroku";
const DEFAULT_PAKETO_STACK = "paketobuildpacks/builder:full";
const DEFAULT_HEROKU_STACK = "heroku/buildpacks:20";
const DEFAULT_PAKETO_STACK = "paketobuildpacks/builder-jammy-full:latest";
const DEFAULT_HEROKU_STACK = "heroku/buildpacks:22";

type BuildConfig = {
builder: string;
Expand Down
4 changes: 2 additions & 2 deletions dashboard/src/main/home/app-dashboard/types/buildpack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ export const detectedBuildpackSchema = z.object({
export type DetectedBuildpack = z.infer<typeof detectedBuildpackSchema>;

export const DEFAULT_BUILDER_NAME = "heroku";
export const DEFAULT_PAKETO_STACK = "paketobuildpacks/builder:full";
export const DEFAULT_HEROKU_STACK = "heroku/buildpacks:20";
export const DEFAULT_PAKETO_STACK = "paketobuildpacks/builder-jammy-full:latest";
export const DEFAULT_HEROKU_STACK = "heroku/buildpacks:22";

export const BUILDPACK_TO_NAME: { [key: string]: string } = {
"heroku/nodejs": "NodeJS",
Expand Down

0 comments on commit c3420cc

Please sign in to comment.