Skip to content

Commit 50ce9ae

Browse files
committed
chore(ci): Remove obsolete cloud workflow (in favor of extending push wf)
1 parent 7eb99e7 commit 50ce9ae

File tree

5 files changed

+26
-130
lines changed

5 files changed

+26
-130
lines changed

.github/actions/integration/athena.sh

+3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ set -eo pipefail
55
export DEBUG=testcontainers
66

77
echo "::group::Athena [cloud]"
8+
export CUBEJS_AWS_KEY=$DRIVERS_TESTS_SNOWFLAKE_CUBEJS_AWS_KEY
9+
export CUBEJS_AWS_SECRET=$DRIVERS_TESTS_SNOWFLAKE_CUBEJS_AWS_SECRET
10+
811
export CUBEJS_AWS_REGION=us-east-1
912
export CUBEJS_AWS_S3_OUTPUT_LOCATION=s3://cubejs-opensource/testing/output
1013
export CUBEJS_DB_EXPORT_BUCKET=s3://cubejs-opensource/testing/export/

.github/actions/integration/bigquery.sh

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ set -eo pipefail
55
export DEBUG=testcontainers
66

77
echo "::group::BigQuery [cloud]"
8+
export CUBEJS_DB_BQ_CREDENTIALS=$DRIVERS_TESTS_SNOWFLAKE_CUBEJS_DB_BQ_CREDENTIALS
89
export CUBEJS_DB_BQ_PROJECT_ID=cube-open-source
910
export CUBEJS_DB_EXPORT_BUCKET=cube-open-source-export-bucket
1011
yarn lerna run --concurrency 1 --stream --no-prefix integration:bigquery

.github/actions/integration/snowflake.sh

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ export CUBEJS_DB_NAME=DEMO_DB
99
export CUBEJS_DB_SNOWFLAKE_ACCOUNT=lxb31104
1010
export CUBEJS_DB_SNOWFLAKE_REGION=us-west-2
1111
export CUBEJS_DB_SNOWFLAKE_WAREHOUSE=COMPUTE_WH
12+
export CUBEJS_DB_USER=$DRIVERS_TESTS_SNOWFLAKE_CUBEJS_DB_USER
13+
export CUBEJS_DB_PASS=$DRIVERS_TESTS_SNOWFLAKE_CUBEJS_DB_PASS
1214

1315
yarn lerna run --concurrency 1 --stream --no-prefix smoke:snowflake
1416

.github/workflows/cloud.yml

-130
This file was deleted.

.github/workflows/push.yml

+20
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
paths:
66
- '.github/actions/smoke.sh'
7+
- '.github/actions/integration/**'
78
- '.github/workflows/push.yml'
89
- '.github/workflows/master.yml'
910
- 'packages/**'
@@ -23,6 +24,8 @@ on:
2324
- 'master'
2425
pull_request:
2526
paths:
27+
- '.github/actions/smoke.sh'
28+
- '.github/actions/integration/**'
2629
- '.github/workflows/push.yml'
2730
- '.github/workflows/master.yml'
2831
- 'packages/**'
@@ -389,6 +392,9 @@ jobs:
389392
if: (needs['latest-tag-sha'].outputs.sha != github.sha)
390393
env:
391394
CLOUD_DATABASES: >
395+
athena
396+
bigquery
397+
snowflake
392398
firebolt
393399
dremio
394400
# Athena (just to check for secrets availability)
@@ -398,6 +404,7 @@ jobs:
398404
matrix:
399405
node-version: [22.x]
400406
db: [
407+
'athena', 'bigquery', 'snowflake',
401408
'clickhouse', 'druid', 'elasticsearch', 'mssql', 'mysql', 'postgres', 'prestodb',
402409
'mysql-aurora-serverless', 'crate', 'mongobi', 'firebolt', 'dremio', 'vertica'
403410
]
@@ -449,6 +456,8 @@ jobs:
449456
retry_wait_seconds: 15
450457
timeout_minutes: 20
451458
command: yarn install --frozen-lockfile
459+
- name: Build Core Client libraries
460+
run: yarn build
452461
- name: Lerna tsc
453462
run: yarn tsc
454463
- name: Run Integration tests for ${{ matrix.db }} matrix
@@ -475,6 +484,17 @@ jobs:
475484
DRIVERS_TESTS_DREMIO_CUBEJS_DB_NAME: ${{ secrets.DRIVERS_TESTS_DREMIO_CUBEJS_DB_NAME }}
476485
DRIVERS_TESTS_DREMIO_CUBEJS_DB_DREMIO_AUTH_TOKEN: ${{ secrets.DRIVERS_TESTS_DREMIO_CUBEJS_DB_DREMIO_AUTH_TOKEN }}
477486

487+
# BigQuery
488+
DRIVERS_TESTS_SNOWFLAKE_CUBEJS_DB_BQ_CREDENTIALS: ${{ secrets.CUBEJS_DB_BQ_CREDENTIALS }}
489+
490+
# AWS Athena
491+
DRIVERS_TESTS_SNOWFLAKE_CUBEJS_AWS_KEY: ${{ secrets.CUBEJS_AWS_KEY }}
492+
DRIVERS_TESTS_SNOWFLAKE_CUBEJS_AWS_SECRET: ${{ secrets.CUBEJS_AWS_SECRET }}
493+
494+
# Snowflake
495+
DRIVERS_TESTS_SNOWFLAKE_CUBEJS_DB_USER: ${{ secrets.DRIVERS_TESTS_CUBEJS_DB_SNOWFLAKE_USER }}
496+
DRIVERS_TESTS_SNOWFLAKE_CUBEJS_DB_PASS: ${{ secrets.DRIVERS_TESTS_CUBEJS_DB_SNOWFLAKE_PASS }}
497+
478498
integration-smoke:
479499
needs: [latest-tag-sha, build-cubestore, build-native-linux]
480500
runs-on: ubuntu-24.04

0 commit comments

Comments
 (0)