From c84633aa9752d3df6dfd520b97c1de1240f78dd3 Mon Sep 17 00:00:00 2001 From: Daniel Black Date: Sat, 10 Aug 2024 08:51:57 +1000 Subject: [PATCH] ci: different operator test for ubi --- .github/workflows/ci.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eca34c89..51627263 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -102,8 +102,13 @@ jobs: - name: push if: ${{ env.DEPLOY_IMAGES == 'true' }} run: docker push ghcr.io/mariadb/mariadb:${{ matrix.name }} - - name: MariaDB Operator Test - if: ${{ env.DEPLOY_IMAGES == 'true' }} + - name: MariaDB Operator Test (non-UBI) + if: ${{ env.DEPLOY_IMAGES == 'true' && !endWith( matrix.name, 'ubi') }} run: gh workflow run test-image.yml --repo mariadb-operator/mariadb-operator -f mariadb_image=ghcr.io/mariadb/mariadb:${{ matrix.name }} env: GITHUB_TOKEN: "${{ secrets.MARIADB_OPERATOR_TOKEN }}" + - name: MariaDB Operator Test (UBI) + if: ${{ env.DEPLOY_IMAGES == 'true' && endWith( matrix.name, 'ubi') }} + run: gh workflow run test-image-ent.yml --repo mariadb-operator/mariadb-operator -f mariadb_image=ghcr.io/mariadb/mariadb:${{ matrix.name }} + env: + GITHUB_TOKEN: "${{ secrets.MARIADB_OPERATOR_TOKEN }}"