Skip to content

Commit 028a5aa

Browse files
authored
Merge branch 'master' into master
2 parents afdc278 + 6034850 commit 028a5aa

File tree

336 files changed

+116321
-8988
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

336 files changed

+116321
-8988
lines changed

.github/labeler.yml

Lines changed: 180 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,180 @@
1+
docs:
2+
- changed-files:
3+
- any-glob-to-any-file: docs/*
4+
5+
# Data source drivers
6+
data source driver:
7+
- changed-files:
8+
- any-glob-to-any-file: packages/*-driver/**/*
9+
10+
cubejs-jdbc-driver:
11+
- changed-files:
12+
- any-glob-to-any-file: packages/cubejs-databricks-jdbc-driver/**/*
13+
14+
# Individual driver labels
15+
driver:athena:
16+
- changed-files:
17+
- any-glob-to-any-file: packages/cubejs-athena-driver/**/*
18+
19+
driver:bigquery:
20+
- changed-files:
21+
- any-glob-to-any-file: packages/cubejs-bigquery-driver/**/*
22+
23+
driver:clickhouse:
24+
- changed-files:
25+
- any-glob-to-any-file: packages/cubejs-clickhouse-driver/**/*
26+
27+
driver:crate:
28+
- changed-files:
29+
- any-glob-to-any-file: packages/cubejs-crate-driver/**/*
30+
31+
driver:databricks:
32+
- changed-files:
33+
- any-glob-to-any-file: packages/cubejs-databricks-jdbc-driver/**/*
34+
35+
driver:dremio:
36+
- changed-files:
37+
- any-glob-to-any-file: packages/cubejs-dremio-driver/**/*
38+
39+
driver:druid:
40+
- changed-files:
41+
- any-glob-to-any-file: packages/cubejs-druid-driver/**/*
42+
43+
driver:duckdb:
44+
- changed-files:
45+
- any-glob-to-any-file: packages/cubejs-duckdb-driver/**/*
46+
47+
driver:elasticsearch:
48+
- changed-files:
49+
- any-glob-to-any-file: packages/cubejs-elasticsearch-driver/**/*
50+
51+
driver:firebolt:
52+
- changed-files:
53+
- any-glob-to-any-file: packages/cubejs-firebolt-driver/**/*
54+
55+
driver:hive:
56+
- changed-files:
57+
- any-glob-to-any-file: packages/cubejs-hive-driver/**/*
58+
59+
driver:materialize:
60+
- changed-files:
61+
- any-glob-to-any-file: packages/cubejs-materialize-driver/**/*
62+
63+
driver:mongodb:
64+
- changed-files:
65+
- any-glob-to-any-file: packages/cubejs-mongobi-driver/**/*
66+
67+
driver:mssql:
68+
- changed-files:
69+
- any-glob-to-any-file: packages/cubejs-mssql-driver/**/*
70+
71+
driver:mysql:
72+
- changed-files:
73+
- any-glob-to-any-file: packages/cubejs-mysql-driver/**/*
74+
75+
driver:mysql-aurora-serverless:
76+
- changed-files:
77+
- any-glob-to-any-file: packages/cubejs-mysql-aurora-serverless-driver/**/*
78+
79+
driver:oracle:
80+
- changed-files:
81+
- any-glob-to-any-file: packages/cubejs-oracle-driver/**/*
82+
83+
driver:pinot:
84+
- changed-files:
85+
- any-glob-to-any-file: packages/cubejs-pinot-driver/**/*
86+
87+
driver:postgres:
88+
- changed-files:
89+
- any-glob-to-any-file: packages/cubejs-postgres-driver/**/*
90+
91+
driver:prestodb:
92+
- changed-files:
93+
- any-glob-to-any-file: packages/cubejs-prestodb-driver/**/*
94+
95+
driver:questdb:
96+
- changed-files:
97+
- any-glob-to-any-file: packages/cubejs-questdb-driver/**/*
98+
99+
driver:redshift:
100+
- changed-files:
101+
- any-glob-to-any-file: packages/cubejs-redshift-driver/**/*
102+
103+
driver:snowflake:
104+
- changed-files:
105+
- any-glob-to-any-file: packages/cubejs-snowflake-driver/**/*
106+
107+
driver:sqlite:
108+
- changed-files:
109+
- any-glob-to-any-file: packages/cubejs-sqlite-driver/**/*
110+
111+
driver:trino:
112+
- changed-files:
113+
- any-glob-to-any-file: packages/cubejs-trino-driver/**/*
114+
115+
# Client libraries
116+
client:core:
117+
- changed-files:
118+
- any-glob-to-any-file: packages/cubejs-client-core/**/*
119+
120+
client:react:
121+
- changed-files:
122+
- any-glob-to-any-file: packages/cubejs-client-react/**/*
123+
124+
client:vue:
125+
- changed-files:
126+
- any-glob-to-any-file:
127+
- packages/cubejs-client-vue/**/*
128+
- packages/cubejs-client-vue3/**/*
129+
130+
client:ngx:
131+
- changed-files:
132+
- any-glob-to-any-file: packages/cubejs-client-ngx/**/*
133+
134+
client:playground:
135+
- changed-files:
136+
- any-glob-to-any-file: packages/cubejs-playground/**/*
137+
138+
# Cubestore
139+
cube store:
140+
- changed-files:
141+
- any-glob-to-any-file: rust/cubestore/**/*
142+
143+
# Languages
144+
javascript:
145+
- changed-files:
146+
- any-glob-to-any-file:
147+
- '**/*.js'
148+
- '**/*.jsx'
149+
- '**/*.ts'
150+
- '**/*.tsx'
151+
- '**/*.mjs'
152+
- '**/*.cjs'
153+
154+
python:
155+
- changed-files:
156+
- any-glob-to-any-file:
157+
- '**/*.py'
158+
- '**/*.pyi'
159+
- '**/*.pyx'
160+
161+
rust:
162+
- changed-files:
163+
- any-glob-to-any-file:
164+
- '**/*.rs'
165+
- '**/*.toml'
166+
- rust/**/*
167+
168+
backend:cli:
169+
- changed-files:
170+
- any-glob-to-any-file: packages/cubejs-cli/**/*
171+
172+
# Dependencies
173+
dependencies:
174+
- changed-files:
175+
- any-glob-to-all-files:
176+
- '**/package.json'
177+
- '**/package-lock.json'
178+
- '**/yarn.lock'
179+
- '**/Cargo.toml'
180+
- '**/Cargo.lock'

.github/pull_request_template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
**Check List**
2-
- [ ] Tests have been run in packages where changes made if available
2+
- [ ] Tests have been run in packages where changes have been made if available
33
- [ ] Linter has been run for changed code
44
- [ ] Tests for the changes have been added if not covered yet
55
- [ ] Docs have been added / updated if required

.github/workflows/drivers-tests.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ jobs:
111111
- name: Install Rust
112112
uses: actions-rust-lang/setup-rust-toolchain@v1
113113
with:
114-
toolchain: 1.84.1
114+
toolchain: 1.90.0
115115
# override: true # this is by default on
116116
rustflags: ""
117117
components: rustfmt
@@ -204,6 +204,10 @@ jobs:
204204

205205
tests:
206206
runs-on: ubuntu-24.04
207+
permissions:
208+
id-token: write # Needed for OIDC+AWS
209+
contents: read
210+
207211
timeout-minutes: 30
208212
needs: [latest-tag-sha, build]
209213
if: (needs['latest-tag-sha'].outputs.sha != github.sha)
@@ -225,6 +229,7 @@ jobs:
225229
snowflake
226230
snowflake-encrypted-pk
227231
snowflake-export-bucket-s3
232+
snowflake-export-bucket-s3-via-storage-integration-iam-roles
228233
snowflake-export-bucket-s3-prefix
229234
snowflake-export-bucket-azure
230235
snowflake-export-bucket-azure-prefix
@@ -259,6 +264,7 @@ jobs:
259264
- snowflake
260265
- snowflake-encrypted-pk
261266
- snowflake-export-bucket-s3
267+
- snowflake-export-bucket-s3-via-storage-integration-iam-roles
262268
- snowflake-export-bucket-s3-prefix
263269
- snowflake-export-bucket-azure
264270
- snowflake-export-bucket-azure-prefix
@@ -338,6 +344,15 @@ jobs:
338344
gunzip image.tar.gz
339345
docker load -i image.tar
340346
347+
- name: Configure AWS credentials via IRSA
348+
uses: aws-actions/configure-aws-credentials@v4
349+
with:
350+
role-to-assume: ${{ secrets.DRIVERS_TESTS_AWS_ROLE_ARN_FOR_SNOWFLAKE }}
351+
aws-region: us-west-1
352+
mask-aws-account-id: true
353+
if: |
354+
env.DRIVERS_TESTS_ATHENA_CUBEJS_AWS_KEY != '' && matrix.database == 'snowflake-export-bucket-s3-via-storage-integration-iam-roles'
355+
341356
- name: Run tests
342357
uses: nick-fields/retry@v3
343358
# It's enough to test for any one secret because they are set all at once or not set all

.github/workflows/labeler.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: "Pull Request Automatic Labeler"
2+
3+
on:
4+
pull_request:
5+
types: [opened, synchronize, reopened]
6+
7+
jobs:
8+
label:
9+
runs-on: ubuntu-latest
10+
permissions:
11+
contents: read
12+
pull-requests: write
13+
steps:
14+
- uses: actions/labeler@v6
15+
with:
16+
repo-token: "${{ secrets.GITHUB_TOKEN }}"
17+
configuration-path: .github/labeler.yml

.github/workflows/master.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
- name: Install Rust
5757
uses: actions-rust-lang/setup-rust-toolchain@v1
5858
with:
59-
toolchain: 1.84.1
59+
toolchain: 1.90.0
6060
# override: true # this is by default on
6161
rustflags: ""
6262
components: rustfmt

.github/workflows/post-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Install Rust
3636
uses: actions-rust-lang/setup-rust-toolchain@v1
3737
with:
38-
toolchain: 1.84.1
38+
toolchain: 1.90.0
3939
# override: true # this is by default on
4040
rustflags: ""
4141
components: rustfmt

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Install Rust
2323
uses: actions-rust-lang/setup-rust-toolchain@v1
2424
with:
25-
toolchain: 1.84.1
25+
toolchain: 1.90.0
2626
# override: true # this is by default on
2727
rustflags: ""
2828
components: rustfmt
@@ -96,7 +96,7 @@ jobs:
9696
- name: Install Rust
9797
uses: actions-rust-lang/setup-rust-toolchain@v1
9898
with:
99-
toolchain: 1.84.1
99+
toolchain: 1.90.0
100100
# override: true # this is by default on
101101
rustflags: ""
102102
components: rustfmt
@@ -186,7 +186,7 @@ jobs:
186186
- name: Install Rust
187187
uses: actions-rust-lang/setup-rust-toolchain@v1
188188
with:
189-
toolchain: 1.84.1
189+
toolchain: 1.90.0
190190
# override: true # this is by default on
191191
rustflags: ""
192192
components: rustfmt
@@ -261,7 +261,7 @@ jobs:
261261
- name: Install Rust
262262
uses: actions-rust-lang/setup-rust-toolchain@v1
263263
with:
264-
toolchain: 1.84.1
264+
toolchain: 1.90.0
265265
# override: true # this is by default on
266266
rustflags: ""
267267
components: rustfmt

.github/workflows/push.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ jobs:
148148
- name: Install Rust
149149
uses: actions-rust-lang/setup-rust-toolchain@v1
150150
with:
151-
toolchain: 1.84.1
151+
toolchain: 1.90.0
152152
# override: true # this is by default on
153153
rustflags: ""
154154
components: rustfmt
@@ -213,7 +213,7 @@ jobs:
213213
- name: Install Rust
214214
uses: actions-rust-lang/setup-rust-toolchain@v1
215215
with:
216-
toolchain: 1.84.1
216+
toolchain: 1.90.0
217217
components: rustfmt
218218
- name: Cargo test cubeorchestrator
219219
run: cargo test --manifest-path rust/cubeorchestrator/Cargo.toml -j 4
@@ -276,7 +276,7 @@ jobs:
276276
- name: Install Rust
277277
uses: actions-rust-lang/setup-rust-toolchain@v1
278278
with:
279-
toolchain: 1.84.1
279+
toolchain: 1.90.0
280280
# override: true # this is by default on
281281
rustflags: ""
282282
components: rustfmt
@@ -424,7 +424,7 @@ jobs:
424424
- name: Install Rust
425425
uses: actions-rust-lang/setup-rust-toolchain@v1
426426
with:
427-
toolchain: 1.84.1
427+
toolchain: 1.90.0
428428
# override: true # this is by default on
429429
rustflags: ""
430430
components: rustfmt
@@ -774,6 +774,10 @@ jobs:
774774
contents: read
775775
actions: read
776776
steps:
777+
- name: Checkout
778+
uses: actions/checkout@v4
779+
with:
780+
fetch-depth: 2
777781
- name: Install Codecov CLI
778782
run: |
779783
curl -Os https://uploader.codecov.io/latest/linux/codecov

.github/workflows/rust-cubesql.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Install Rust
3333
uses: actions-rust-lang/setup-rust-toolchain@v1
3434
with:
35-
toolchain: 1.84.1
35+
toolchain: 1.90.0
3636
# override: true # this is by default on
3737
rustflags: ""
3838
components: rustfmt, clippy
@@ -149,7 +149,7 @@ jobs:
149149
- name: Install Rust
150150
uses: actions-rust-lang/setup-rust-toolchain@v1
151151
with:
152-
toolchain: 1.84.1
152+
toolchain: 1.90.0
153153
# override: true # this is by default on
154154
rustflags: ""
155155
components: rustfmt
@@ -255,7 +255,7 @@ jobs:
255255
- name: Install Rust
256256
uses: actions-rust-lang/setup-rust-toolchain@v1
257257
with:
258-
toolchain: 1.84.1
258+
toolchain: 1.90.0
259259
# override: true # this is by default on
260260
rustflags: ""
261261
components: rustfmt
@@ -338,7 +338,7 @@ jobs:
338338
- name: Install Rust
339339
uses: actions-rust-lang/setup-rust-toolchain@v1
340340
with:
341-
toolchain: 1.84.1
341+
toolchain: 1.90.0
342342
# override: true # this is by default on
343343
rustflags: ""
344344
components: rustfmt

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
22.18.0
1+
22.20.0

0 commit comments

Comments
 (0)