mirror of
https://github.com/siderolabs/image-factory.git
synced 2025-09-21 05:41:10 +02:00
Add fallback to direct asset download in case of S3 issues. Signed-off-by: Mateusz Urbanek <mateusz.urbanek@siderolabs.com>
23 lines
521 B
Go
23 lines
521 B
Go
// This Source Code Form is subject to the terms of the Mozilla Public
|
|
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
//go:build integration_direct
|
|
|
|
package integration_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/siderolabs/image-factory/cmd/image-factory/cmd"
|
|
)
|
|
|
|
func TestIntegrationDirect(t *testing.T) {
|
|
options := cmd.DefaultOptions
|
|
|
|
options.CacheRepository = cacheRepository
|
|
options.MetricsNamespace = ""
|
|
|
|
commonTest(t, options)
|
|
}
|