Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(workflow): ci/cd failure #3988

Merged
merged 3 commits into from
Oct 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/cicd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -104,7 +106,7 @@ jobs:

- name: upload unit test results
if: always()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: linux-ut-result-cpp-${{ github.sha }}
# exclude _deps xml
Expand All @@ -125,7 +127,7 @@ jobs:

- name: upload artifacts
if: ${{ github.event_name == 'push' }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
path: openmldb-*.tar.gz
name: release-artifacts
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/devops-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/hybridse-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -42,7 +44,7 @@ jobs:

- name: Upload Cpp UT Results
if: always()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: linux-ut-result-cpp-${{ github.sha }}
path: |
Expand Down
18 changes: 16 additions & 2 deletions .github/workflows/integration-test-pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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@v2
uses: actions/upload-artifact@v3
with:
name: python-sdk-standalone-0-pkg-${{ github.sha }}
path: |
Expand Down Expand Up @@ -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
Expand All @@ -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@v2
uses: actions/upload-artifact@v3
with:
name: python-sdk-standalone-1-pkg-${{ github.sha }}
path: |
Expand All @@ -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
Expand All @@ -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
Expand Down
16 changes: 14 additions & 2 deletions .github/workflows/integration-test-src.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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@v2
# uses: actions/upload-artifact@v3
# with:
# name: python-sdk-standalone-0-src-${{ github.sha }}
# path: |
Expand Down Expand Up @@ -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@v2
# uses: actions/upload-artifact@v3
# with:
# name: python-sdk-standalone-1-src-${{ github.sha }}
# path: |
Expand Down Expand Up @@ -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
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -50,7 +53,7 @@ jobs:

- name: upload ut results
if: always()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: openmldb-test-python-${{ github.sha }}
path: pytest.xml
7 changes: 5 additions & 2 deletions .github/workflows/openmldb-tool.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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@v3
with:
name: openmldb-tool-test-result-${{ github.sha }}
path: |
Expand All @@ -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:
Expand All @@ -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@v2
uses: actions/upload-artifact@v3
with:
name: openmldb-tool-test-result-${{ github.sha }}
path: |
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/other-os-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,21 +138,21 @@ jobs:
df -h

- name: upload binary
uses: actions/upload-artifact@v2
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@v2
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@v2
uses: actions/upload-artifact@v3
with:
name: python-whl
path: |
Expand Down Expand Up @@ -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@v3
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@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@v2
uses: actions/upload-artifact@v3
with:
name: python-whl
path: |
Expand Down Expand Up @@ -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@v3
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@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@v2
uses: actions/upload-artifact@v3
with:
name: python-whl
path: |
Expand Down
Loading
Loading