diff --git a/.github/workflows/base.yml b/.github/workflows/base.yml index 85a817aa6..1143f451d 100644 --- a/.github/workflows/base.yml +++ b/.github/workflows/base.yml @@ -32,7 +32,7 @@ jobs: test: timeout-minutes: 20 runs-on: ${{ inputs.os }} - name: EventStore.Client.${{ inputs.test }}/${{ inputs.os }}/${{ inputs.framework }}/${{ inputs.docker-tag }} + name: EventStore.Client.${{ inputs.test }} env: CLOUDSMITH_CICD_USER: ${{ secrets.CLOUDSMITH_CICD_USER }} steps: @@ -58,10 +58,6 @@ jobs: 6.0.x 7.0.x 8.0.x - - name: Compile - shell: bash - run: | - dotnet build --configuration ${{ inputs.configuration }} --framework ${{ inputs.framework }} src/EventStore.Client.${{ inputs.test }} - name: Run Tests shell: bash env: diff --git a/.github/workflows/ce.yml b/.github/workflows/ce.yml index 8a0bb2e64..7c05a356f 100644 --- a/.github/workflows/ce.yml +++ b/.github/workflows/ce.yml @@ -21,6 +21,7 @@ jobs: os: [ ubuntu-latest ] test: [ Streams, PersistentSubscriptions, Operations, UserManagement, ProjectionManagement ] configuration: [ release ] + name: ce / ${{ inputs.docker-tag }} (${{ matrix.os }}, ${{ matrix.framework }}) with: docker-tag: ${{ inputs.docker-tag }} docker-image: ${{ inputs.docker-image }} @@ -28,6 +29,3 @@ jobs: os: ${{ matrix.os }} test: ${{ matrix.test }} configuration: ${{ matrix.configuration }} - secrets: - CLOUDSMITH_CICD_USER: ${{ secrets.CLOUDSMITH_CICD_USER }} - CLOUDSMITH_CICD_TOKEN: ${{ secrets.CLOUDSMITH_CICD_TOKEN }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 16e37e13d..0025dda8a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,6 +10,6 @@ on: jobs: test: - uses: ./.github/workflows/base.yml + uses: ./.github/workflows/ce.yml with: docker-tag: ci diff --git a/.github/workflows/dispatch-ce.yml b/.github/workflows/dispatch-ce.yml index fc21b66d6..0ded02353 100644 --- a/.github/workflows/dispatch-ce.yml +++ b/.github/workflows/dispatch-ce.yml @@ -1,13 +1,13 @@ -name: "Dispatch CE" +name: Dispatch CE on: workflow_dispatch: inputs: - version: - description: "Docker tag version" + docker-tag: + description: "Docker tag" required: true type: string - image: + docker-image: description: "Docker image" required: true type: string @@ -16,5 +16,5 @@ jobs: test: uses: ./.github/workflows/ce.yml with: - docker-tag: ${{ inputs.version }} - docker-image: ${{ inputs.image }} + docker-tag: ${{ inputs.docker-tag }} + docker-image: ${{ inputs.docker-image }} diff --git a/.github/workflows/dispatch-ee.yml b/.github/workflows/dispatch-ee.yml index ceaf6921e..a370ffce5 100644 --- a/.github/workflows/dispatch-ee.yml +++ b/.github/workflows/dispatch-ee.yml @@ -1,13 +1,13 @@ -name: "Dispatch EE" +name: Dispatch EE on: workflow_dispatch: inputs: - version: - description: "Docker tag version" + docker-tag: + description: "Docker tag" required: true type: string - image: + docker-image: description: "Docker image" required: true type: string @@ -16,5 +16,5 @@ jobs: test: uses: ./.github/workflows/ee.yml with: - docker-tag: ${{ inputs.version }} - docker-image: ${{ inputs.image }} + docker-tag: ${{ inputs.docker-tag }} + docker-image: ${{ inputs.docker-image }} diff --git a/.github/workflows/ee.yml b/.github/workflows/ee.yml index e59984a50..755e60eed 100644 --- a/.github/workflows/ee.yml +++ b/.github/workflows/ee.yml @@ -10,12 +10,13 @@ on: workflow_call: inputs: docker-tag: - required: true + required: false type: string + default: 24.2.0-jammy docker-image: required: false type: string - default: eventstore-ce/eventstoredb-ce + default: eventstore-ee/eventstoredb-commercial jobs: test: @@ -26,8 +27,9 @@ jobs: matrix: framework: [ net6.0, net7.0, net8.0 ] os: [ ubuntu-latest ] - test: [ Streams, PersistentSubscriptions, Operations, UserManagement, ProjectionManagement, Plugins ] + test: [ Plugins ] configuration: [ release ] + name: ee / ${{ inputs.docker-tag }} (${{ matrix.os }}, ${{ matrix.framework }}) with: docker-image: ${{ inputs.docker-image != null && inputs.docker-image || 'eventstore-ee/eventstoredb-commercial' }} docker-tag: ${{ inputs.docker-tag != null && inputs.docker-tag || '24.2.0-jammy' }} diff --git a/.github/workflows/previous-lts.yml b/.github/workflows/previous-lts.yml index b4a45fa94..4ee88ba58 100644 --- a/.github/workflows/previous-lts.yml +++ b/.github/workflows/previous-lts.yml @@ -10,6 +10,6 @@ on: jobs: test: - uses: ./.github/workflows/base.yml + uses: ./.github/workflows/ce.yml with: docker-tag: previous-lts