Skip to content

Commit

Permalink
Merge branch 'master' of ssh://github.com/ikaakkola/flowable-engine i…
Browse files Browse the repository at this point in the history
…nto feature/memory-data-managers
  • Loading branch information
Ilkka Kaakkola committed Jan 27, 2023
2 parents f5e84c0 + e75c9c9 commit 42f9a8d
Show file tree
Hide file tree
Showing 5,503 changed files with 9,182 additions and 1,042,990 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion .github/workflows/async-history.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: 1.8
java-version: 17
- name: Install
run: >-
./mvnw clean install
Expand Down
51 changes: 2 additions & 49 deletions .github/workflows/db2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
fetch-depth: 10
- uses: actions/setup-java@v1
with:
java-version: 1.8
java-version: 17
- 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 @@ -89,7 +89,7 @@ jobs:
fetch-depth: 10
- uses: actions/setup-java@v1
with:
java-version: 1.8
java-version: 17
- 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 All @@ -105,50 +105,3 @@ jobs:
-Djdbc.driver=com.ibm.db2.jcc.DB2Driver
-Dmaven.test.redirectTestOutputToFile=false
-pl org.flowable:flowable-dmn-engine -am
test_db2_content:
name: DB2 ${{ matrix.db2 }} Content
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
db2: ["11.5.0.0a"]
services:
db2:
image: ibmcom/db2:${{ matrix.db2 }}
env:
DB2INST1_PASSWORD: flowable
DBNAME: flowable
LICENSE: accept
ARCHIVE_LOGS: false
AUTOCONFIG: false
ports:
- 50000:50000
# needed because the db2 container does not provide a health check
options: >-
--privileged=true
--health-cmd="su - db2inst1 -c \"~/sqllib/bin/db2 connect to flowable && ~/sqllib/bin/db2 connect reset\""
--health-interval 30s
--health-timeout 40s
--health-retries 10
steps:
- uses: actions/checkout@v2-beta
with:
fetch-depth: 10
- uses: actions/setup-java@v1
with:
java-version: 1.8
- 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
# '>-' is a special YAML syntax and means that new lines would be replaced with spaces
# and new lines from the end would be removed
run: >-
./mvnw clean install
${MAVEN_ARGS}
-Pcontent,db2
-Djdbc.url=jdbc:db2://localhost:${{ job.services.db2.ports[50000] }}/flowable
-Djdbc.username=db2inst1
-Djdbc.password=flowable
-Djdbc.driver=com.ibm.db2.jcc.DB2Driver
-Dmaven.test.redirectTestOutputToFile=false
-pl org.flowable:flowable-content-engine -am
14 changes: 3 additions & 11 deletions .github/workflows/docker-release-with-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Set up JDK 11
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '11'
java-version: '17'

- name: Get current project meta
id: meta
Expand All @@ -24,7 +24,7 @@ jobs:
run: |
mvn clean package -B -Dstyle.color=always \
-P dockerDeps,dockerPublishWithLatest \
-pl :flowable-ui-app,:flowable-app-rest \
-pl :flowable-app-rest \
-Ddocker.publisher.user=${{ secrets.DOCKER_USER }} \
-Ddocker.publisher.password=${{ secrets.DOCKER_PASSWORD }}
Expand All @@ -46,18 +46,10 @@ jobs:
env:
COSIGN_PASSWORD: ""
run: |
cosign sign --key cosign.key \
-a "repo=${{ github.repository }}" \
-a "ref=${{ github.sha }}" \
flowable/flowable-ui:${{ steps.meta.outputs.version }}
cosign sign --key cosign.key \
-a "repo=${{ github.repository }}" \
-a "ref=${{ github.sha }}" \
flowable/flowable-rest:${{ steps.meta.outputs.version }}
cosign sign --key cosign.key \
-a "repo=${{ github.repository }}" \
-a "ref=${{ github.sha }}" \
flowable/flowable-ui:latest
cosign sign --key cosign.key \
-a "repo=${{ github.repository }}" \
-a "ref=${{ github.sha }}" \
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/docker-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Set up JDK 11
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '11'
java-version: '17'

- name: Get current project meta
id: meta
Expand All @@ -24,7 +24,7 @@ jobs:
run: |
mvn clean package -B -Dstyle.color=always \
-P dockerDeps,dockerPublish \
-pl :flowable-ui-app,:flowable-app-rest \
-pl :flowable-app-rest \
-D docker.publisher.user=${{ secrets.DOCKER_USER }} \
-D docker.publisher.password=${{ secrets.DOCKER_PASSWORD }}
Expand All @@ -46,10 +46,6 @@ jobs:
env:
COSIGN_PASSWORD: ""
run: |
cosign sign --key cosign.key \
-a "repo=${{ github.repository }}" \
-a "ref=${{ github.sha }}" \
flowable/flowable-ui:${{ steps.meta.outputs.version }}
cosign sign --key cosign.key \
-a "repo=${{ github.repository }}" \
-a "ref=${{ github.sha }}" \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/flowable5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: 1.8
java-version: 17
- name: Build and Test
run: cd scripts && ./run-flowable5-tests.sh
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: false
matrix:
java: [1.8, 11, 13, 17]
java: [17]
steps:
- uses: actions/checkout@v2-beta
with:
Expand Down
46 changes: 2 additions & 44 deletions .github/workflows/mariadb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
fetch-depth: 10
- uses: actions/setup-java@v1
with:
java-version: 1.8
java-version: 17
- 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 @@ -82,7 +82,7 @@ jobs:
fetch-depth: 10
- uses: actions/setup-java@v1
with:
java-version: 1.8
java-version: 17
- name: Test
# use mariadb 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 All @@ -97,45 +97,3 @@ jobs:
-Djdbc.driver=org.mariadb.jdbc.Driver
-Dmaven.test.redirectTestOutputToFile=false
-pl org.flowable:flowable-dmn-engine -am
test_mariadb_content:
name: MariaDB ${{ matrix.mariadb }} Content
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
mariadb: [10.6]
services:
mariadb:
image: mariadb:${{ matrix.mariadb }}
env:
MARIADB_DATABASE: flowable
MARIADB_USER: flowable
MARIADB_PASSWORD: flowable
MARIADB_ROOT_PASSWORD: flowable
ports:
- 3306/tcp
# needed because the mariadb container does not provide a health check
options: --health-cmd="mariadb-admin -uflowable -pflowable status" --health-interval 10s --health-timeout 5s --health-retries 5 --tmpfs /var/lib/mariadb:rw
steps:
- name: "Set MariaDB collation"
run: docker exec ${{ job.services.mariadb.id }} sh -c 'mysql --user=flowable --password=flowable --database=flowable --execute="alter database flowable character set utf8mb4 collate utf8mb4_bin"'
- uses: actions/checkout@v2-beta
with:
fetch-depth: 10
- uses: actions/setup-java@v1
with:
java-version: 1.8
- 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
# and new lines from the end would be removed
run: >-
./mvnw clean install
${MAVEN_ARGS}
-Pcontent,mariadb
-Djdbc.url=jdbc:mariadb://localhost:${{ job.services.mariadb.ports[3306] }}/flowable?characterEncoding=UTF-8
-Djdbc.username=flowable
-Djdbc.password=flowable
-Djdbc.driver=org.mariadb.jdbc.Driver
-Dmaven.test.redirectTestOutputToFile=false
-pl org.flowable:flowable-content-engine -am
46 changes: 2 additions & 44 deletions .github/workflows/mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
fetch-depth: 10
- uses: actions/setup-java@v1
with:
java-version: 1.8
java-version: 17
- 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 @@ -82,7 +82,7 @@ jobs:
fetch-depth: 10
- uses: actions/setup-java@v1
with:
java-version: 1.8
java-version: 17
- 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 All @@ -97,45 +97,3 @@ jobs:
-Djdbc.driver=com.mysql.cj.jdbc.Driver
-Dmaven.test.redirectTestOutputToFile=false
-pl org.flowable:flowable-dmn-engine -am
test_mysql_content:
name: MySQL ${{ matrix.mysql }} Content
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
mysql: [5.7, 8.0]
services:
mysql:
image: mysql:${{ matrix.mysql }}
env:
MYSQL_DATABASE: flowable
MYSQL_USER: flowable
MYSQL_PASSWORD: flowable
MYSQL_ROOT_PASSWORD: flowable
ports:
- 3306/tcp
# 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:
- name: "Set MySQL collation"
run: docker exec ${{ job.services.mysql.id }} sh -c 'mysql --user=flowable --password=flowable --database=flowable --execute="alter database flowable character set utf8mb4 collate utf8mb4_bin"'
- uses: actions/checkout@v2-beta
with:
fetch-depth: 10
- uses: actions/setup-java@v1
with:
java-version: 1.8
- 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
# and new lines from the end would be removed
run: >-
./mvnw clean install
${MAVEN_ARGS}
-Pcontent,mysql
-Djdbc.url=jdbc:mysql://localhost:${{ job.services.mysql.ports[3306] }}/flowable?characterEncoding=UTF-8
-Djdbc.username=flowable
-Djdbc.password=flowable
-Djdbc.driver=com.mysql.cj.jdbc.Driver
-Dmaven.test.redirectTestOutputToFile=false
-pl org.flowable:flowable-content-engine -am
57 changes: 2 additions & 55 deletions .github/workflows/oracle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: 1.8
java-version: 17
- name: Test
# use oracle 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 @@ -99,7 +99,7 @@ jobs:
- uses: actions/checkout@v2-beta
- uses: actions/setup-java@v1
with:
java-version: 1.8
java-version: 17
- name: Test
# use oracle 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 All @@ -117,56 +117,3 @@ jobs:
-Doracle.jdbc.artifact=${{ matrix.driverArtifact }}
-Dmaven.test.redirectTestOutputToFile=false
-pl org.flowable:flowable-dmn-engine -am
test_oracle_content:
name: Oracle ${{ matrix.oracle }} Content
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
oracle: [ "18-slim", "21-slim" ]
include:
- oracle: 18-slim
driverVersion: 18.3.0.0
driverArtifact: ojdbc8
serviceName: XEPDB1
- oracle: 21-slim
driverVersion: 21.6.0.0.1
driverArtifact: ojdbc8
serviceName: XEPDB1
services:
oracle:
image: gvenzl/oracle-xe:${{ matrix.oracle }}
env:
ORACLE_PASSWORD: flowable
APP_USER: flowable
APP_USER_PASSWORD: flowable
ports:
- 1521/tcp
options: >-
--shm-size=2g
--health-cmd healthcheck.sh
--health-interval 20s
--health-timeout 10s
--health-retries 10
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Test
# use oracle 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
# '>-' is a special YAML syntax and means that new lines would be replaced with spaces
# and new lines from the end would be removed
run: >-
./mvnw clean install
${MAVEN_ARGS}
-Pcontent,oracle
-Djdbc.url=jdbc:oracle:thin:@localhost:${{ job.services.oracle.ports[1521] }}/${{ matrix.serviceName }}
-Djdbc.username=flowable
-Djdbc.password=flowable
-Djdbc.driver=oracle.jdbc.driver.OracleDriver
-Doracle.jdbc.version=${{ matrix.driverVersion }}
-Doracle.jdbc.artifact=${{ matrix.driverArtifact }}
-Dmaven.test.redirectTestOutputToFile=false
-pl org.flowable:flowable-content-engine -am
Loading

0 comments on commit 42f9a8d

Please sign in to comment.