diff --git a/.github/workflows/cicd.yaml b/.github/workflows/cicd.yaml index 01ef98683b5..dbaa1344491 100644 --- a/.github/workflows/cicd.yaml +++ b/.github/workflows/cicd.yaml @@ -41,6 +41,8 @@ jobs: container: image: ghcr.io/4paradigm/hybridsql:latest env: + ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16 + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true OS: linux SQL_PYSDK_ENABLE: OFF TESTING_ENABLE: ON @@ -106,7 +108,7 @@ jobs: - name: upload unit test results if: always() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: name: linux-ut-result-cpp-${{ github.sha }} # exclude _deps xml @@ -127,7 +129,7 @@ jobs: - name: upload artifacts if: ${{ github.event_name == 'push' }} - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: path: openmldb-*.tar.gz name: release-artifacts @@ -207,14 +209,14 @@ jobs: - name: upload artifacts if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') }} - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: path: openmldb-*.tar.gz name: release-artifacts - name: Upload Event File if: always() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: name: event-file path: ${{ github.event_path }} diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index f4323458eb3..613a4e270e4 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -78,7 +78,7 @@ jobs: df -h - name: upload coverage - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: # include the generated html report in build/coverage, great for local diagnose name: coverage-cpp-${{ github.sha }} diff --git a/.github/workflows/devops-test.yml b/.github/workflows/devops-test.yml index 7f85941d8e9..bd03ddbf019 100644 --- a/.github/workflows/devops-test.yml +++ b/.github/workflows/devops-test.yml @@ -25,6 +25,8 @@ jobs: container: image: ghcr.io/4paradigm/hybridsql:latest env: + ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16 + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true OS: linux steps: - uses: actions/checkout@v2 @@ -51,6 +53,8 @@ jobs: container: image: ghcr.io/4paradigm/hybridsql:latest env: + ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16 + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true OS: linux steps: - uses: actions/checkout@v2 @@ -77,6 +81,8 @@ jobs: container: image: ghcr.io/4paradigm/hybridsql:latest env: + ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16 + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true OS: linux steps: - uses: actions/checkout@v2 @@ -103,6 +109,8 @@ jobs: container: image: ghcr.io/4paradigm/hybridsql:latest env: + ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16 + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true OS: linux steps: - uses: actions/checkout@v2 @@ -135,6 +143,8 @@ jobs: container: image: ghcr.io/4paradigm/hybridsql:latest env: + ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16 + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true OS: linux steps: - uses: actions/checkout@v2 @@ -167,6 +177,8 @@ jobs: container: image: ghcr.io/4paradigm/hybridsql:latest env: + ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16 + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true OS: linux steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/hybridse-ci.yml b/.github/workflows/hybridse-ci.yml index 920e9687eb7..ad8588d37f0 100644 --- a/.github/workflows/hybridse-ci.yml +++ b/.github/workflows/hybridse-ci.yml @@ -28,6 +28,8 @@ jobs: container: image: ghcr.io/4paradigm/hybridsql:latest env: + ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16 + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true TESTING_ENABLE_STRIP: ON # ref https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/ ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true @@ -44,7 +46,7 @@ jobs: - name: Upload Cpp UT Results if: always() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: name: linux-ut-result-cpp-${{ github.sha }} path: | @@ -83,14 +85,14 @@ jobs: - name: Upload Event File if: always() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: name: event-file path: ${{ github.event_path }} - name: Upload Cpp UT Results if: always() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: name: macos-ut-result-cpp-${{ github.sha }} path: | diff --git a/.github/workflows/integration-test-pkg.yml b/.github/workflows/integration-test-pkg.yml index e5bdafb241e..ab46702a3c8 100644 --- a/.github/workflows/integration-test-pkg.yml +++ b/.github/workflows/integration-test-pkg.yml @@ -85,6 +85,8 @@ jobs: container: image: ghcr.io/4paradigm/hybridsql:latest env: + ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16 + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true OS: linux steps: - uses: actions/checkout@v2 @@ -107,6 +109,8 @@ jobs: container: image: ghcr.io/4paradigm/hybridsql:latest env: + ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16 + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true OS: linux steps: - uses: actions/checkout@v2 @@ -129,6 +133,8 @@ jobs: container: image: ghcr.io/4paradigm/hybridsql:latest env: + ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16 + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true OS: linux steps: - uses: actions/checkout@v2 @@ -192,6 +198,8 @@ jobs: container: image: ghcr.io/4paradigm/hybridsql:latest env: + ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16 + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true OS: linux steps: - uses: actions/checkout@v2 @@ -201,7 +209,7 @@ jobs: run: source /root/.bashrc && bash test/steps/openmldb-sdk-test-python.sh -b PKG -d standalone -l "0" - name: upload test results if: always() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: name: python-sdk-standalone-0-pkg-${{ github.sha }} path: | @@ -229,6 +237,8 @@ jobs: container: image: ghcr.io/4paradigm/hybridsql:latest env: + ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16 + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true OS: linux steps: - uses: actions/checkout@v2 @@ -238,7 +248,7 @@ jobs: run: source /root/.bashrc && bash test/steps/openmldb-sdk-test-python.sh -b PKG -d standalone -l "1,2,3,4,5" - name: upload test results if: always() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: name: python-sdk-standalone-1-pkg-${{ github.sha }} path: | @@ -250,6 +260,8 @@ jobs: container: image: ghcr.io/4paradigm/hybridsql:latest env: + ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16 + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true OS: linux steps: - uses: actions/checkout@v2 @@ -271,6 +283,8 @@ jobs: container: image: ghcr.io/4paradigm/hybridsql:latest env: + ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16 + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true OS: linux steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/integration-test-src.yml b/.github/workflows/integration-test-src.yml index 0c93acfc218..5179b93093c 100644 --- a/.github/workflows/integration-test-src.yml +++ b/.github/workflows/integration-test-src.yml @@ -71,6 +71,8 @@ jobs: container: image: ghcr.io/4paradigm/hybridsql:latest env: + ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16 + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true OS: linux steps: - uses: actions/checkout@v2 @@ -114,6 +116,8 @@ jobs: container: image: ghcr.io/4paradigm/hybridsql:latest env: + ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16 + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true OS: linux steps: - uses: actions/checkout@v2 @@ -157,6 +161,8 @@ jobs: container: image: ghcr.io/4paradigm/hybridsql:latest env: + ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16 + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true OS: linux steps: - uses: actions/checkout@v2 @@ -199,6 +205,8 @@ jobs: container: image: ghcr.io/4paradigm/hybridsql:latest env: + ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16 + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true OS: linux steps: - uses: actions/checkout@v2 @@ -284,6 +292,8 @@ jobs: container: image: ghcr.io/4paradigm/hybridsql:latest env: + ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16 + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true OS: linux steps: - uses: actions/checkout@v2 @@ -429,7 +439,7 @@ jobs: # run: source /root/.bashrc && bash test/steps/openmldb-sdk-test-python.sh -b SRC -d standalone -l "0" # - name: upload test results # if: always() -# uses: actions/upload-artifact@v4 +# uses: actions/upload-artifact@v3 # with: # name: python-sdk-standalone-0-src-${{ github.sha }} # path: | @@ -470,7 +480,7 @@ jobs: # run: source /root/.bashrc && bash test/steps/openmldb-sdk-test-python.sh -b SRC -d standalone -l "1,2,3,4,5" # - name: upload test results # if: always() -# uses: actions/upload-artifact@v4 +# uses: actions/upload-artifact@v3 # with: # name: python-sdk-standalone-1-src-${{ github.sha }} # path: | @@ -530,6 +540,8 @@ jobs: container: image: ghcr.io/4paradigm/hybridsql:latest env: + ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16 + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true OS: linux steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index ba107bc1e72..9d0d9b03817 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -31,6 +31,9 @@ env: jobs: openmldb-test-python: runs-on: [self-hosted,generic] + env: + ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16 + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true container: image: ghcr.io/4paradigm/hybridsql:latest steps: @@ -52,7 +55,7 @@ jobs: - name: upload ut results if: always() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: name: openmldb-test-python-${{ github.sha }} path: pytest.xml diff --git a/.github/workflows/openmldb-tool.yml b/.github/workflows/openmldb-tool.yml index f7c3848e45b..2c1f2d1102f 100644 --- a/.github/workflows/openmldb-tool.yml +++ b/.github/workflows/openmldb-tool.yml @@ -50,7 +50,7 @@ jobs: bash openmldb/sbin/stop-all.sh && bash openmldb/sbin/clear-all.sh - name: upload python test results if: always() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: name: openmldb-tool-test-result-${{ github.sha }} path: | @@ -59,6 +59,9 @@ jobs: openmldb-tool-name: runs-on: [self-hosted,generic] if: github.repository == '4paradigm/OpenMLDB' + env: + ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16 + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true container: image: ghcr.io/4paradigm/hybridsql:latest steps: @@ -84,7 +87,7 @@ jobs: bash openmldb/sbin/stop-all.sh && bash openmldb/sbin/clear-all.sh - name: upload python test results if: always() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: name: openmldb-tool-test-result-${{ github.sha }} path: | diff --git a/.github/workflows/other-os-build.yml b/.github/workflows/other-os-build.yml index e725b563838..6b691e5c254 100644 --- a/.github/workflows/other-os-build.yml +++ b/.github/workflows/other-os-build.yml @@ -138,21 +138,21 @@ jobs: df -h - name: upload binary - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: path: build/bin/openmldb name: binary - name: upload java native if: ${{ env.SQL_JAVASDK_ENABLE == 'ON' }} - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: name: native-jar path: java/openmldb-native/target/openmldb-native-*.jar - name: upload python whl if: ${{ env.SQL_PYSDK_ENABLE == 'ON' }} - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: name: python-whl path: | @@ -206,21 +206,21 @@ jobs: tar czf ${{ env.OPENMLDB_PREFIX }}.tar.gz ${{ env.OPENMLDB_PREFIX }}/ - name: upload binary - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: path: openmldb-*.tar.gz name: binary-package - name: upload java native if: ${{ env.SQL_JAVASDK_ENABLE == 'ON' }} - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: name: native-jar path: java/openmldb-native/target/openmldb-native-*.jar - name: upload python whl if: ${{ env.SQL_PYSDK_ENABLE == 'ON' }} - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: name: python-whl path: | @@ -276,21 +276,21 @@ jobs: tar czf ${{ env.OPENMLDB_PREFIX }}.tar.gz ${{ env.OPENMLDB_PREFIX }}/ - name: upload binary - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: path: openmldb-*.tar.gz name: binary-package - name: upload java native if: ${{ env.SQL_JAVASDK_ENABLE == 'ON' }} - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: name: native-jar path: java/openmldb-native/target/openmldb-native-*.jar - name: upload python whl if: ${{ env.SQL_PYSDK_ENABLE == 'ON' }} - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: name: python-whl path: | diff --git a/.github/workflows/sdk.yml b/.github/workflows/sdk.yml index e3610b729e0..c605f3ecc8b 100644 --- a/.github/workflows/sdk.yml +++ b/.github/workflows/sdk.yml @@ -40,6 +40,8 @@ jobs: container: image: ghcr.io/4paradigm/hybridsql:latest env: + ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16 + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true SQL_JAVASDK_ENABLE: ON OPENMLDB_BUILD_TARGET: "cp_native_so openmldb" MAVEN_OPTS: -Duser.home=/github/home @@ -84,7 +86,7 @@ jobs: - name: upload linux library if: github.event_name == 'push' - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: name: shared-library-${{ github.sha }} path: | @@ -104,14 +106,14 @@ jobs: - name: Upload Event File if: always() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: name: event-file path: ${{ github.event_path }} - name: upload java ut results if: always() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: name: linux-ut-result-java-${{ github.sha }} path: | @@ -136,7 +138,7 @@ jobs: ./mvnw --batch-mode scoverage:report - name: upload coverage - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: name: coverage-java-report-${{ github.sha }} path: | @@ -259,6 +261,9 @@ jobs: container: image: ghcr.io/4paradigm/hybridsql:latest env: + env: + ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16 + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true SQL_PYSDK_ENABLE: ON OPENMLDB_BUILD_TARGET: "cp_python_sdk_so openmldb" # ref https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/ @@ -287,7 +292,7 @@ jobs: - name: upload python ut results if: always() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: name: linux-ut-result-python-${{ github.sha }} path: | @@ -295,7 +300,7 @@ jobs: python/openmldb_tool/tests/pytest.xml - name: upload coverage - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: name: coverage-python-report-${{ github.sha }} path: | @@ -352,7 +357,7 @@ jobs: - name: upload python ut results if: always() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: name: mac-ut-result-python-${{ github.sha }} path: | diff --git a/.github/workflows/selfhost_intergration.yml b/.github/workflows/selfhost_intergration.yml index d7e5d776f25..b1b3a0073ca 100644 --- a/.github/workflows/selfhost_intergration.yml +++ b/.github/workflows/selfhost_intergration.yml @@ -31,6 +31,8 @@ jobs: container: image: ghcr.io/4paradigm/hybridsql:latest env: + ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16 + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true OS: linux steps: - uses: actions/checkout@v2 @@ -51,7 +53,7 @@ jobs: tar -zxf openmldb-${{ env.E_VERSION }}-linux.tar.gz mv openmldb-${{ env.E_VERSION }}-linux.tar.gz openmldb-linux.tar.gz - name: upload artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: name: openmldb-package path: |