-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(ci): Fix post-release and cloud db tests ci workflows (#9145)
* fix post-release ci job * fix cloud tests ci mb * Add missed packages/cubejs-redshift-driver path for watching changes for drivers tests
- Loading branch information
Showing
3 changed files
with
38 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -80,13 +80,6 @@ jobs: | |
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- name: Install cargo-cp-artifact | ||
run: npm install -g [email protected] | ||
- uses: Swatinem/rust-cache@v2 | ||
with: | ||
workspaces: ./packages/cubejs-backend-native | ||
key: native-${{ runner.OS }}-${{ matrix.target }} | ||
shared-key: native-${{ runner.OS }}-${{ matrix.target }} | ||
- name: Get yarn cache directory path | ||
id: yarn-cache-dir-path | ||
run: echo "dir=$(yarn cache dir)" >> "$GITHUB_OUTPUT" | ||
|
@@ -101,19 +94,37 @@ jobs: | |
- name: Set Yarn version | ||
run: yarn policies set-version v1.22.22 | ||
- name: Yarn install | ||
run: CUBESTORE_SKIP_POST_INSTALL=true yarn install --frozen-lockfile | ||
- name: Build client | ||
uses: nick-fields/retry@v3 | ||
env: | ||
CUBESTORE_SKIP_POST_INSTALL: true | ||
with: | ||
max_attempts: 3 | ||
retry_on: error | ||
retry_wait_seconds: 15 | ||
timeout_minutes: 20 | ||
command: yarn install --frozen-lockfile | ||
- name: Build Core Client libraries | ||
run: yarn build | ||
- name: Build other packages | ||
run: yarn lerna run --concurrency 1 build | ||
env: | ||
NODE_OPTIONS: --max_old_space_size=4096 | ||
- name: Lerna tsc | ||
run: yarn tsc | ||
- name: Build native (no python) | ||
run: cd packages/cubejs-backend-native && npm run native:build-release | ||
- name: Build cubejs-backend-native (without Python) | ||
run: yarn run native:build-release | ||
working-directory: ./packages/cubejs-backend-native | ||
- name: Run Integration tests for ${{ matrix.db }} matrix | ||
timeout-minutes: 30 | ||
uses: nick-fields/retry@v3 | ||
with: | ||
max_attempts: 3 | ||
retry_on: error | ||
retry_wait_seconds: 15 | ||
timeout_minutes: 30 | ||
command: ./.github/actions/integration/${{ matrix.db }}.sh | ||
env: | ||
CUBEJS_DB_BQ_CREDENTIALS: ${{ secrets.CUBEJS_DB_BQ_CREDENTIALS }} | ||
CUBEJS_AWS_KEY: ${{ secrets.CUBEJS_AWS_KEY }} | ||
CUBEJS_AWS_SECRET: ${{ secrets.CUBEJS_AWS_SECRET }} | ||
CUBEJS_DB_USER: ${{ secrets.DRIVERS_TESTS_CUBEJS_DB_SNOWFLAKE_USER }} | ||
CUBEJS_DB_PASS: ${{ secrets.DRIVERS_TESTS_CUBEJS_DB_SNOWFLAKE_PASS }} | ||
run: ./.github/actions/integration/${{ matrix.db }}.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters