PostgreSQL backup tool with Point-In-Time-Recovery and restore verification
TypeScript backupbackupsdatabasedatabase-backupdevopsdockergolangkubernetesmariadbmongodbmysqlpgpostgrespostgresqls3self-hostedsystem-administrationtoolsweb-ui
FIX (ci): Run backend tests on ubuntu-22.04 and pin every other job to ubuntu-24.04, so MongoDB 9 starts on a Linux 6.8 runner instead of exiting on the 7.0 kernel check, and drop the GLIBC_TUNABLES the mongo image already sets
Rostislav Duginc606519f7444
diff --git a/.github/workflows/ci-release.yml b/.github/workflows/ci-release.ymlindex ceffac3e..32058da1 100644--- a/.github/workflows/ci-release.yml+++ b/.github/workflows/ci-release.yml@@ -23,7 +23,7 @@ concurrency:jobs:lint-backend:if: github.ref != 'refs/heads/develop'- runs-on: ubuntu-latest+ runs-on: ubuntu-24.04timeout-minutes: 15steps:- name: Check out code@@ -66,7 +66,7 @@ jobs:lint-frontend:if: github.ref != 'refs/heads/develop'- runs-on: ubuntu-latest+ runs-on: ubuntu-24.04timeout-minutes: 15steps:- name: Check out code@@ -99,7 +99,7 @@ jobs:dockerfile-scan:if: github.ref != 'refs/heads/develop'- runs-on: ubuntu-latest+ runs-on: ubuntu-24.04timeout-minutes: 15permissions:contents: read@@ -123,7 +123,7 @@ jobs:test-frontend:if: github.ref != 'refs/heads/develop'- runs-on: ubuntu-latest+ runs-on: ubuntu-24.04timeout-minutes: 15needs: [lint-frontend]steps:@@ -154,7 +154,7 @@ jobs:lint-verification-agent:if: github.ref != 'refs/heads/develop'- runs-on: ubuntu-latest+ runs-on: ubuntu-24.04timeout-minutes: 15steps:- name: Check out code@@ -189,7 +189,7 @@ jobs:test-verification-agent:if: github.ref != 'refs/heads/develop'- runs-on: ubuntu-latest+ runs-on: ubuntu-24.04timeout-minutes: 15needs: [lint-verification-agent]steps:@@ -214,7 +214,7 @@ jobs:e2e-verification-agent:if: github.ref != 'refs/heads/develop'- runs-on: ubuntu-latest+ runs-on: ubuntu-24.04timeout-minutes: 30needs: [lint-verification-agent]steps:@@ -240,7 +240,10 @@ jobs:test-backend:if: github.ref != 'refs/heads/develop'- runs-on: ubuntu-latest+ # 22.04 runs Linux 6.8. ubuntu-24.04 moved to Linux 7.0, where mongod 9.0 exits at startup:+ # its kernel check reads Ubuntu's 7.0.0 release string as an rseq-incompatible kernel+ # (SERVER-121912, SERVER-136848).+ runs-on: ubuntu-22.04timeout-minutes: 90needs: [lint-backend]steps:@@ -349,7 +352,7 @@ jobs:go test -p=8 -count=1 -failfast -timeout 40m ./internal/...test-filesystems:- runs-on: ubuntu-latest+ runs-on: ubuntu-24.04timeout-minutes: 45steps:- name: Check out code@@ -385,7 +388,7 @@ jobs:run: just test-filesystembuild-dev-image:- runs-on: ubuntu-latest+ runs-on: ubuntu-24.04timeout-minutes: 45if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/develop' }}steps:@@ -530,7 +533,7 @@ jobs:include:- arch: amd64platform: linux/amd64- runner: ubuntu-latest+ runner: ubuntu-24.04- arch: arm64platform: linux/arm64runner: ubuntu-24.04-arm@@ -574,7 +577,7 @@ jobs:retention-days: 1merge-dev-image-manifest:- runs-on: ubuntu-latest+ runs-on: ubuntu-24.04timeout-minutes: 10needs: [push-dev-image]if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/develop' }}@@ -612,7 +615,7 @@ jobs:build-image:if: github.ref != 'refs/heads/develop'- runs-on: ubuntu-latest+ runs-on: ubuntu-24.04timeout-minutes: 45needs: [lint-backend, lint-frontend, lint-verification-agent, dockerfile-scan]steps:@@ -746,7 +749,7 @@ jobs:build-verification-image:if: github.ref != 'refs/heads/develop'- runs-on: ubuntu-latest+ runs-on: ubuntu-24.04timeout-minutes: 45needs: [lint-verification-agent, dockerfile-scan]permissions:@@ -772,7 +775,7 @@ jobs:cache-to: type=gha,mode=min,scope=verification-postgres-16-amd64determine-version:- runs-on: ubuntu-latest+ runs-on: ubuntu-24.04timeout-minutes: 10needs: [test-backend, test-frontend, test-verification-agent, e2e-verification-agent, test-filesystems]if: ${{ github.ref == 'refs/heads/main' && !contains(github.event.head_commit.message, '[skip-release]') }}@@ -874,7 +877,7 @@ jobs:include:- arch: amd64platform: linux/amd64- runner: ubuntu-latest+ runner: ubuntu-24.04- arch: arm64platform: linux/arm64runner: ubuntu-24.04-arm@@ -918,7 +921,7 @@ jobs:retention-days: 1merge-image-manifest:- runs-on: ubuntu-latest+ runs-on: ubuntu-24.04timeout-minutes: 10needs: [determine-version, push-image]if: ${{ needs.determine-version.outputs.should_release == 'true' }}@@ -988,7 +991,7 @@ jobs:include:- arch: amd64platform: linux/amd64- runner: ubuntu-latest+ runner: ubuntu-24.04- arch: arm64platform: linux/arm64runner: ubuntu-24.04-arm@@ -1041,7 +1044,7 @@ jobs:retention-days: 1merge-verification-image-manifest:- runs-on: ubuntu-latest+ runs-on: ubuntu-24.04timeout-minutes: 10needs: [determine-version, push-verification-image]if: ${{ needs.determine-version.outputs.should_release == 'true' }}@@ -1084,7 +1087,7 @@ jobs:"${platform_image_refs[@]}"release:- runs-on: ubuntu-latest+ runs-on: ubuntu-24.04timeout-minutes: 10needs: [determine-version, merge-image-manifest]if: ${{ needs.determine-version.outputs.should_release == 'true' }}@@ -1210,7 +1213,7 @@ jobs:prerelease: falsepublish-helm-chart:- runs-on: ubuntu-latest+ runs-on: ubuntu-24.04timeout-minutes: 10needs: [determine-version, merge-image-manifest]if: ${{ needs.determine-version.outputs.should_release == 'true' }}diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.ymlindex b3e674ef..534e63f6 100644--- a/.github/workflows/codeql.yml+++ b/.github/workflows/codeql.yml@@ -20,7 +20,7 @@ concurrency:jobs:analyze:name: Analyze (${{ matrix.language }})- runs-on: ubuntu-latest+ runs-on: ubuntu-24.04permissions:security-events: writeactions: readdiff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.ymlindex 88f56026..d325b2e0 100644--- a/.github/workflows/dependency-review.yml+++ b/.github/workflows/dependency-review.yml@@ -10,7 +10,7 @@ permissions:jobs:dependency-review:- runs-on: ubuntu-latest+ runs-on: ubuntu-24.04steps:- name: Check out codeuses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1diff --git a/.github/workflows/deploy-website.yml b/.github/workflows/deploy-website.ymlindex 59852e72..0db1573d 100644--- a/.github/workflows/deploy-website.yml+++ b/.github/workflows/deploy-website.yml@@ -18,7 +18,7 @@ concurrency:jobs:build:- runs-on: ubuntu-latest+ runs-on: ubuntu-24.04timeout-minutes: 15defaults:run:@@ -68,7 +68,7 @@ jobs:permissions:pages: writeid-token: write- runs-on: ubuntu-latest+ runs-on: ubuntu-24.04timeout-minutes: 15needs: buildsteps:diff --git a/backend/internal/util/testing/containers/mongodb.go b/backend/internal/util/testing/containers/mongodb.goindex 9f6e72bd..a8e3ce0e 100644--- a/backend/internal/util/testing/containers/mongodb.go+++ b/backend/internal/util/testing/containers/mongodb.go@@ -34,15 +34,11 @@ func mongodbReady() wait.Strategy {)}-// GLIBC_TUNABLES stops glibc from registering rseq, which the TCMalloc bundled in mongod needs for-// itself; on Linux 6.19+ (GitHub runners ship 7.0) mongod otherwise exits at startup, see-// SERVER-121912.func mongodbEnv() map[string]string {return map[string]string{"MONGO_INITDB_ROOT_USERNAME": MongodbUsername,"MONGO_INITDB_ROOT_PASSWORD": MongodbPassword,"MONGO_INITDB_DATABASE": MongodbDatabase,- "GLIBC_TUNABLES": "glibc.pthread.rseq=0",}}