From 2a14050abdc96a674acfea87392141521faeb2b7 Mon Sep 17 00:00:00 2001 From: Nolan Ehrstrom Date: Mon, 14 Sep 2026 11:31:51 -0700 Subject: [PATCH 1/4] Enable octane in cicd --- .github/scripts/deploy-instance.sh | 2 ++ .github/workflows/deploy-pm4.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/scripts/deploy-instance.sh b/.github/scripts/deploy-instance.sh index e1d5be4..ccf185c 100644 --- a/.github/scripts/deploy-instance.sh +++ b/.github/scripts/deploy-instance.sh @@ -28,11 +28,13 @@ if ! kubectl get namespace/ci-{{INSTANCE}}-ns-pm4 >/dev/null 2>&1; then echo "Removing Job" kubectl delete job mysql-setup-job-ci-{{INSTANCE}} echo "Deploying Instance :: ci-{{INSTANCE}}" + echo "OCTANE: ${OCTANE}" cat .github/templates/instance.yaml # Evaluate the command and store the result APP_VERSION=$(echo "$CI_PROJECT-$CI_PACKAGE_BRANCH" | sed "s;/;-;g" | sed "s/refs-heads-//g") helm install --timeout 75m -f .github/templates/instance.yaml ci-{{INSTANCE}} processmaker/enterprise \ + --set deploy.web.octane.enable=${OCTANE} \ --set deploy.pmai.openaiApiKey=${OPENAI_API_KEY} \ --set analytics.awsAccessKey=${ANALYTICS_AWS_ACCESS_KEY} \ --set analytics.awsSecretKey=${ANALYTICS_AWS_SECRET_KEY} \ diff --git a/.github/workflows/deploy-pm4.yml b/.github/workflows/deploy-pm4.yml index 14835ab..7416ca6 100644 --- a/.github/workflows/deploy-pm4.yml +++ b/.github/workflows/deploy-pm4.yml @@ -31,6 +31,7 @@ env: GIT_TOKEN: ${{ secrets.GIT_TOKEN }} BUILD_BASE: ${{ (contains(github.event.pull_request.body, 'ci:build-base') || github.event_name == 'schedule') && '1' || '0' }} MULTITENANCY: ${{ (contains(github.event.pull_request.body, 'ci:multitenancy')) && 'true' || 'false' }} + OCTANE: ${{ contains(github.event.pull_request.body, 'ci:no-octane') && 'false' || 'true' }} BASE_IMAGE: ${{ secrets.REGISTRY_HOST }}/processmaker/processmaker:base CUSTOMER_LICENSES_PAT: ${{ secrets.CUSTOMER_LICENSES_PAT }} SKIP_REDEPLOY: ${{ (contains(github.event.pull_request.body, 'ci:skip-redeploy')) && 'true' || 'false' }} @@ -200,6 +201,7 @@ jobs: RDS_ADMIN_PASSWORD: ${{ secrets.RDS_ADMIN_PASSWORD }} AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + OCTANE: ${{ env.OCTANE }} run: | instance=$(echo -n ${{env.IMAGE_TAG}} | md5sum | head -c 10) echo "INSTANCE: $instance" From bdcceaddb8f904f05d77a9014d6957fa732c3a0c Mon Sep 17 00:00:00 2001 From: Nolan Ehrstrom Date: Mon, 14 Sep 2026 14:40:20 -0700 Subject: [PATCH 2/4] Use same branch Co-authored-by: Cursor --- .github/workflows/deploy-pm4.yml | 2 +- .gitignore | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy-pm4.yml b/.github/workflows/deploy-pm4.yml index 7416ca6..598f2bc 100644 --- a/.github/workflows/deploy-pm4.yml +++ b/.github/workflows/deploy-pm4.yml @@ -145,7 +145,7 @@ jobs: uses: actions/checkout@v4 with: repository: processmaker/.github - ref: main + ref: enable-octane-cicd - name: Common uses: ./.github/actions/common diff --git a/.gitignore b/.gitignore index 3ff048c..01d63c2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ .DS_Store .envrc +pm4-eng.yaml From ae8aca9ec45b73fc22f70ffe97d5ab17b15ba0b9 Mon Sep 17 00:00:00 2001 From: Nolan Ehrstrom Date: Tue, 22 Sep 2026 13:45:00 -0700 Subject: [PATCH 3/4] Make multitenancy the default --- .github/workflows/deploy-pm4.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-pm4.yml b/.github/workflows/deploy-pm4.yml index 598f2bc..e7a0d87 100644 --- a/.github/workflows/deploy-pm4.yml +++ b/.github/workflows/deploy-pm4.yml @@ -30,7 +30,7 @@ env: DOM_EKS: ${{ secrets.DOM_EKS }} GIT_TOKEN: ${{ secrets.GIT_TOKEN }} BUILD_BASE: ${{ (contains(github.event.pull_request.body, 'ci:build-base') || github.event_name == 'schedule') && '1' || '0' }} - MULTITENANCY: ${{ (contains(github.event.pull_request.body, 'ci:multitenancy')) && 'true' || 'false' }} + MULTITENANCY: ${{ contains(github.event.pull_request.body, 'ci:single-tenant') && 'false' || 'true' }} OCTANE: ${{ contains(github.event.pull_request.body, 'ci:no-octane') && 'false' || 'true' }} BASE_IMAGE: ${{ secrets.REGISTRY_HOST }}/processmaker/processmaker:base CUSTOMER_LICENSES_PAT: ${{ secrets.CUSTOMER_LICENSES_PAT }} From a9ed36f7642ac4357958907b3b21311cabafb021 Mon Sep 17 00:00:00 2001 From: Nolan Ehrstrom Date: Tue, 22 Sep 2026 13:52:33 -0700 Subject: [PATCH 4/4] Change checkout reference from enable-octane-cicd to main --- .github/workflows/deploy-pm4.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-pm4.yml b/.github/workflows/deploy-pm4.yml index e7a0d87..3ca81e0 100644 --- a/.github/workflows/deploy-pm4.yml +++ b/.github/workflows/deploy-pm4.yml @@ -145,7 +145,7 @@ jobs: uses: actions/checkout@v4 with: repository: processmaker/.github - ref: enable-octane-cicd + ref: main - name: Common uses: ./.github/actions/common