Skip to content

Commit c3cf1b6

Browse files
authored
Merge branch 'master' into returnUsedPreAggregation
2 parents af1b226 + 92a4b8e commit c3cf1b6

File tree

133 files changed

+44266
-134491
lines changed

Some content is hidden

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

133 files changed

+44266
-134491
lines changed

.github/workflows/cloud.yml

Lines changed: 24 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,6 @@ jobs:
8080
uses: actions/setup-node@v4
8181
with:
8282
node-version: ${{ matrix.node-version }}
83-
- name: Install cargo-cp-artifact
84-
run: npm install -g [email protected]
85-
- uses: Swatinem/rust-cache@v2
86-
with:
87-
workspaces: ./packages/cubejs-backend-native
88-
key: native-${{ runner.OS }}-${{ matrix.target }}
89-
shared-key: native-${{ runner.OS }}-${{ matrix.target }}
9083
- name: Get yarn cache directory path
9184
id: yarn-cache-dir-path
9285
run: echo "dir=$(yarn cache dir)" >> "$GITHUB_OUTPUT"
@@ -101,19 +94,37 @@ jobs:
10194
- name: Set Yarn version
10295
run: yarn policies set-version v1.22.22
10396
- name: Yarn install
104-
run: CUBESTORE_SKIP_POST_INSTALL=true yarn install --frozen-lockfile
105-
- name: Build client
97+
uses: nick-fields/retry@v3
98+
env:
99+
CUBESTORE_SKIP_POST_INSTALL: true
100+
with:
101+
max_attempts: 3
102+
retry_on: error
103+
retry_wait_seconds: 15
104+
timeout_minutes: 20
105+
command: yarn install --frozen-lockfile
106+
- name: Build Core Client libraries
106107
run: yarn build
108+
- name: Build other packages
109+
run: yarn lerna run --concurrency 1 build
110+
env:
111+
NODE_OPTIONS: --max_old_space_size=4096
107112
- name: Lerna tsc
108113
run: yarn tsc
109-
- name: Build native (no python)
110-
run: cd packages/cubejs-backend-native && npm run native:build-release
114+
- name: Build cubejs-backend-native (without Python)
115+
run: yarn run native:build-release
116+
working-directory: ./packages/cubejs-backend-native
111117
- name: Run Integration tests for ${{ matrix.db }} matrix
112-
timeout-minutes: 30
118+
uses: nick-fields/retry@v3
119+
with:
120+
max_attempts: 3
121+
retry_on: error
122+
retry_wait_seconds: 15
123+
timeout_minutes: 30
124+
command: ./.github/actions/integration/${{ matrix.db }}.sh
113125
env:
114126
CUBEJS_DB_BQ_CREDENTIALS: ${{ secrets.CUBEJS_DB_BQ_CREDENTIALS }}
115127
CUBEJS_AWS_KEY: ${{ secrets.CUBEJS_AWS_KEY }}
116128
CUBEJS_AWS_SECRET: ${{ secrets.CUBEJS_AWS_SECRET }}
117129
CUBEJS_DB_USER: ${{ secrets.DRIVERS_TESTS_CUBEJS_DB_SNOWFLAKE_USER }}
118130
CUBEJS_DB_PASS: ${{ secrets.DRIVERS_TESTS_CUBEJS_DB_SNOWFLAKE_PASS }}
119-
run: ./.github/actions/integration/${{ matrix.db }}.sh

.github/workflows/drivers-tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ on:
2323
- 'packages/cubejs-mssql-driver/**'
2424
- 'packages/cubejs-mysql-driver/**'
2525
- 'packages/cubejs-postgres-driver/**'
26+
- 'packages/cubejs-redshift-driver/**'
2627
- 'packages/cubejs-snowflake-driver/**'
2728
- 'packages/cubejs-vertica-driver/**'
2829

@@ -49,6 +50,7 @@ on:
4950
- 'packages/cubejs-mssql-driver/**'
5051
- 'packages/cubejs-mysql-driver/**'
5152
- 'packages/cubejs-postgres-driver/**'
53+
- 'packages/cubejs-redshift-driver/**'
5254
- 'packages/cubejs-snowflake-driver/**'
5355
- 'packages/cubejs-vertica-driver/**'
5456

.github/workflows/post-release.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,15 @@ jobs:
2929
steps:
3030
- name: Checkout
3131
uses: actions/checkout@v4
32+
- name: Install Rust
33+
uses: actions-rust-lang/setup-rust-toolchain@v1
34+
with:
35+
toolchain: nightly-2024-07-15
36+
# override: true # this is by default on
37+
rustflags: ""
38+
components: rustfmt
39+
target: x86_64-unknown-linux-gnu
40+
cache: false
3241
- name: Install Node.js ${{ matrix.node-version }}
3342
uses: actions/setup-node@v4
3443
with:
@@ -61,6 +70,9 @@ jobs:
6170
run: yarn build
6271
- name: Lerna tsc
6372
run: yarn tsc
73+
- name: Build cubejs-backend-native (without Python)
74+
run: yarn run native:build-release
75+
working-directory: ./packages/cubejs-backend-native
6476
- name: Birdbox
6577
env:
6678
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}

CHANGELOG.md

Lines changed: 5578 additions & 11409 deletions
Large diffs are not rendered by default.

docs/pages/product/apis-integrations/ai-api.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ Specifically, you can send the AI API a message (or conversation of messages) an
1111
your Cube representative to have it enabled for your account.
1212
</WarningBox>
1313

14-
See [AI API reference][ref-ref-ai-api] for the list of supported API endpoinsts.
14+
See [AI API reference][ref-ref-ai-api] for the list of supported API endpoints.
15+
16+
<YouTubeVideo url="https://www.youtube.com/embed/Qpg4RxqndnE"/>
1517

1618
## Configuration
1719

docs/pages/product/workspace/monitoring.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ Monitoring integrations suspend their work when a deployment goes to [auto-suspe
2424

2525
</WarningBox>
2626

27+
Monitoring integrations are only available for [production environments][ref-prod-env].
28+
2729
Under the hood, Cube Cloud uses [Vector][vector], an open-source tool for
2830
collecting and delivering monitoring data. It supports a [wide range of
2931
destinations][vector-docs-sinks], also known as _sinks_.
@@ -295,3 +297,4 @@ setting `CUBE_CLOUD_MONITORING_METRICS_USER` and
295297
[prometheus]: https://prometheus.io
296298
[mimir]: https://grafana.com/oss/mimir/
297299
[grafana-cloud]: https://grafana.com/products/cloud/
300+
[ref-prod-env]: /product/workspace/environments#production-environment

lerna-publish.sh

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
#!/bin/bash
22
. .gh-token
33

4-
BRANCH="$(git rev-parse --abbrev-ref HEAD)"
5-
if [[ "$BRANCH" != "master" ]]; then
6-
echo 'Must be run from the master branch';
7-
exit 1;
8-
fi
9-
104
BUMP=$1
115
if [ "x$BUMP" == "x" ]; then
126
BUMP=patch

lerna.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
{
2-
"version": "1.1.16",
2+
"version": "1.1.18",
33
"npmClient": "yarn",
44
"command": {
55
"bootstrap": {
66
"npmClient": "yarn",
77
"npmClientArgs": ["--frozen-lockfile"]
8+
},
9+
"version": {
10+
"allowBranch": ["master", "lts/*"]
811
}
912
},
1013
"$schema": "node_modules/lerna/schemas/lerna-schema.json"

0 commit comments

Comments
 (0)