diff --git a/.github/workflows/bbw_build_container_rhel.yml b/.github/workflows/bbw_build_container_rhel.yml index de09fd6c4..eb8191290 100644 --- a/.github/workflows/bbw_build_container_rhel.yml +++ b/.github/workflows/bbw_build_container_rhel.yml @@ -73,6 +73,9 @@ jobs: run: | cd ${{ env.WORKDIR }} cat ${{ matrix.dockerfile }} qpress.Dockerfile buildbot-worker.Dockerfile >$GITHUB_WORKSPACE/Dockerfile + if [ "${{ matrix.nogalera }}" == true ]; then + sed -i -e '/ci.mariadb.org\/galera/d' -e '/WSREP_PROVIDER/d' -e '/galera-4/d' $GITHUB_WORKSPACE/Dockerfile + fi cp -r qpress $GITHUB_WORKSPACE - name: Check Dockerfile with hadolint run: | diff --git a/.github/workflows/bbw_build_container_template.yml b/.github/workflows/bbw_build_container_template.yml index 80e29b746..37b3fee1d 100644 --- a/.github/workflows/bbw_build_container_template.yml +++ b/.github/workflows/bbw_build_container_template.yml @@ -31,6 +31,9 @@ on: files: required: false type: string + nogalera: + required: false + type: boolean jobs: build: @@ -67,6 +70,9 @@ jobs: cd ${{ env.WORKDIR }} cat ${{ inputs.dockerfile }} qpress.Dockerfile buildbot-worker.Dockerfile >$GITHUB_WORKSPACE/Dockerfile cp -r qpress $GITHUB_WORKSPACE + if [ "${{ inputs.nogalera }}" == true ]; then + sed -i -e '/ci.mariadb.org\/galera/d' -e '/galera-4/d' -e '/WSREP_PROVIDER/d' $GITHUB_WORKSPACE/Dockerfile + fi - name: Copy files on runner if: ${{ inputs.files }} @@ -78,8 +84,7 @@ jobs: done - name: No wsrep on 32 bit platforms - if: > - (contains(inputs.platforms, 'linux/386')) + if: contains(inputs.platforms, 'linux/386') run: | sed -i -e '/WSREP_PROVIDER/d' $GITHUB_WORKSPACE/Dockerfile - name: Check Dockerfile with hadolint diff --git a/.github/workflows/build-centos-based.yml b/.github/workflows/build-centos-based.yml index ec91460ae..0ca970e3c 100644 --- a/.github/workflows/build-centos-based.yml +++ b/.github/workflows/build-centos-based.yml @@ -27,9 +27,13 @@ jobs: platforms: linux/amd64, linux/arm64/v8 - image: rockylinux:8 platforms: linux/amd64, linux/arm64/v8 + + - nogalera: false + uses: ./.github/workflows/bbw_build_container_template.yml with: dockerfile: centos.Dockerfile image: ${{ matrix.image }} platforms: ${{ matrix.platforms }} + nogalera: ${{ matrix.nogalera }} secrets: inherit diff --git a/.github/workflows/build-centos.pip-based.yml b/.github/workflows/build-centos.pip-based.yml index 0ece5a988..6dd6dd392 100644 --- a/.github/workflows/build-centos.pip-based.yml +++ b/.github/workflows/build-centos.pip-based.yml @@ -37,6 +37,8 @@ jobs: tag: centosstream9 runner: ubuntu-24.04 + - nogalera: false + uses: ./.github/workflows/bbw_build_container_template.yml with: dockerfile: centos.Dockerfile pip.Dockerfile @@ -44,4 +46,5 @@ jobs: platforms: ${{ matrix.platforms }} runner: ${{ matrix.runner }} tag: ${{ matrix.tag }} + nogalera: ${{ matrix.nogalera }} secrets: inherit diff --git a/.github/workflows/build-debian-based.yml b/.github/workflows/build-debian-based.yml index 74c5e0dff..03e1324a8 100644 --- a/.github/workflows/build-debian-based.yml +++ b/.github/workflows/build-debian-based.yml @@ -63,6 +63,8 @@ jobs: platforms: linux/amd64, linux/arm64/v8, linux/ppc64le, linux/s390x branch: 10.11 + - nogalera: false + uses: ./.github/workflows/bbw_build_container_template.yml with: dockerfile: debian.Dockerfile @@ -70,4 +72,5 @@ jobs: platforms: ${{ matrix.platforms }} tag: ${{ matrix.tag }} branch: ${{ matrix.branch }} + nogalera: ${{ matrix.nogalera }} secrets: inherit diff --git a/.github/workflows/build-debian.msan-based.yml b/.github/workflows/build-debian.msan-based.yml index 0db383181..fd973be86 100644 --- a/.github/workflows/build-debian.msan-based.yml +++ b/.github/workflows/build-debian.msan-based.yml @@ -37,6 +37,8 @@ jobs: tag: debian11-msan-clang-16 clang_version: 16 + - nogalera: false + uses: ./.github/workflows/bbw_build_container_template.yml with: dockerfile: debian.Dockerfile msan.Dockerfile @@ -45,4 +47,5 @@ jobs: tag: ${{ matrix.tag }} branch: ${{ matrix.branch }} clang_version: ${{ matrix.clang_version }} + nogalera: ${{ matrix.nogalera }} secrets: inherit diff --git a/.github/workflows/build-fedora-based.yml b/.github/workflows/build-fedora-based.yml index e6fa6c7a1..b4e6ebbe3 100644 --- a/.github/workflows/build-fedora-based.yml +++ b/.github/workflows/build-fedora-based.yml @@ -37,6 +37,8 @@ jobs: tag: fedora40-valgrind install_valgrind: "true" + - nogalera: false + uses: ./.github/workflows/bbw_build_container_template.yml with: dockerfile: fedora.Dockerfile @@ -44,4 +46,5 @@ jobs: platforms: ${{ matrix.platforms }} tag: ${{ matrix.tag }} install_valgrind: ${{ matrix.install_valgrind }} + nogalera: ${{ matrix.nogalera }} secrets: inherit diff --git a/.github/workflows/build-opensuse.pip-based.yml b/.github/workflows/build-opensuse.pip-based.yml index d99a48076..331d04ba0 100644 --- a/.github/workflows/build-opensuse.pip-based.yml +++ b/.github/workflows/build-opensuse.pip-based.yml @@ -30,12 +30,16 @@ jobs: - image: opensuse/leap:15.6 platforms: linux/amd64 tag: opensuse15 + + - nogalera: false + uses: ./.github/workflows/bbw_build_container_template.yml with: dockerfile: opensuse.Dockerfile pip.Dockerfile image: ${{ matrix.image }} platforms: ${{ matrix.platforms }} tag: ${{ matrix.tag }} + nogalera: ${{ matrix.nogalera }} files: '[ {"name": "mariadb_zypper_expect", "source": "''$WORKDIR/mariadb_zypper_expect''", "target": "''$GITHUB_WORKSPACE''"} diff --git a/.github/workflows/build-sles.pip-based.yml b/.github/workflows/build-sles.pip-based.yml index 05318972e..2f8230e98 100644 --- a/.github/workflows/build-sles.pip-based.yml +++ b/.github/workflows/build-sles.pip-based.yml @@ -31,12 +31,16 @@ jobs: - image: registry.suse.com/bci/bci-base:15.6 platforms: linux/amd64, linux/s390x tag: sles15 + + - nogalera: false + uses: ./.github/workflows/bbw_build_container_template.yml with: dockerfile: sles.Dockerfile pip.Dockerfile image: ${{ matrix.image }} platforms: ${{ matrix.platforms }} tag: ${{ matrix.tag }} + nogalera: ${{ matrix.nogalera }} files: '[ {"name": "mariadb_zypper_expect", "source": "''$WORKDIR/mariadb_zypper_expect''", "target": "''$GITHUB_WORKSPACE''"}