ci(docker-compose): test all versions and variations #47
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: "Docker Compose | Test - E2E - Full Setup" | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- docker-compose/versions/** | |
pull_request: | |
paths: | |
- .github/workflows/docker-compose-test-e2e-template.yaml | |
- .github/workflows/docker-compose-test-e2e-full-setup.yaml | |
- docker-compose/versions/** | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref_name }} | |
cancel-in-progress: true | |
jobs: | |
init: | |
name: Generate version matrix | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- name: Generate versions | |
id: generate-versions-matrix | |
uses: ./.github/actions/generate-versions-matrix | |
with: | |
versions-path: "docker-compose/versions/camunda-8.*" | |
outputs: | |
unchanged-versions: ${{ steps.generate-versions-matrix.outputs.unchanged }} | |
exec: | |
needs: [init] | |
name: ${{ matrix.versions.name }} | |
strategy: | |
fail-fast: false | |
matrix: | |
versions: | |
# Camunda 8.3 | |
- name: ⭐ Camunda 8.3 ⭐ | |
camunda-version: "8.3" | |
compose-args: "-f docker-compose.yaml" | |
e2e-test-enabled: false | |
- name: Camunda 8.3 - Core | |
camunda-version: "8.3" | |
compose-args: "-f docker-compose-core.yaml" | |
e2e-test-enabled: false | |
- name: Camunda 8.3 - Web Modeler | |
camunda-version: "8.3" | |
compose-args: "-f docker-compose-web-modeler.yaml" | |
e2e-test-enabled: false | |
# Camunda 8.4 | |
- name: Camunda 8.4 ⭐ | |
camunda-version: "8.4" | |
compose-args: "-f docker-compose.yaml" | |
e2e-test-enabled: false | |
- name: Camunda 8.4 - Core | |
camunda-version: "8.4" | |
compose-args: "-f docker-compose-core.yaml" | |
e2e-test-enabled: false | |
- name: Camunda 8.4 - Web Modeler | |
camunda-version: "8.4" | |
compose-args: "-f docker-compose-web-modeler.yaml" | |
e2e-test-enabled: false | |
# Camunda 8.5 | |
- name: Camunda 8.5 ⭐ | |
camunda-version: "8.5" | |
compose-args: "-f docker-compose.yaml" | |
e2e-test-enabled: false | |
- name: Camunda 8.5 - Core | |
camunda-version: "8.5" | |
compose-args: "-f docker-compose-core.yaml" | |
e2e-test-enabled: false | |
- name: Camunda 8.5 - Web Modeler | |
camunda-version: "8.5" | |
compose-args: "-f docker-compose.yaml -f docker-compose-web-modeler.yaml" | |
e2e-test-enabled: false | |
# Camunda 8.6 | |
- name: Camunda 8.6 ⭐ | |
camunda-version: "8.6" | |
- name: Camunda 8.6 - Core | |
camunda-version: "8.6" | |
compose-args: "-f docker-compose-core.yaml" | |
- name: Camunda 8.6 - Web Modeler | |
camunda-version: "8.6" | |
compose-args: | | |
--profile identity --profile orchestration -- \ | |
-f docker-compose.yaml -f docker-compose-web-modeler.yaml \ | |
e2e-test-enabled: false | |
# Camunda Alpha | |
- name: Camunda Alpha ⭐ | |
camunda-version: "alpha" | |
compose-args: "-f docker-compose.yaml" | |
- name: Camunda Alpha - Core | |
camunda-version: "alpha" | |
compose-args: "-f docker-compose-core.yaml" | |
- name: Camunda Alpha - Web Modeler | |
camunda-version: "alpha" | |
deps-compose-args: "--profile identity --profile orchestration" | |
compose-args: "-f docker-compose-web-modeler.yaml" | |
e2e-test-enabled: false | |
exclude: ${{ fromJson(needs.init.outputs.unchanged-versions) }} | |
uses: ./.github/workflows/docker-compose-test-e2e-template.yaml | |
secrets: inherit | |
with: | |
camunda-version: ${{ matrix.versions.camunda-version }} | |
compose-args: ${{ matrix.versions.compose-args }} | |
e2e-test-enabled: ${{ matrix.versions.e2e-test-enabled }} |