mirror of
https://github.com/siderolabs/talos.git
synced 2025-12-07 18:41:33 +01:00
chore: workaround AWS AMI failures, disable Azure uploader
Fixes #7513 AWS image uploads recently consistently fail in some regions, which blocks the release process. Allow to skip some AMIs if they fail to upload. Disable Azure until #7512 is resolved. Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
This commit is contained in:
parent
4cd7623cf7
commit
ffa48ac803
@ -243,7 +243,9 @@ func (au *AWSUploader) registerAMIArch(ctx context.Context, region string, svc *
|
|||||||
return retry.ExpectedError(fmt.Errorf("task status not found"))
|
return retry.ExpectedError(fmt.Errorf("task status not found"))
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
log.Printf("WARNING: aws: ignoring failure to import snapshot into %s/%s: %s", region, arch, err)
|
||||||
|
|
||||||
|
return nil //nolint:nilerr
|
||||||
}
|
}
|
||||||
|
|
||||||
log.Printf("aws: import into %s/%s, snapshot ID %q", region, arch, snapshotID)
|
log.Printf("aws: import into %s/%s, snapshot ID %q", region, arch, snapshotID)
|
||||||
|
|||||||
@ -92,13 +92,14 @@ func run() error {
|
|||||||
return aws.Upload(ctx)
|
return aws.Upload(ctx)
|
||||||
})
|
})
|
||||||
|
|
||||||
g.Go(func() error {
|
// disabled until https://github.com/siderolabs/talos/issues/7512 is resolved
|
||||||
azure := AzureUploader{
|
// g.Go(func() error {
|
||||||
Options: DefaultOptions,
|
// azure := AzureUploader{
|
||||||
}
|
// Options: DefaultOptions,
|
||||||
|
// }
|
||||||
|
|
||||||
return azure.AzureGalleryUpload(ctx)
|
// return azure.AzureGalleryUpload(ctx)
|
||||||
})
|
// })
|
||||||
|
|
||||||
if err = g.Wait(); err != nil {
|
if err = g.Wait(); err != nil {
|
||||||
return fmt.Errorf("failed: %w", err)
|
return fmt.Errorf("failed: %w", err)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user