Skip to content

Commit 63371e6

Browse files
Baowen648my-ship-it
authored andcommitted
Fix cbdb ci not running properly
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
1 parent 8457bf6 commit 63371e6

4 files changed

Lines changed: 12 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ env:
1010
FTS_MODE: "internal_fts"
1111
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
1212
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
13-
13+
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: "true"
14+
ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: "node16"
1415
permissions:
1516
id-token: write
1617
contents: read

.github/workflows/build_external_fts.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ env:
1010
FTS_MODE: "external_fts"
1111
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
1212
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
13+
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: "true"
14+
ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: "node16"
15+
1316

1417
permissions:
1518
id-token: write

.github/workflows/cbdb_release_weekly.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ name: Build and Release RPM Weekly
22
on:
33
schedule:
44
- cron: '0 16 * * 1'
5+
6+
env:
7+
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: "true"
8+
ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: "node16"
9+
510
jobs:
611
Build-rpm:
712
runs-on: cbdb-weekly

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ env:
1212
GEN_DOCKER_TAG: true
1313
INSTALL_DIR: "/usr/local/cloudberry-db"
1414
CLIENT_INSTALL_DIR: "/usr/local/cloudberry-clients"
15-
15+
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: "true"
16+
ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: "node16"
1617

1718
jobs:
1819
build:

0 commit comments

Comments
 (0)