Skip to content

Commit

Permalink
Fix cbdb ci not running properly
Browse files Browse the repository at this point in the history
On June 30th 2024, Github change the default from Node16 to Node20.
To opt out of this and continue using Node16 while it is still available
in the runner, you can choose to
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true
  • Loading branch information
Baowen648 authored and my-ship-it committed Jul 5, 2024
1 parent 8457bf6 commit 63371e6
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ env:
FTS_MODE: "internal_fts"
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}

ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: "true"
ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: "node16"
permissions:
id-token: write
contents: read
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/build_external_fts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ env:
FTS_MODE: "external_fts"
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: "true"
ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: "node16"


permissions:
id-token: write
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/cbdb_release_weekly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: Build and Release RPM Weekly
on:
schedule:
- cron: '0 16 * * 1'

env:
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: "true"
ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: "node16"

jobs:
Build-rpm:
runs-on: cbdb-weekly
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ env:
GEN_DOCKER_TAG: true
INSTALL_DIR: "/usr/local/cloudberry-db"
CLIENT_INSTALL_DIR: "/usr/local/cloudberry-clients"

ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: "true"
ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: "node16"

jobs:
build:
Expand Down

0 comments on commit 63371e6

Please sign in to comment.