From cd905dac3e4eaf21f61c1de5b106bad34e4c1626 Mon Sep 17 00:00:00 2001 From: aceforeverd Date: Mon, 8 Jul 2024 17:44:03 +0800 Subject: [PATCH] ci(#3954): fix checkout action on old glibc OS (#3955) * ci(#3954): fix checkout action on old glibc OS * ci: include checkout fix in all workflows * ci: fix python-sdk --- .github/workflows/cicd.yaml | 2 ++ .github/workflows/devops-test.yml | 2 ++ .github/workflows/hybridse-ci.yml | 2 ++ .github/workflows/integration-test-pkg.yml | 2 ++ .github/workflows/integration-test-src.yml | 2 ++ .github/workflows/integration-test.yml | 2 ++ .github/workflows/openmldb-tool.yml | 2 ++ .github/workflows/sdk.yml | 4 ++++ .github/workflows/selfhost_intergration.yml | 2 ++ 9 files changed, 20 insertions(+) diff --git a/.github/workflows/cicd.yaml b/.github/workflows/cicd.yaml index ca4f0bc7f50..33217bb71fb 100644 --- a/.github/workflows/cicd.yaml +++ b/.github/workflows/cicd.yaml @@ -46,6 +46,8 @@ jobs: TESTING_ENABLE: ON NPROC: 8 CTEST_PARALLEL_LEVEL: 1 # parallel test level for ctest (make test) + # 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 steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/devops-test.yml b/.github/workflows/devops-test.yml index d139c0f8bdc..7f85941d8e9 100644 --- a/.github/workflows/devops-test.yml +++ b/.github/workflows/devops-test.yml @@ -15,6 +15,8 @@ on: env: GIT_SUBMODULE_STRATEGY: recursive HYBRIDSE_SOURCE: local + # 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 jobs: node-failure-test-cluster: diff --git a/.github/workflows/hybridse-ci.yml b/.github/workflows/hybridse-ci.yml index 7da8e5ac100..9ea250baf27 100644 --- a/.github/workflows/hybridse-ci.yml +++ b/.github/workflows/hybridse-ci.yml @@ -29,6 +29,8 @@ jobs: image: ghcr.io/4paradigm/hybridsql:latest env: 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 steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/integration-test-pkg.yml b/.github/workflows/integration-test-pkg.yml index 2116263d92e..2c5ea196d07 100644 --- a/.github/workflows/integration-test-pkg.yml +++ b/.github/workflows/integration-test-pkg.yml @@ -31,6 +31,8 @@ on: env: GIT_SUBMODULE_STRATEGY: recursive HYBRIDSE_SOURCE: + # 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 jobs: # java-sdk-test-standalone-0: diff --git a/.github/workflows/integration-test-src.yml b/.github/workflows/integration-test-src.yml index d6fd1cfa526..381e74eb76b 100644 --- a/.github/workflows/integration-test-src.yml +++ b/.github/workflows/integration-test-src.yml @@ -13,6 +13,8 @@ on: env: GIT_SUBMODULE_STRATEGY: recursive HYBRIDSE_SOURCE: local + # 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 jobs: # java-sdk-test-standalone-0: diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index d68bae2465d..af689f2fbc9 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -25,6 +25,8 @@ env: NPROC: 5 # default Parallel build number for GitHub's Linux runner EXAMPLES_ENABLE: OFF # turn off hybridse's example code HYBRIDSE_TESTING_ENABLE: OFF # turn off hybridse's test code + # 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 jobs: openmldb-test-python: diff --git a/.github/workflows/openmldb-tool.yml b/.github/workflows/openmldb-tool.yml index 23d3f5b1dfd..4cc38133e05 100644 --- a/.github/workflows/openmldb-tool.yml +++ b/.github/workflows/openmldb-tool.yml @@ -20,6 +20,8 @@ env: GIT_SUBMODULE_STRATEGY: recursive DEPLOY_DIR: /mnt/hdd0/openmldb_runner_work/openmldb_env NODE_LIST: node-1,node-2,node-3 + # 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 jobs: openmldb-tool-test: diff --git a/.github/workflows/sdk.yml b/.github/workflows/sdk.yml index b6c180111a4..c24f32628e3 100644 --- a/.github/workflows/sdk.yml +++ b/.github/workflows/sdk.yml @@ -44,6 +44,8 @@ jobs: OPENMLDB_BUILD_TARGET: "cp_native_so openmldb" MAVEN_OPTS: -Duser.home=/github/home SPARK_HOME: /tmp/spark/ + # 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 steps: - uses: actions/checkout@v2 @@ -259,6 +261,8 @@ jobs: env: 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/ + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/selfhost_intergration.yml b/.github/workflows/selfhost_intergration.yml index 87de8536daf..6a958206c93 100644 --- a/.github/workflows/selfhost_intergration.yml +++ b/.github/workflows/selfhost_intergration.yml @@ -20,6 +20,8 @@ env: E_VERSION: ${{ github.event.inputs.EXEC_VERSION || 'main'}} ETYPE: ${{ github.event.inputs.EXEC_TEST_TYPE || 'all'}} NPROC: 4 + # 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 jobs: build-openmldb: