You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by "rodrigonull (via GitHub)" <gi...@apache.org> on 2024/01/23 19:04:31 UTC
[PR] [DRAFT] kie-issues#850: Move Publish jitexecutor native workflow from KIE Tools [incubator-kie-kogito-apps]
rodrigonull opened a new pull request, #1967:
URL: https://github.com/apache/incubator-kie-kogito-apps/pull/1967
ISSUE: https://github.com/apache/incubator-kie-issues/issues/850
Moved the "Publish jitexecutor native" github workflow from KIE tools.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org
Re: [PR] kie-issues#850: Move Publish jitexecutor native workflow from KIE Tools [incubator-kie-kogito-apps]
Posted by "jstastny-cz (via GitHub)" <gi...@apache.org>.
jstastny-cz commented on code in PR #1967:
URL: https://github.com/apache/incubator-kie-kogito-apps/pull/1967#discussion_r1472784790
##########
.github/workflows/publish-jitexecutor-native.yml:
##########
@@ -0,0 +1,155 @@
+name: "Publish jitexecutor-native"
+
+on:
+ schedule:
+ - cron: '0 16 * * 0' # Every sunday at 4:00PM
+
+jobs:
+ build_jitexecutor_native_binaries:
+ runs-on: ${{ matrix.os }}
+ strategy:
+ fail-fast: true
+ matrix:
+ os: [ubuntu-latest, macos-latest, windows-latest]
+
+ steps:
+ - name: Get current date
+ id: date
+ run: echo "CURRENT_DATE=$(date +'%Y%m%d')" >> "$GITHUB_OUTPUT"
+ shell: bash
+
+ - name: Set version
+ id: version
+ run: |
+ VERSION="999-${{ steps.date.outputs.CURRENT_DATE }}"
+ echo "TAG=$VERSION" >> "$GITHUB_OUTPUT"
+ echo "PROJECT_VERSION=$VERSION-SNAPSHOT" >> "$GITHUB_OUTPUT"
+ echo "NPM_VERSION=999.0.0-${{ steps.date.outputs.CURRENT_DATE }}-SNAPSHOT" >> "$GITHUB_OUTPUT"
+ shell: bash
+
+ - name: "Set long paths for Windows"
+ if: runner.os == 'Windows'
+ run: git config --system core.longpaths true
+
+ - name: "Checkout kie-kogito-apps"
+ uses: actions/checkout@v3
+ with:
+ repository: apache/incubator-kie-kogito-apps
+ ref: ${{ steps.version.outputs.TAG }}
+
+ - name: "Set up Maven"
+ uses: stCarolas/setup-maven@v4.5
+ with:
+ maven-version: 3.9.3
+
+ - name: "Set up JDK 17"
+ if: runner.os != 'Windows'
+ uses: actions/setup-java@v3
+ with:
+ java-version: "17"
+ distribution: "zulu"
Review Comment:
Why this exact distribution?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org
Re: [PR] kie-issues#850: Move Publish jitexecutor native workflow from KIE Tools [incubator-kie-kogito-apps]
Posted by "jstastny-cz (via GitHub)" <gi...@apache.org>.
jstastny-cz commented on code in PR #1967:
URL: https://github.com/apache/incubator-kie-kogito-apps/pull/1967#discussion_r1475971855
##########
.github/workflows/publish-jitexecutor-native.yml:
##########
@@ -0,0 +1,155 @@
+name: "Publish jitexecutor-native"
+
+on:
+ schedule:
+ - cron: '0 16 * * 0' # Every sunday at 4:00PM
+
+jobs:
+ build_jitexecutor_native_binaries:
+ runs-on: ${{ matrix.os }}
+ strategy:
+ fail-fast: true
+ matrix:
+ os: [ubuntu-latest, macos-latest, windows-latest]
+
+ steps:
+ - name: Get current date
+ id: date
+ run: echo "CURRENT_DATE=$(date +'%Y%m%d')" >> "$GITHUB_OUTPUT"
+ shell: bash
+
+ - name: Set version
+ id: version
+ run: |
+ VERSION="999-${{ steps.date.outputs.CURRENT_DATE }}"
+ echo "TAG=$VERSION" >> "$GITHUB_OUTPUT"
+ echo "PROJECT_VERSION=$VERSION-SNAPSHOT" >> "$GITHUB_OUTPUT"
+ echo "NPM_VERSION=999.0.0-${{ steps.date.outputs.CURRENT_DATE }}-SNAPSHOT" >> "$GITHUB_OUTPUT"
+ shell: bash
+
+ - name: "Set long paths for Windows"
+ if: runner.os == 'Windows'
+ run: git config --system core.longpaths true
+
+ - name: "Checkout kie-kogito-apps"
+ uses: actions/checkout@v3
+ with:
+ repository: apache/incubator-kie-kogito-apps
+ ref: ${{ steps.version.outputs.TAG }}
+
+ - name: "Set up Maven"
+ uses: stCarolas/setup-maven@v4.5
+ with:
+ maven-version: 3.9.3
+
+ - name: "Set up JDK 17"
+ if: runner.os != 'Windows'
+ uses: actions/setup-java@v3
+ with:
+ java-version: "17"
+ distribution: "zulu"
Review Comment:
Ack, fair enough.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org
Re: [PR] kie-issues#850: Move Publish jitexecutor native workflow from KIE Tools [incubator-kie-kogito-apps]
Posted by "rodrigonull (via GitHub)" <gi...@apache.org>.
rodrigonull merged PR #1967:
URL: https://github.com/apache/incubator-kie-kogito-apps/pull/1967
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org
Re: [PR] [DRAFT] kie-issues#850: Move Publish jitexecutor native workflow from KIE Tools [incubator-kie-kogito-apps]
Posted by "kie-ci3 (via GitHub)" <gi...@apache.org>.
kie-ci3 commented on PR #1967:
URL: https://github.com/apache/incubator-kie-kogito-apps/pull/1967#issuecomment-1907192675
**PR job** `#10` was: **UNSTABLE**
Possible explanation: This should be test failures
<details>
<summary><b>Reproducer</b></summary>
build-chain build full_downstream -f 'https://raw.githubusercontent.com/${AUTHOR:apache}/incubator-kie-kogito-pipelines/${BRANCH:main}/.ci/buildchain-config-pr-cdb.yaml' -o 'bc' -p apache/incubator-kie-kogito-apps -u https://github.com/apache/incubator-kie-kogito-apps/pull/1967 --skipParallelCheckout
NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution
</details>
Please look here: https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1967/10/display/redirect
**Test results:**
- PASSED: 2848
- FAILED: 1
Those are the test failures:
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1967/10/testReport/org.kie.kogito.index/ProcessDataIndexOracleIT/testProcessInstanceEvents/">org.kie.kogito.index.ProcessDataIndexOracleIT.testProcessInstanceEvents</a></summary>
1 expectation failed.<br/>JSON path data.UserTaskInstances[0].potentialGroups[0] doesn't match.<br/>Expected: managers<br/> Actual: null<br/>
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org
Re: [PR] kie-issues#850: Move Publish jitexecutor native workflow from KIE Tools [incubator-kie-kogito-apps]
Posted by "rodrigonull (via GitHub)" <gi...@apache.org>.
rodrigonull commented on code in PR #1967:
URL: https://github.com/apache/incubator-kie-kogito-apps/pull/1967#discussion_r1475947906
##########
.github/workflows/publish-jitexecutor-native.yml:
##########
@@ -0,0 +1,155 @@
+name: "Publish jitexecutor-native"
+
+on:
+ schedule:
+ - cron: '0 16 * * 0' # Every sunday at 4:00PM
+
+jobs:
+ build_jitexecutor_native_binaries:
+ runs-on: ${{ matrix.os }}
+ strategy:
+ fail-fast: true
+ matrix:
+ os: [ubuntu-latest, macos-latest, windows-latest]
+
+ steps:
+ - name: Get current date
+ id: date
+ run: echo "CURRENT_DATE=$(date +'%Y%m%d')" >> "$GITHUB_OUTPUT"
+ shell: bash
+
+ - name: Set version
+ id: version
+ run: |
+ VERSION="999-${{ steps.date.outputs.CURRENT_DATE }}"
+ echo "TAG=$VERSION" >> "$GITHUB_OUTPUT"
+ echo "PROJECT_VERSION=$VERSION-SNAPSHOT" >> "$GITHUB_OUTPUT"
+ echo "NPM_VERSION=999.0.0-${{ steps.date.outputs.CURRENT_DATE }}-SNAPSHOT" >> "$GITHUB_OUTPUT"
+ shell: bash
+
+ - name: "Set long paths for Windows"
+ if: runner.os == 'Windows'
+ run: git config --system core.longpaths true
+
+ - name: "Checkout kie-kogito-apps"
+ uses: actions/checkout@v3
+ with:
+ repository: apache/incubator-kie-kogito-apps
+ ref: ${{ steps.version.outputs.TAG }}
+
+ - name: "Set up Maven"
+ uses: stCarolas/setup-maven@v4.5
+ with:
+ maven-version: 3.9.3
+
+ - name: "Set up JDK 17"
+ if: runner.os != 'Windows'
+ uses: actions/setup-java@v3
+ with:
+ java-version: "17"
+ distribution: "zulu"
Review Comment:
That is the Azul Zulu OpenJDK distribution. The same distribution is being used in the KIE Tools github actions so I haven't changed that. This is the list of supported distributions in case we want to use another one: https://github.com/actions/setup-java?tab=readme-ov-file#supported-distributions
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org