1
0
mirror of https://github.com/rclone/rclone.git synced 2025-12-04 13:49:49 +02:00

build: Bump SwiftAIO container to a newer one

The bouncestorage image hasn't been updated for 4 years and has this
message at the top of the docs:

  This repository is outdated; please use dockerswiftaio/docker-swift instead.

However, dockerswiftaio/docker-swift hasn't been updated for 2 years.
Switch to openstackswift/saio instead, which is getting regular updates.

This requires some minor changes to one test, and how we start the
container.
This commit is contained in:
Andrew Ruthven
2025-10-04 09:11:46 +00:00
committed by Nick Craig-Wood
parent 604e37caa5
commit cad1954213
4 changed files with 33 additions and 18 deletions

View File

@@ -206,8 +206,8 @@ func (f *Fs) testPolicyDiscovery(t *testing.T) {
_, err = f.fetchStoragePolicy(ctx, container)
require.NoError(t, err)
// Default policy for Swift is Policy-0.
assert.Equal(t, "Policy-0", f.opt.StoragePolicy)
// Default policy for SAIO image is 1replica.
assert.Equal(t, "1replica", f.opt.StoragePolicy)
// Create a container using a non-default policy, and check to ensure
// that the created segments container uses the same non-default policy.