fix: recover externally removed Talos VMs #29

Merged
eding merged 5 commits from fix/rebuild-absent-vm into main 2026-09-06 10:55:18 +02:00
Showing only changes of commit 8e4672010b - Show all commits

View file

@ -143,13 +143,6 @@ func runBootstrap(cmd *cobra.Command, args []string) error {
if err := ensurePublishAppCheckoutClean(bootstrapPublishAppFrom); err != nil { if err := ensurePublishAppCheckoutClean(bootstrapPublishAppFrom); err != nil {
return err return err
} }
origin, err := forgejo.CheckoutOrigin(bootstrapPublishAppFrom)
if err != nil {
return err
}
if config.RedactURL(origin) != cfg.Delivery.AppRepoURL {
return fmt.Errorf("--publish-app-from origin does not match delivery appRepoUrl")
}
branch, err := forgejo.CurrentBranch(bootstrapPublishAppFrom) branch, err := forgejo.CurrentBranch(bootstrapPublishAppFrom)
if err != nil { if err != nil {
return err return err