Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
28 changes: 19 additions & 9 deletions .github/workflows/db2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
- master
- 'flowable-release-*'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
test_db2:
name: DB2 ${{ matrix.db2 }}
Expand Down Expand Up @@ -33,12 +37,14 @@ jobs:
--health-timeout 40s
--health-retries 10
steps:
- uses: actions/checkout@v2-beta
- uses: actions/checkout@v4
with:
fetch-depth: 10
- uses: actions/setup-java@v1
- uses: actions/setup-java@v4
with:
java-version: 1.8
distribution: temurin
java-version: 8
cache: maven
- name: Test
# use db2 for the host here because we have specified a container for the job.
# If we were running the job on the VM this would be localhost
Expand Down Expand Up @@ -79,12 +85,14 @@ jobs:
--health-timeout 40s
--health-retries 10
steps:
- uses: actions/checkout@v2-beta
- uses: actions/checkout@v4
with:
fetch-depth: 10
- uses: actions/setup-java@v1
- uses: actions/setup-java@v4
with:
java-version: 1.8
distribution: temurin
java-version: 8
cache: maven
- name: Test
# use db2 for the host here because we have specified a container for the job.
# If we were running the job on the VM this would be localhost
Expand Down Expand Up @@ -126,12 +134,14 @@ jobs:
--health-timeout 40s
--health-retries 10
steps:
- uses: actions/checkout@v2-beta
- uses: actions/checkout@v4
with:
fetch-depth: 10
- uses: actions/setup-java@v1
- uses: actions/setup-java@v4
with:
java-version: 1.8
distribution: temurin
java-version: 8
cache: maven
- name: Test
# use db2 for the host here because we have specified a container for the job.
# If we were running the job on the VM this would be localhost
Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/flowable5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
- master
- 'flowable-release-*'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
test_jdk:
name: Flowable 5 Tests
Expand All @@ -18,9 +22,11 @@ jobs:
-B
--no-transfer-progress
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: 1.8
distribution: temurin
java-version: 8
cache: maven
- name: Build and Test
run: cd scripts && ./run-flowable5-tests.sh
6 changes: 5 additions & 1 deletion .github/workflows/java-ea.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,16 @@ on:
- master
- 'flowable-release-*'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
test_jdk14:
name: Linux (OpenJDK EA)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2-beta
- uses: actions/checkout@v4
with:
fetch-depth: 10
- name: Install
Expand Down
19 changes: 15 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
name: Flowable Main Build

on: [push, pull_request]
on:
push:
branches:
- master
- 'flowable-release-*'
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
test_jdk:
Expand All @@ -9,14 +18,16 @@ jobs:
strategy:
fail-fast: false
matrix:
java: [1.8, 11, 13]
java: [8, 11, 13]
steps:
- uses: actions/checkout@v2-beta
- uses: actions/checkout@v4
with:
fetch-depth: 10
- uses: actions/setup-java@v1
- uses: actions/setup-java@v4
with:
distribution: zulu
java-version: ${{ matrix.java }}
cache: maven
- name: Install
# Need to do install first in order for the OSGi tests to work
run: ./mvnw install -V -B --no-transfer-progress -DskipTests=true -Dmaven.javadoc.skip=true -B -V
Expand Down
28 changes: 19 additions & 9 deletions .github/workflows/mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
- 'flowable-release-*'

# We explicitly don't use a container for running the job since there is some connectivity issues to MySQL if that is done
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
test_mysql:
name: MySQL ${{ matrix.mysql }}
Expand All @@ -30,12 +34,14 @@ jobs:
# needed because the mysql container does not provide a health check
options: --health-cmd="mysqladmin -uflowable -pflowable status" --health-interval 10s --health-timeout 5s --health-retries 5 --tmpfs /var/lib/mysql:rw
steps:
- uses: actions/checkout@v2-beta
- uses: actions/checkout@v4
with:
fetch-depth: 10
- uses: actions/setup-java@v1
- uses: actions/setup-java@v4
with:
java-version: 1.8
distribution: temurin
java-version: 8
cache: maven
- name: Test
# use localhost for the host here because we have specified a vm for the job.
# '>-' is a special YAML syntax and means that new lines would be replaced with spaces
Expand Down Expand Up @@ -71,12 +77,14 @@ jobs:
# needed because the mysql container does not provide a health check
options: --health-cmd="mysqladmin -uflowable -pflowable status" --health-interval 10s --health-timeout 5s --health-retries 5 --tmpfs /var/lib/mysql:rw
steps:
- uses: actions/checkout@v2-beta
- uses: actions/checkout@v4
with:
fetch-depth: 10
- uses: actions/setup-java@v1
- uses: actions/setup-java@v4
with:
java-version: 1.8
distribution: temurin
java-version: 8
cache: maven
- name: Test
# use mysql for the host here because we have specified a container for the job.
# '>-' is a special YAML syntax and means that new lines would be replaced with spaces
Expand Down Expand Up @@ -113,12 +121,14 @@ jobs:
# needed because the mysql container does not provide a health check
options: --health-cmd="mysqladmin -uflowable -pflowable status" --health-interval 10s --health-timeout 5s --health-retries 5 --tmpfs /var/lib/mysql:rw
steps:
- uses: actions/checkout@v2-beta
- uses: actions/checkout@v4
with:
fetch-depth: 10
- uses: actions/setup-java@v1
- uses: actions/setup-java@v4
with:
java-version: 1.8
distribution: temurin
java-version: 8
cache: maven
- name: Test
# use localhost for the host here because we have specified a vm for the job.
# '>-' is a special YAML syntax and means that new lines would be replaced with spaces
Expand Down
28 changes: 19 additions & 9 deletions .github/workflows/postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
- master
- 'flowable-release-*'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
test_postgres:
name: Postgres ${{ matrix.postgres }}
Expand All @@ -25,12 +29,14 @@ jobs:
# needed because the postgres container does not provide a health check
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 --tmpfs /var/lib/postgresql/data:rw
steps:
- uses: actions/checkout@v2-beta
- uses: actions/checkout@v4
with:
fetch-depth: 10
- uses: actions/setup-java@v1
- uses: actions/setup-java@v4
with:
java-version: 1.8
distribution: temurin
java-version: 8
cache: maven
- name: Test
# use postgres for the host here because we have specified a container for the job.
# If we were running the job on the VM this would be localhost
Expand Down Expand Up @@ -63,12 +69,14 @@ jobs:
# needed because the postgres container does not provide a health check
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 --tmpfs /var/lib/postgresql/data:rw
steps:
- uses: actions/checkout@v2-beta
- uses: actions/checkout@v4
with:
fetch-depth: 10
- uses: actions/setup-java@v1
- uses: actions/setup-java@v4
with:
java-version: 1.8
distribution: temurin
java-version: 8
cache: maven
- name: Test
# use postgres for the host here because we have specified a container for the job.
# If we were running the job on the VM this would be localhost
Expand Down Expand Up @@ -102,12 +110,14 @@ jobs:
# needed because the postgres container does not provide a health check
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 --tmpfs /var/lib/postgresql/data:rw
steps:
- uses: actions/checkout@v2-beta
- uses: actions/checkout@v4
with:
fetch-depth: 10
- uses: actions/setup-java@v1
- uses: actions/setup-java@v4
with:
java-version: 1.8
distribution: temurin
java-version: 8
cache: maven
- name: Test
# use postgres for the host here because we have specified a container for the job.
# If we were running the job on the VM this would be localhost
Expand Down
26 changes: 14 additions & 12 deletions .github/workflows/sbom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,19 @@ on:

jobs:
build_java_and_docker:
name: Linux (JDK 13)
name: Linux (JDK 21)
runs-on: ubuntu-latest
env:
IMAGE_NAME: adito/flowable
steps:
- uses: actions/checkout@v2-beta
- uses: actions/checkout@v4
with:
fetch-depth: 10
- uses: actions/setup-java@v1
- uses: actions/setup-java@v4
with:
java-version: 13
distribution: temurin
java-version: 21
cache: maven
- name: Install
run: ./mvnw clean install -V -B --no-transfer-progress -DskipTests=true -Dmaven.javadoc.skip=true -B -V -Pdistro
- name: Build an image from Dockerfile
Expand Down Expand Up @@ -66,12 +68,12 @@ jobs:
run: cosign attach sbom --sbom target/combined-sbom-1.6.json --type cyclonedx $IMAGE_NAME:${{ github.ref_name }}

- name: Upload SBOM to Dependency-Track
uses: DependencyTrack/gh-upload-sbom@48feab3080ff9e8f51f4d21861d9fc914eb744f5
uses: DependencyTrack/gh-upload-sbom@v4.1.0
with:
serverHostname: ${{ secrets.DEPENDENCYTRACK_HOSTNAME }}
apiKey: ${{ secrets.DEPENDENCYTRACK_APIKEY }}
projectName: ${{ github.event.repository.name }}
projectVersion: ${{ github.ref_name }}
projectTags: 'flowable-modeler,${{ github.event.repository.name }}'
bomFilename: "target/combined-sbom-1.6.json"
autoCreate: true
serverhostname: ${{ secrets.DEPENDENCYTRACK_HOSTNAME }}
apikey: ${{ secrets.DEPENDENCYTRACK_APIKEY }}
projectname: ${{ github.event.repository.name }}
projectversion: ${{ github.ref_name }}
projecttags: 'flowable-modeler,${{ github.event.repository.name }}'
bomfilename: "target/combined-sbom-1.6.json"
autocreate: true
Loading
Loading