mirror of
https://github.com/juanfont/headscale.git
synced 2026-10-03 21:33:36 +09:00
tools/bump: bump the remaining container base images
Debian is resolved from the numeric tags, which exist only for released versions: forky-slim is published today and is testing. Distroless follows that same release rather than its own repository names, since gcr answers for base-debian99 as readily as for base-debian13.
This commit is contained in:
+20
-12
@@ -49,36 +49,44 @@ type result struct {
|
||||
Commit string
|
||||
}
|
||||
|
||||
func coreAreas() []area {
|
||||
return []area{
|
||||
// allAreas is the running order. Regeneration comes last because it consumes
|
||||
// what everything before it settled: the toolchain from the lock, the module
|
||||
// versions, and the generator pin from the Makefile.
|
||||
func allAreas() []area {
|
||||
areas := []area{
|
||||
{
|
||||
Name: "flake",
|
||||
Apply: applyFlake,
|
||||
Gate: gateFlake,
|
||||
Message: func(c change) string { return "flake.lock: update " + c.Summary },
|
||||
},
|
||||
{
|
||||
}
|
||||
|
||||
areas = append(areas,
|
||||
area{
|
||||
Name: "gomod",
|
||||
Needs: []string{"flake"},
|
||||
Apply: applyGoMod,
|
||||
Gate: gateGoMod,
|
||||
Message: func(c change) string { return "go.mod: " + c.Summary },
|
||||
},
|
||||
{
|
||||
area{
|
||||
Name: "docker-go",
|
||||
Needs: []string{"flake"},
|
||||
Apply: applyDockerGo,
|
||||
Gate: gateDockerGo,
|
||||
Message: func(c change) string { return "Dockerfile: bump " + c.Summary },
|
||||
},
|
||||
{
|
||||
Name: "generate",
|
||||
Needs: []string{"gomod"},
|
||||
Apply: applyGenerate,
|
||||
Gate: gateGenerate,
|
||||
Message: func(change) string { return "all: regenerate generated files" },
|
||||
},
|
||||
}
|
||||
)
|
||||
areas = append(areas, imageAreas()...)
|
||||
|
||||
return append(areas, area{
|
||||
Name: "generate",
|
||||
Needs: []string{"gomod"},
|
||||
Apply: applyGenerate,
|
||||
Gate: gateGenerate,
|
||||
Message: func(change) string { return "all: regenerate generated files" },
|
||||
})
|
||||
}
|
||||
|
||||
// runAreas applies each area in order, committing the ones that hold and
|
||||
|
||||
Reference in New Issue
Block a user