Skip to content

Commit 43a0e67

Browse files
committed
feat: fixed version release for CE
1 parent b3540fc commit 43a0e67

3 files changed

Lines changed: 23 additions & 5 deletions

File tree

.github/workflows/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
There are two separate workflows, which are as follows:
44

55
1. [Build, test, and publish CE](./build-test-and-publish-ce.yml) - run on every push and PR to check CE image (public) for all 3 environments (tomcat, wildfly, run). Additionally, it publishes the image on new commits to next and 7.x branches to Docker Hub.
6-
2. [Build and test EE](./build-and-test-ee.yml) - only run on PRs coming from within the repository as it requires secrets, which are not part of forks. It builds and tests the EE image for the same 3 environments but does not publish it. For publishing the `ci-cambpm` Jenkins instance is used.
6+
2. [Build and test EE](build-test-and-publish-ee.yml) - only run on PRs coming from within the repository as it requires secrets, which are not part of forks. It builds and tests the EE image for the same 3 environments but does not publish it. For publishing the `ci-cambpm` Jenkins instance is used.

.github/workflows/build-test-and-publish-ce.yml

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
# Effective 2026-04-24, we no longer publish images to a public Docker Hub.
2-
name: Build, test, and publish CE
3-
on: [pull_request, push, workflow_dispatch]
2+
name: Build, Test, and Publish CE
3+
on:
4+
pull_request:
5+
push:
6+
workflow_dispatch:
7+
inputs:
8+
version:
9+
description: 'Camunda CE version to build, test, and publish (e.g., 7.24.8)'
10+
snapshot:
11+
description: 'Whether the version is a snapshot'
412
jobs:
513
build-and-test:
614
runs-on: ubuntu-22.04
@@ -39,13 +47,17 @@ jobs:
3947
EE: false
4048
NEXUS_PASS: ${{ steps.secrets.outputs.NEXUS_PASS }}
4149
NEXUS_USER: ${{ steps.secrets.outputs.NEXUS_USER }}
50+
VERSION: ${{ github.event.inputs.version }}
51+
SNAPSHOT: ${{ github.event.inputs.snapshot }}
4252
PUSH_REGISTRY: ${{ github.event_name != 'pull_request' && 'registry.camunda.cloud/team-cambpm' || '' }}
4353
- name: Test
4454
run: ./test.sh
4555
working-directory: test
4656
env:
4757
DISTRO: ${{ matrix.DISTRO }}
4858
EE: false
59+
VERSION: ${{ github.event.inputs.version }}
60+
SNAPSHOT: ${{ github.event.inputs.snapshot }}
4961
build-and-test-arm:
5062
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
5163
runs-on: aws-arm-core-4-default
@@ -84,13 +96,17 @@ jobs:
8496
EE: false
8597
NEXUS_PASS: ${{ steps.secrets.outputs.NEXUS_PASS }}
8698
NEXUS_USER: ${{ steps.secrets.outputs.NEXUS_USER }}
99+
VERSION: ${{ github.event.inputs.version }}
100+
SNAPSHOT: ${{ github.event.inputs.snapshot }}
87101
PUSH_REGISTRY: ${{ github.event_name != 'pull_request' && 'registry.camunda.cloud/team-cambpm' || '' }}
88102
- name: Test
89103
run: ./test.sh
90104
working-directory: test
91105
env:
92106
DISTRO: ${{ matrix.DISTRO }}
93107
EE: false
108+
VERSION: ${{ github.event.inputs.version }}
109+
SNAPSHOT: ${{ github.event.inputs.snapshot }}
94110

95111
create-manifests-ce:
96112
if: github.event_name != 'pull_request'
@@ -126,5 +142,7 @@ jobs:
126142
env:
127143
DISTRO: ${{ matrix.DISTRO }}
128144
EE: false
145+
VERSION: ${{ github.event.inputs.version }}
146+
SNAPSHOT: ${{ github.event.inputs.snapshot }}
129147
PUSH_REGISTRY: registry.camunda.cloud/team-cambpm
130148

.github/workflows/build-and-test-ee.yml renamed to .github/workflows/build-test-and-publish-ee.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Effective 2026-04-24, we no longer publish images to a public Docker Hub.
2-
name: Build and Test EE
2+
name: Build, Test, and Publish EE
33

44
on:
55
workflow_dispatch:
66
inputs:
77
version:
8-
description: 'Camunda enterprise version to be tested'
8+
description: 'Camunda EE version to build, test, and publish (e.g., 7.24.8)'
99
snapshot:
1010
description: 'Whether the version is a snapshot'
1111
pull_request:

0 commit comments

Comments
 (0)