From b363e2235d3171fd64f9ebd98ab17eca26983f02 Mon Sep 17 00:00:00 2001 From: shouren Date: Thu, 26 Sep 2024 17:42:47 +0800 Subject: [PATCH 1/3] Update CHANGELOG.md --- CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2f74677387f..b78d4263cd5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## 0.9.0-arm - 2024-09-26 + +### Features +- build(thirdparty): upgrade absl (#3986 @aceforeverd) +- feat: execlude zookeeper for curator (#3899 @aceforeverd) +- Set s3 and aws dependencies ad provided (#3897 @aceforeverd) + ## [0.9.0] - 2024-04-25 ### Breaking Changes From bb92fa4cca1cfed4920d6fee72f120dac932eb63 Mon Sep 17 00:00:00 2001 From: shouren Date: Thu, 26 Sep 2024 17:52:17 +0800 Subject: [PATCH 2/3] fix(workflow): upgrade upload-artifact to v4 --- .github/workflows/cicd.yaml | 8 ++++---- .github/workflows/coverage.yml | 2 +- .github/workflows/hybridse-ci.yml | 6 +++--- .github/workflows/integration-test-pkg.yml | 4 ++-- .github/workflows/integration-test-src.yml | 4 ++-- .github/workflows/integration-test.yml | 2 +- .github/workflows/openmldb-tool.yml | 4 ++-- .github/workflows/other-os-build.yml | 18 +++++++++--------- .github/workflows/sdk.yml | 16 ++++++++-------- .github/workflows/selfhost_intergration.yml | 2 +- 10 files changed, 33 insertions(+), 33 deletions(-) diff --git a/.github/workflows/cicd.yaml b/.github/workflows/cicd.yaml index ca4f0bc7f50..d381cd2c3a7 100644 --- a/.github/workflows/cicd.yaml +++ b/.github/workflows/cicd.yaml @@ -104,7 +104,7 @@ jobs: - name: upload unit test results if: always() - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: linux-ut-result-cpp-${{ github.sha }} # exclude _deps xml @@ -125,7 +125,7 @@ jobs: - name: upload artifacts if: ${{ github.event_name == 'push' }} - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: path: openmldb-*.tar.gz name: release-artifacts @@ -205,14 +205,14 @@ jobs: - name: upload artifacts if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: path: openmldb-*.tar.gz name: release-artifacts - name: Upload Event File if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: event-file path: ${{ github.event_path }} diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 613a4e270e4..f4323458eb3 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@v3 + uses: actions/upload-artifact@v4 with: # include the generated html report in build/coverage, great for local diagnose name: coverage-cpp-${{ github.sha }} diff --git a/.github/workflows/hybridse-ci.yml b/.github/workflows/hybridse-ci.yml index 7da8e5ac100..b4d7789af57 100644 --- a/.github/workflows/hybridse-ci.yml +++ b/.github/workflows/hybridse-ci.yml @@ -42,7 +42,7 @@ jobs: - name: Upload Cpp UT Results if: always() - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: linux-ut-result-cpp-${{ github.sha }} path: | @@ -81,14 +81,14 @@ jobs: - name: Upload Event File if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: event-file path: ${{ github.event_path }} - name: Upload Cpp UT Results if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 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 2116263d92e..febca433dba 100644 --- a/.github/workflows/integration-test-pkg.yml +++ b/.github/workflows/integration-test-pkg.yml @@ -199,7 +199,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@v2 + uses: actions/upload-artifact@v4 with: name: python-sdk-standalone-0-pkg-${{ github.sha }} path: | @@ -236,7 +236,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@v2 + uses: actions/upload-artifact@v4 with: name: python-sdk-standalone-1-pkg-${{ github.sha }} path: | diff --git a/.github/workflows/integration-test-src.yml b/.github/workflows/integration-test-src.yml index d6fd1cfa526..8f32fc0eac1 100644 --- a/.github/workflows/integration-test-src.yml +++ b/.github/workflows/integration-test-src.yml @@ -427,7 +427,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@v2 +# uses: actions/upload-artifact@v4 # with: # name: python-sdk-standalone-0-src-${{ github.sha }} # path: | @@ -468,7 +468,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@v2 +# uses: actions/upload-artifact@v4 # with: # name: python-sdk-standalone-1-src-${{ github.sha }} # path: | diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index d68bae2465d..372b2fad996 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -50,7 +50,7 @@ jobs: - name: upload ut results if: always() - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 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 23d3f5b1dfd..c629eae42e6 100644 --- a/.github/workflows/openmldb-tool.yml +++ b/.github/workflows/openmldb-tool.yml @@ -48,7 +48,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@v2 + uses: actions/upload-artifact@v4 with: name: openmldb-tool-test-result-${{ github.sha }} path: | @@ -82,7 +82,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@v2 + uses: actions/upload-artifact@v4 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 be7e090821d..e725b563838 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@v2 + uses: actions/upload-artifact@v4 with: path: build/bin/openmldb name: binary - name: upload java native if: ${{ env.SQL_JAVASDK_ENABLE == 'ON' }} - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 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@v2 + uses: actions/upload-artifact@v4 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@v2 + uses: actions/upload-artifact@v4 with: path: openmldb-*.tar.gz name: binary-package - name: upload java native if: ${{ env.SQL_JAVASDK_ENABLE == 'ON' }} - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 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@v2 + uses: actions/upload-artifact@v4 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@v2 + uses: actions/upload-artifact@v4 with: path: openmldb-*.tar.gz name: binary-package - name: upload java native if: ${{ env.SQL_JAVASDK_ENABLE == 'ON' }} - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 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@v2 + uses: actions/upload-artifact@v4 with: name: python-whl path: | diff --git a/.github/workflows/sdk.yml b/.github/workflows/sdk.yml index eafe87cbe1f..92612c8a4dd 100644 --- a/.github/workflows/sdk.yml +++ b/.github/workflows/sdk.yml @@ -82,7 +82,7 @@ jobs: - name: upload linux library if: github.event_name == 'push' - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: shared-library-${{ github.sha }} path: | @@ -102,14 +102,14 @@ jobs: - name: Upload Event File if: always() - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: event-file path: ${{ github.event_path }} - name: upload java ut results if: always() - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: linux-ut-result-java-${{ github.sha }} path: | @@ -134,7 +134,7 @@ jobs: ./mvnw --batch-mode scoverage:report - name: upload coverage - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: coverage-java-report-${{ github.sha }} path: | @@ -283,7 +283,7 @@ jobs: - name: upload python ut results if: always() - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: linux-ut-result-python-${{ github.sha }} path: | @@ -291,7 +291,7 @@ jobs: python/openmldb_tool/tests/pytest.xml - name: upload coverage - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: coverage-python-report-${{ github.sha }} path: | @@ -350,7 +350,7 @@ jobs: - name: upload python ut results if: always() - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: mac-ut-result-python-${{ github.sha }} path: | @@ -403,7 +403,7 @@ jobs: run: go test ./... -race -covermode=atomic -coverprofile=coverage.out - name: upload coverage - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: coverage-go-report-${{ github.sha }} path: go/coverage.out diff --git a/.github/workflows/selfhost_intergration.yml b/.github/workflows/selfhost_intergration.yml index 87de8536daf..b38fbce5ad4 100644 --- a/.github/workflows/selfhost_intergration.yml +++ b/.github/workflows/selfhost_intergration.yml @@ -49,7 +49,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@v3 + uses: actions/upload-artifact@v4 with: name: openmldb-package path: | From b4ccb3f6d40f533d7c6c4f458d29ed2c1fd67928 Mon Sep 17 00:00:00 2001 From: shouren Date: Fri, 27 Sep 2024 10:04:41 +0800 Subject: [PATCH 3/3] fix(workflow): make action works by https://github.com/actions/runner/issues/2906#issuecomment-2208546951 --- .github/workflows/cicd.yaml | 10 +++++---- .github/workflows/coverage.yml | 2 +- .github/workflows/devops-test.yml | 12 +++++++++++ .github/workflows/hybridse-ci.yml | 8 ++++--- .github/workflows/integration-test-pkg.yml | 18 ++++++++++++++-- .github/workflows/integration-test-src.yml | 16 ++++++++++++-- .github/workflows/integration-test.yml | 5 ++++- .github/workflows/openmldb-tool.yml | 7 +++++-- .github/workflows/other-os-build.yml | 18 ++++++++-------- .github/workflows/sdk.yml | 23 ++++++++++++++------- .github/workflows/selfhost_intergration.yml | 4 +++- 11 files changed, 90 insertions(+), 33 deletions(-) diff --git a/.github/workflows/cicd.yaml b/.github/workflows/cicd.yaml index d381cd2c3a7..77f822fa619 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 @@ -104,7 +106,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 @@ -125,7 +127,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 @@ -205,14 +207,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 d139c0f8bdc..102796be46d 100644 --- a/.github/workflows/devops-test.yml +++ b/.github/workflows/devops-test.yml @@ -23,6 +23,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 @@ -49,6 +51,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 @@ -75,6 +79,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 @@ -101,6 +107,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 @@ -133,6 +141,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 @@ -165,6 +175,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 b4d7789af57..19603069c50 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 steps: - uses: actions/checkout@v2 @@ -42,7 +44,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: | @@ -81,14 +83,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 febca433dba..d3e9157b75e 100644 --- a/.github/workflows/integration-test-pkg.yml +++ b/.github/workflows/integration-test-pkg.yml @@ -83,6 +83,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 @@ -105,6 +107,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 @@ -127,6 +131,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 @@ -190,6 +196,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,7 +207,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: | @@ -227,6 +235,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 @@ -236,7 +246,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: | @@ -248,6 +258,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 @@ -269,6 +281,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 8f32fc0eac1..8357934f32e 100644 --- a/.github/workflows/integration-test-src.yml +++ b/.github/workflows/integration-test-src.yml @@ -69,6 +69,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 @@ -112,6 +114,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 @@ -155,6 +159,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 @@ -197,6 +203,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 @@ -282,6 +290,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 @@ -427,7 +437,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: | @@ -468,7 +478,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: | @@ -528,6 +538,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 372b2fad996..746535bedbf 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -29,6 +29,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: @@ -50,7 +53,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 c629eae42e6..51c6efea145 100644 --- a/.github/workflows/openmldb-tool.yml +++ b/.github/workflows/openmldb-tool.yml @@ -48,7 +48,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: | @@ -57,6 +57,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: @@ -82,7 +85,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 92612c8a4dd..3b324324ff4 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 @@ -82,7 +84,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: | @@ -102,14 +104,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: | @@ -134,7 +136,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: | @@ -257,6 +259,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" steps: @@ -283,7 +288,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: | @@ -291,7 +296,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: | @@ -350,7 +355,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: | @@ -373,6 +378,8 @@ jobs: container: image: ghcr.io/4paradigm/hybridsql:latest env: + ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16 + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true OPENMLDB_BUILD_TARGET: "openmldb" OPENMLDB_MODE: standalone steps: @@ -403,7 +410,7 @@ jobs: run: go test ./... -race -covermode=atomic -coverprofile=coverage.out - name: upload coverage - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: name: coverage-go-report-${{ github.sha }} path: go/coverage.out diff --git a/.github/workflows/selfhost_intergration.yml b/.github/workflows/selfhost_intergration.yml index b38fbce5ad4..8d66a6a88ee 100644 --- a/.github/workflows/selfhost_intergration.yml +++ b/.github/workflows/selfhost_intergration.yml @@ -29,6 +29,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 @@ -49,7 +51,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: |