Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
4a1d541
Upgraded to camunda-7.21.12-ee
Sep 8, 2025
578fa62
Upgraded to Camunda 7.23.00-ee
Sep 9, 2025
ece801a
Fix download camunda
Sep 9, 2025
6ff3263
Fix more unit tests
Sep 9, 2025
2b0e199
Small changes to shutdown some Daemon's manually
Sep 10, 2025
2a26f32
Changed to thread-safe AtomicBoolean
Sep 11, 2025
3665a76
Run again
Sep 11, 2025
b4d672c
Try to fix Advanced Tests, hope this makes it pass again
Sep 11, 2025
8ac095b
Try Advanced tests again
Sep 11, 2025
d039669
Updated spring framework to version 6.2.4 to match Camunda 7.23.0
Sep 11, 2025
e078ed2
Updated commons-lang to commons-lang3 3.17
Sep 15, 2025
56d2d14
Updated commons-io, log4j, slf4j, commons-fileupload
Sep 15, 2025
a93e315
Updated some dependency versions, commons-compress, commons-configura…
Sep 15, 2025
dc11932
Merge branch 'develop' into upgrade-camunda-7.23.00-ee
Sep 16, 2025
624d588
Prevent CONTEXT is null error in Github Actions, and convert some Sys…
Sep 17, 2025
640e493
Added Show Logs
Sep 17, 2025
bfa4977
Add more Show CWS Logs
Sep 17, 2025
4befb3d
Added more Spring Context checking
Sep 17, 2025
cb9a19a
Updated dependency versions
Sep 17, 2025
2467423
Added maven enforcer, updated some dependency versions
Sep 18, 2025
1d6c186
Added back in
Sep 18, 2025
b2bf15e
Updated to solve Exception on Github Actions, and increased from 10 t…
Sep 18, 2025
179780c
Added many version variables and cleaned up pom.xml files
Sep 18, 2025
217f7f2
Fixed testing failure
Sep 18, 2025
b3dc626
Added dependency-check and updated many dependency versions
Sep 19, 2025
6e053ee
Updated more versions using the versions plugin and the OWASP depende…
Sep 19, 2025
f70fdf1
Update to use ObjectMapper instead
Sep 22, 2025
462bade
- Cleaned out old dependencies
Sep 23, 2025
27a9100
More cleanup, and replaced dumpster with greenmail
Sep 23, 2025
fe496a2
Replaced grizzly with jetty
Sep 23, 2025
22c0e4a
Small cleanup
Sep 23, 2025
6a61a2d
Run CI again
Sep 23, 2025
3bbd879
Run again, should pass
Sep 23, 2025
c206e10
Added new dependencies that were used but missing. Removes warning o…
Sep 24, 2025
67cfe8d
Added some optimizations to cws-core
Sep 24, 2025
1baf1e3
Updated a few dependency versions, and updated Camunda to 7.23.5-ee
Sep 25, 2025
5c8495a
Put camunda back to 7.23.0-ee
Sep 25, 2025
6fd3cce
Small updates
Sep 26, 2025
e896b15
Improve maven caching
Sep 26, 2025
c9e3acd
Try to fix missing logging
Sep 26, 2025
9c6a7db
Update the caching
Sep 26, 2025
a2f6b58
Made common dependencies with Camunda match version numbers
Sep 26, 2025
12ca773
Revert selenium version to get to pass again
Sep 26, 2025
931431a
Update version to fix failure
Sep 26, 2025
88a7852
Updated jersey version
Sep 26, 2025
b8c35b6
Run Docker CI
Sep 26, 2025
5694f79
Added for security to download Camunda EE
Sep 29, 2025
ab124c1
Added Cache Maven
Sep 29, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
184 changes: 175 additions & 9 deletions .github/workflows/camunda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- cron: '0 12 * * 1'

env:
TEAM: ("jamesfwood" "voxparcxls" "galenhollins" "galenatjpl" "jeffreypon")
TEAM: ("jamesfwood" "jdrodjpl" "jl-0")

jobs:

Expand Down Expand Up @@ -39,6 +39,27 @@ jobs:
java-version: '17'
distribution: 'temurin'

# Configure Maven security (master password)
- name: Configure Maven security
run: |
mkdir -p ~/.m2
echo "<settingsSecurity>
<master>${{ secrets.MAVEN_MASTER_PASSWORD }}</master>
</settingsSecurity>" > ~/.m2/settings-security.xml

# Configure Maven settings (encrypted repo password)
- name: Configure Maven settings
run: |
echo "<settings>
<servers>
<server>
<id>${{ secrets.MAVEN_REPO_ID }}</id>
<username>${{ secrets.MAVEN_USERNAME }}</username>
<password>${{ secrets.MAVEN_ENCRYPTED_PASSWORD }}</password>
</server>
</servers>
</settings>" > ~/.m2/settings.xml

- name: Cache Maven packages
uses: actions/cache@v4
with:
Expand All @@ -47,6 +68,13 @@ jobs:
restore-keys: |
${{ runner.os }}-m2-

- name: Configure Camunda Download Credentials
run: |
echo "machine downloads.camunda.cloud
login ${{ secrets.CAMUNDA_DOWNLOAD_LOGIN }}
password ${{ secrets.CAMUNDA_DOWNLOAD_PASSWORD }}" > ~/.netrc
chmod 400 ~/.netrc

- name: Create open-source certs
run: |
cd cws-certs
Expand All @@ -58,7 +86,16 @@ jobs:
mkdir ~/.cws/
chmod 700 ~/.cws/
echo ${{ secrets.KEYSTORE_PASSWORD }} > ~/.cws/creds
chmod 600 ~/.cws/creds
chmod 400 ~/.cws/creds

- name: Write license to file
run: |
mkdir -p ~/.camunda
chmod 700 ~/.camunda
cat <<'EOF' > ~/.camunda/license.txt
${{ secrets.CAMUNDA_LICENSE }}
EOF
chmod 400 ~/.camunda/license.txt

- name: Download Logstash
run: |
Expand All @@ -79,17 +116,37 @@ jobs:
sleep 5s
docker ps -a

- name: Build CWS
- name: Cache Dependency-Check data
uses: actions/cache@v4
with:
path: ~/.dependency-check-data
key: ${{ runner.os }}-dependency-check
restore-keys: |
${{ runner.os }}-dependency-check

- name: Run Dependency Check
run: mvn clean dependency-check:aggregate
shell: bash
env:
NVD_API_KEY: ${{ secrets.NVD_API_KEY }}

- name: Upload Dependency Check Report
uses: actions/upload-artifact@v4
with:
name: dependency-check-report
path: target/dependency-check-reports/dependency-check-report.html

- name: Build and Start CWS
id: build
run: |
cd ci
chmod +x run_ci.sh
./run_ci.sh $SECURITY $WORKERS
shell: bash

- name: Show CWS Log
- name: List CWS Logs
run: |
cd dist/console-only/cws/server/apache-tomcat-9.0.75/logs
cd "dist/console-only/cws/server/apache-tomcat-10.1.36/logs"
ls -al

- name: Set up Google Chrome
Expand Down Expand Up @@ -123,6 +180,36 @@ jobs:
name: test-screenshots
path: test-screenshots/

- name: Show CWS Log for Console
if: always()
working-directory: dist/console-only/cws/server/apache-tomcat-10.1.36/logs
run: |
cat cws.log

- name: Show Catalina Log for Console
if: always()
working-directory: dist/console-only/cws/server/apache-tomcat-10.1.36/logs
run: |
cat catalina.out

- name: Show CWS Log for Worker1
if: always()
working-directory: dist/worker1/cws/server/apache-tomcat-10.1.36/logs
run: |
cat cws.log

- name: Show Catalina Log for Worker1
if: always()
working-directory: dist/worker1/cws/server/apache-tomcat-10.1.36/logs
run: |
cat catalina.out

- name: Cleanup Private files
if: always()
run: |
rm -rf ~/.camunda
rm -f ~/.netrc

- name: Send custom JSON data to Slack workflow
if: ${{ always() && contains(env.TEAM, github.actor) }}
id: slack
Expand Down Expand Up @@ -173,6 +260,27 @@ jobs:
java-version: '17'
distribution: 'temurin'

# Configure Maven security (master password)
- name: Configure Maven security
run: |
mkdir -p ~/.m2
echo "<settingsSecurity>
<master>${{ secrets.MAVEN_MASTER_PASSWORD }}</master>
</settingsSecurity>" > ~/.m2/settings-security.xml

# Configure Maven settings (encrypted repo password)
- name: Configure Maven settings
run: |
echo "<settings>
<servers>
<server>
<id>${{ secrets.MAVEN_REPO_ID }}</id>
<username>${{ secrets.MAVEN_USERNAME }}</username>
<password>${{ secrets.MAVEN_ENCRYPTED_PASSWORD }}</password>
</server>
</servers>
</settings>" > ~/.m2/settings.xml

- name: Cache Maven packages
uses: actions/cache@v4
with:
Expand All @@ -181,6 +289,13 @@ jobs:
restore-keys: |
${{ runner.os }}-m2-

- name: Configure Camunda Download Credentials
run: |
echo "machine downloads.camunda.cloud
login ${{ secrets.CAMUNDA_DOWNLOAD_LOGIN }}
password ${{ secrets.CAMUNDA_DOWNLOAD_PASSWORD }}" > ~/.netrc
chmod 400 ~/.netrc

- name: Create open-source certs
run: |
cd cws-certs
Expand All @@ -192,7 +307,16 @@ jobs:
mkdir ~/.cws/
chmod 700 ~/.cws/
echo ${{ secrets.KEYSTORE_PASSWORD }} > ~/.cws/creds
chmod 600 ~/.cws/creds
chmod 400 ~/.cws/creds

- name: Write license to file
run: |
mkdir -p ~/.camunda
chmod 700 ~/.camunda
cat <<'EOF' > ~/.camunda/license.txt
${{ secrets.CAMUNDA_LICENSE }}
EOF
chmod 400 ~/.camunda/license.txt

- name: Download Logstash
run: |
Expand All @@ -213,17 +337,17 @@ jobs:
sleep 5s
docker ps -a

- name: Build CWS
- name: Build and Start CWS
id: build
run: |
cd ci
chmod +x run_ci.sh
./run_ci.sh $SECURITY $WORKERS
shell: bash

- name: Show CWS Log
- name: List CWS Logs
run: |
cd dist/console-only/cws/server/apache-tomcat-9.0.75/logs
cd dist/console-only/cws/server/apache-tomcat-10.1.36/logs
ls -al

- name: Set up Google Chrome
Expand All @@ -246,6 +370,48 @@ jobs:
name: test-screenshots-advanced
path: test-screenshots/

- name: Show CWS Log for Console
if: always()
working-directory: dist/console-only/cws/server/apache-tomcat-10.1.36/logs
run: |
cat cws.log

- name: Show Catalina Log for Console
if: always()
working-directory: dist/console-only/cws/server/apache-tomcat-10.1.36/logs
run: |
cat catalina.out

- name: Show CWS Log for Worker1
if: always()
working-directory: dist/worker1/cws/server/apache-tomcat-10.1.36/logs
run: |
cat cws.log

- name: Show Catalina Log for Worker1
if: always()
working-directory: dist/worker1/cws/server/apache-tomcat-10.1.36/logs
run: |
cat catalina.out

- name: Show CWS Log for Worker2
if: always()
working-directory: dist/worker2/cws/server/apache-tomcat-10.1.36/logs
run: |
cat cws.log

- name: Show Catalina Log for Worker2
if: always()
working-directory: dist/worker2/cws/server/apache-tomcat-10.1.36/logs
run: |
cat catalina.out

- name: Cleanup Private files
if: always()
run: |
rm -rf ~/.camunda
rm -f ~/.netrc

- name: Send custom JSON data to Slack workflow
if: ${{ always() && contains(env.TEAM, github.actor) }}
id: slack
Expand Down
60 changes: 56 additions & 4 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
name: Docker Build
name: CWS Docker Build

# Triggers the workflow on push
on:
push:
branches: [main, develop, docker_build] # Adjust branches as needed
pull_request:
branches: [main] # Adjust branches as needed
schedule:
# trigger a build and test of CWS weekly on Monday at 5 AM PST / 12 PM UTC
- cron: '0 12 * * 1'

permissions:
contents: read
Expand Down Expand Up @@ -57,6 +58,51 @@ jobs:
cd cws-certs
./generate-certs.sh

# Configure Maven security (master password)
- name: Configure Maven security
run: |
mkdir -p ~/.m2
echo "<settingsSecurity>
<master>${{ secrets.MAVEN_MASTER_PASSWORD }}</master>
</settingsSecurity>" > ~/.m2/settings-security.xml

# Configure Maven settings (encrypted repo password)
- name: Configure Maven settings
run: |
echo "<settings>
<servers>
<server>
<id>${{ secrets.MAVEN_REPO_ID }}</id>
<username>${{ secrets.MAVEN_USERNAME }}</username>
<password>${{ secrets.MAVEN_ENCRYPTED_PASSWORD }}</password>
</server>
</servers>
</settings>" > ~/.m2/settings.xml

- name: Cache Maven packages
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-m2-

- name: Configure Camunda Download Credentials
run: |
echo "machine downloads.camunda.cloud
login ${{ secrets.CAMUNDA_DOWNLOAD_LOGIN }}
password ${{ secrets.CAMUNDA_DOWNLOAD_PASSWORD }}" > ~/.netrc
chmod 400 ~/.netrc

- name: Write license to file
run: |
mkdir -p ~/.camunda
chmod 700 ~/.camunda
cat <<'EOF' > ~/.camunda/license.txt
${{ secrets.CAMUNDA_LICENSE }}
EOF
chmod 400 ~/.camunda/license.txt

- name: Build CWS Docker Image using script
run: |
chmod +x build.sh
Expand Down Expand Up @@ -136,3 +182,9 @@ jobs:
echo "Still waiting for CWS console... ($ELAPSED/$MAX_WAIT seconds)"
done
working-directory: install/docker/console-db-es-ls-kibana # Ensure correct context for docker-compose logs

- name: Cleanup Private files
if: always()
run: |
rm -rf ~/.camunda
rm -f ~/.netrc
Loading