feat: optional idp configuration #151
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
pull_request: | |
branches: [main] | |
types: [milestoned, opened, reopened, synchronize] | |
# Abort prior jobs in the same workflow / PR | |
concurrency: | |
group: test-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
docker_build: | |
runs-on: ubuntu-latest | |
name: Test Docker Build | |
permissions: | |
pull-requests: read | |
contents: read | |
steps: | |
- name: Checkout | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Environment setup | |
uses: defenseunicorns/uds-common/.github/actions/setup@5e4414dc25302739063bb58aa96b8afef5be9851 # v0.10.3 | |
- name: Test building the docker image | |
run: uds run dev-build | |
zarf_build: | |
runs-on: ubuntu-latest | |
name: Test Zarf Build | |
permissions: | |
pull-requests: read | |
contents: read | |
steps: | |
- name: Checkout | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Environment setup | |
uses: defenseunicorns/uds-common/.github/actions/setup@5e4414dc25302739063bb58aa96b8afef5be9851 # v0.10.3 | |
- name: Test building a zarf package | |
run: uds run build-zarf-pkg | |
plugin_unit_tests: | |
runs-on: ubuntu-latest | |
name: Keycloak Plugin Unit Tests | |
permissions: | |
pull-requests: read | |
contents: read | |
steps: | |
- name: Checkout | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Environment setup | |
uses: defenseunicorns/uds-common/.github/actions/setup@5e4414dc25302739063bb58aa96b8afef5be9851 # v0.10.3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
- name: Plugin Unit Tests | |
run: mvn -B package --file src/plugin/pom.xml | |
uds_core_base_integration: | |
runs-on: ubuntu-latest | |
name: UDS Core + Identity Config smoke test with base realm.json | |
permissions: | |
pull-requests: read | |
contents: read | |
steps: | |
- name: Checkout | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Environment setup | |
uses: defenseunicorns/uds-common/.github/actions/setup@5e4414dc25302739063bb58aa96b8afef5be9851 # v0.10.3 | |
- name: Smoke Tests | |
run: uds run uds-core-smoke-test | |
uds_core_cypress_integration: | |
runs-on: ubuntu-latest | |
name: UDS Core + Identity Config cypress integration tests | |
permissions: | |
pull-requests: read | |
contents: read | |
steps: | |
- name: Checkout | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Environment setup | |
uses: defenseunicorns/uds-common/.github/actions/setup@5e4414dc25302739063bb58aa96b8afef5be9851 # v0.10.3 | |
- name: Cypress Integration Tests | |
run: uds run uds-core-integration-tests |