Skip to content

Propagate externalGroupsWhitelist for bootstrapped OAuth/OIDC identity providers #3931

Propagate externalGroupsWhitelist for bootstrapped OAuth/OIDC identity providers

Propagate externalGroupsWhitelist for bootstrapped OAuth/OIDC identity providers #3931

name: Integration tests on database
on:
pull_request:
branches: [ develop ]
permissions:
pull-requests: read
jobs:
db-integration-test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
database:
- postgresql-15
- postgresql-16
- postgresql-17
- postgresql-18
- mysql-8.0
- mysql-8.4
- mysql-9
container:
image: cfidentity/uaa-${{ matrix.database }}
volumes:
- ${{ github.workspace }}:/root/uaa
options: --privileged --tty --interactive --shm-size=1G
steps:
- name: Set env
run: echo "PROFILE=$(echo ${{ matrix.database }} | sed 's/-[0-9.]*//g')" >> $GITHUB_ENV
- name: Check out repository code
uses: actions/checkout@v7
- name: Integration tests on container
id: testrun
run: /root/uaa/scripts/integration_tests.sh ${PROFILE},default boot
continue-on-error: true
- name: Test result upload
uses: actions/upload-artifact@v7
if: steps.testrun.outcome == 'failure'
with:
name: Server test
path: /root/uaa/*/build/reports/tests/integrationTest/
- name: Check error Result
run: exit 1
if: steps.testrun.outcome == 'failure'
# Standalone Apache Tomcat (version aligned with Spring Boot BOM via writeTomcatDistributionVersion)
tomcat-integration-test:
runs-on: ubuntu-latest
container:
image: cfidentity/uaa-postgresql-15
volumes:
- ${{ github.workspace }}:/root/uaa
options: --privileged --tty --interactive --shm-size=1G
steps:
- name: Set env
run: echo "PROFILE=postgresql,default" >> $GITHUB_ENV
- name: Check out repository code
uses: actions/checkout@v7
- name: Integration tests with standalone Tomcat
id: tomcat_testrun
run: /root/uaa/scripts/tomcat/integration_tests_tomcat.sh "${PROFILE}"
continue-on-error: true
- name: Test result upload (Tomcat)
uses: actions/upload-artifact@v7
if: steps.tomcat_testrun.outcome == 'failure'
with:
name: Tomcat integration tests
path: /root/uaa/*/build/reports/tests/integrationTest/
- name: Check Tomcat job result
run: exit 1
if: steps.tomcat_testrun.outcome == 'failure'