diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2693b85..0ac7323 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,6 +32,8 @@ jobs: with: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} + - name: Install QEMU static binaries + uses: docker/setup-qemu-action@v3 - name: Install Task uses: arduino/setup-task@v2 - name: Install Dagger diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index ebee720..e1216d9 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -12,11 +12,14 @@ jobs: # TODO: googleapis/release-please-action cannot sign commits yet. # We'll use the cli until there's a fix for # https://github.com/googleapis/release-please/issues/2280. - - uses: actions/setup-node@v4 - with: - node-version: 20 - name: Checkout uses: actions/checkout@v4 + - name: Install node + uses: actions/setup-node@v4 + with: + node-version: 20 + - name: Install QEMU static binaries + uses: docker/setup-qemu-action@v3 - name: Install Task uses: arduino/setup-task@v2 - name: Install Dagger diff --git a/.github/workflows/release-publish.yml b/.github/workflows/release-publish.yml index a838e08..5bd4dc1 100644 --- a/.github/workflows/release-publish.yml +++ b/.github/workflows/release-publish.yml @@ -9,6 +9,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + - name: Install QEMU static binaries + uses: docker/setup-qemu-action@v3 - name: Install Task uses: arduino/setup-task@v2 - name: Install Dagger diff --git a/test/e2e/internal/tests/backup/fixtures.go b/test/e2e/internal/tests/backup/fixtures.go index d59fc5b..afba3a2 100644 --- a/test/e2e/internal/tests/backup/fixtures.go +++ b/test/e2e/internal/tests/backup/fixtures.go @@ -25,6 +25,7 @@ import ( "github.com/cloudnative-pg/machinery/pkg/api" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/utils/ptr" pluginBarmanCloudV1 "github.com/cloudnative-pg/plugin-barman-cloud/api/v1" "github.com/cloudnative-pg/plugin-barman-cloud/test/e2e/internal/objectstore" @@ -292,6 +293,7 @@ func newSrcClusterWithPlugin(namespace string) *cloudnativepgv1.Cluster { Parameters: map[string]string{ "barmanObjectName": objectStoreName, }, + IsWALArchiver: ptr.To(true), }, }, PostgresConfiguration: cloudnativepgv1.PostgresConfiguration{ @@ -333,6 +335,7 @@ func newDstClusterWithPlugin(namespace string) *cloudnativepgv1.Cluster { Parameters: map[string]string{ "barmanObjectName": objectStoreName, }, + IsWALArchiver: ptr.To(true), }, }, PostgresConfiguration: cloudnativepgv1.PostgresConfiguration{ @@ -439,6 +442,7 @@ func newDstClusterInTreeS3(namespace string) *cloudnativepgv1.Cluster { Parameters: map[string]string{ "barmanObjectName": objectStoreName, }, + IsWALArchiver: ptr.To(true), }, }, ExternalClusters: []cloudnativepgv1.ExternalCluster{ @@ -536,6 +540,7 @@ func newDstClusterInTreeAzure(namespace string) *cloudnativepgv1.Cluster { Parameters: map[string]string{ "barmanObjectName": objectStoreName, }, + IsWALArchiver: ptr.To(true), }, }, ExternalClusters: []cloudnativepgv1.ExternalCluster{ @@ -632,6 +637,7 @@ func newDstClusterInTreeGCS(namespace string) *cloudnativepgv1.Cluster { Parameters: map[string]string{ "barmanObjectName": objectStoreName, }, + IsWALArchiver: ptr.To(true), }, }, Env: []corev1.EnvVar{ diff --git a/test/e2e/internal/tests/replicacluster/fixtures.go b/test/e2e/internal/tests/replicacluster/fixtures.go index fe5e8ab..e474052 100644 --- a/test/e2e/internal/tests/replicacluster/fixtures.go +++ b/test/e2e/internal/tests/replicacluster/fixtures.go @@ -4,6 +4,7 @@ import ( cloudnativepgv1 "github.com/cloudnative-pg/api/pkg/api/v1" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/utils/ptr" pluginBarmanCloudV1 "github.com/cloudnative-pg/plugin-barman-cloud/api/v1" "github.com/cloudnative-pg/plugin-barman-cloud/test/e2e/internal/objectstore" @@ -119,6 +120,7 @@ func newSrcCluster(namespace string) *cloudnativepgv1.Cluster { Parameters: map[string]string{ "barmanObjectName": srcObjectStoreName, }, + IsWALArchiver: ptr.To(true), }, }, PostgresConfiguration: cloudnativepgv1.PostgresConfiguration{ @@ -231,6 +233,7 @@ func newReplicaCluster(namespace string) *cloudnativepgv1.Cluster { Parameters: map[string]string{ "barmanObjectName": replicaObjectStoreName, }, + IsWALArchiver: ptr.To(true), }, }, PostgresConfiguration: cloudnativepgv1.PostgresConfiguration{ diff --git a/web/docs/migration.md b/web/docs/migration.md index b91fa0d..43c4b80 100644 --- a/web/docs/migration.md +++ b/web/docs/migration.md @@ -11,7 +11,7 @@ from version 1.26** and will be removed in a future release. If you're currently relying on the built-in Barman Cloud integration, you can migrate seamlessly to the new **plugin-based architecture** using the Barman -Cloud Plugin, with **no downtime**. Follow these steps: +Cloud Plugin, without data loss. Follow these steps: - [Install the Barman Cloud Plugin](installation.mdx) - Create an `ObjectStore` resource by translating the contents of the