Skip to content

Commit 9da63c1

Browse files
authored
release: 2025-01-30 (#545)
1 parent 1ddd3ed commit 9da63c1

File tree

97 files changed

+1495
-1352
lines changed

Some content is hidden

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

97 files changed

+1495
-1352
lines changed

.github/workflows/bigquery-ded.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ubuntu-20.04
1818
timeout-minutes: 20
1919
env:
20-
GCLOUD_VERSION: 290.0.1
20+
GCLOUD_VERSION: 500.0.0
2121
BQ_PROJECT: ${{ secrets.BQ_PROJECT_CD }}
2222
BQ_REGION: ${{ secrets.BQ_REGION_CD }}
2323
BQ_BUCKET: ${{ secrets.BQ_BUCKET_CD }}
@@ -42,13 +42,13 @@ jobs:
4242
with:
4343
node-version: ${{ env.NODE_VERSION }}
4444
- name: Auth google
45-
uses: google-github-actions/auth@v0
45+
uses: google-github-actions/auth@v2
4646
with:
4747
credentials_json: ${{ secrets.BQCARTOCD_DEPLOY_CLOUD_EXTENSIONS_SA_BASE64 }}
4848
project_id: ${{ env.BQ_PROJECT }}
4949
create_credentials_file: true
5050
- name: Setup gcloud
51-
uses: google-github-actions/setup-gcloud@v0
51+
uses: google-github-actions/setup-gcloud@v2
5252
with:
5353
version: ${{ env.GCLOUD_VERSION }}
5454
project_id: ${{ env.BQ_PROJECT }}

.github/workflows/bigquery.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ env:
1818
NODE_VERSION: 14
1919
PYTHON3_VERSION: 3.8.10
2020
VIRTUALENV_VERSION: 20.21.1
21-
GCLOUD_VERSION: 290.0.1
21+
GCLOUD_VERSION: 500.0.0
2222

2323
jobs:
2424

@@ -40,13 +40,13 @@ jobs:
4040
with:
4141
node-version: ${{ env.NODE_VERSION }}
4242
- name: Auth google
43-
uses: google-github-actions/auth@v0
43+
uses: google-github-actions/auth@v2
4444
with:
4545
credentials_json: ${{ secrets.BQCARTOCI_DEPLOY_CLOUD_EXTENSIONS_SA_BASE64 }}
4646
project_id: ${{ env.BQ_PROJECT_CI }}
4747
create_credentials_file: true
4848
- name: Setup gcloud
49-
uses: google-github-actions/setup-gcloud@v0
49+
uses: google-github-actions/setup-gcloud@v2
5050
with:
5151
version: ${{ env.GCLOUD_VERSION }}
5252
project_id: ${{ env.BQ_PROJECT_CI }}
@@ -85,13 +85,13 @@ jobs:
8585
- name: Check diff
8686
uses: technote-space/get-diff-action@v4
8787
- name: Auth google
88-
uses: google-github-actions/auth@v0
88+
uses: google-github-actions/auth@v2
8989
with:
9090
credentials_json: ${{ secrets.BQCARTOCD_DEPLOY_CLOUD_EXTENSIONS_SA_BASE64 }}
9191
project_id: ${{ env.BQ_PROJECT }}
9292
create_credentials_file: true
9393
- name: Setup gcloud
94-
uses: google-github-actions/setup-gcloud@v0
94+
uses: google-github-actions/setup-gcloud@v2
9595
with:
9696
version: ${{ env.GCLOUD_VERSION }}
9797
project_id: ${{ env.BQ_PROJECT }}
@@ -130,13 +130,13 @@ jobs:
130130
- name: Check diff
131131
uses: technote-space/get-diff-action@v4
132132
- name: Auth google
133-
uses: google-github-actions/auth@v0
133+
uses: google-github-actions/auth@v2
134134
with:
135135
credentials_json: ${{ secrets.BQCARTO_DEPLOY_CLOUD_EXTENSIONS_SA_BASE64 }}
136136
project_id: ${{ matrix.project }}
137137
create_credentials_file: true
138138
- name: Setup gcloud
139-
uses: google-github-actions/setup-gcloud@v0
139+
uses: google-github-actions/setup-gcloud@v2
140140
with:
141141
version: ${{ env.GCLOUD_VERSION }}
142142
project_id: ${{ matrix.project }}
@@ -157,13 +157,13 @@ jobs:
157157
- name: Checkout repo
158158
uses: actions/checkout@v2
159159
- name: Auth google
160-
uses: google-github-actions/auth@v0
160+
uses: google-github-actions/auth@v2
161161
with:
162162
credentials_json: ${{ secrets.GCLOUD_PRODUCTION_RELEASE_SA }}
163163
project_id: ${{ secrets.GCLOUD_PRODUCTION_PROJECT }}
164164
create_credentials_file: true
165165
- name: Setup gcloud
166-
uses: google-github-actions/setup-gcloud@v0
166+
uses: google-github-actions/setup-gcloud@v2
167167
with:
168168
version: ${{ env.GCLOUD_VERSION }}
169169
project_id: ${{ secrets.GCLOUD_PRODUCTION_PROJECT }}

.github/workflows/databricks.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717
env:
1818
PYTHON3_VERSION: 3.8.11
1919
VIRTUALENV_VERSION: 20.21.1
20-
GCLOUD_VERSION: 290.0.1
20+
GCLOUD_VERSION: 500.0.0
2121
GOOGLE_SECRET_MANAGER_PROJECT: ${{ secrets.GOOGLE_SECRET_MANAGER_PROJECT }}
2222

2323
jobs:
@@ -35,7 +35,7 @@ jobs:
3535
- name: Checkout repo
3636
uses: actions/checkout@v3
3737
- name: Auth google
38-
uses: google-github-actions/auth@v0
38+
uses: google-github-actions/auth@v2
3939
with:
4040
credentials_json: ${{ secrets.CARTODB_ON_GCP_TERRAFORM_CI_CD_SERVICE_ACCOUNT_KEY }}
4141
- name: Get secrets
@@ -87,7 +87,7 @@ jobs:
8787
- name: Checkout repo
8888
uses: actions/checkout@v3
8989
- name: Auth google
90-
uses: google-github-actions/auth@v0
90+
uses: google-github-actions/auth@v2
9191
with:
9292
credentials_json: ${{ secrets.CARTODB_ON_GCP_TERRAFORM_CI_CD_SERVICE_ACCOUNT_KEY }}
9393
- name: Get secrets
@@ -138,13 +138,13 @@ jobs:
138138
- name: Setup virtualenv
139139
run: pip install virtualenv==${{ env.VIRTUALENV_VERSION }}
140140
- name: Auth google
141-
uses: google-github-actions/auth@v0
141+
uses: google-github-actions/auth@v2
142142
with:
143143
credentials_json: ${{ secrets.GCLOUD_PRODUCTION_RELEASE_SA }}
144144
project_id: ${{ secrets.GCLOUD_PRODUCTION_PROJECT }}
145145
create_credentials_file: true
146146
- name: Setup gcloud
147-
uses: google-github-actions/setup-gcloud@v0
147+
uses: google-github-actions/setup-gcloud@v2
148148
with:
149149
version: ${{ env.GCLOUD_VERSION }}
150150
project_id: ${{ secrets.GCLOUD_PRODUCTION_PROJECT }}

.github/workflows/draft-new-release.yml

Lines changed: 0 additions & 82 deletions
This file was deleted.

.github/workflows/postgres.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ env:
1818
NODE_VERSION: 14
1919
PYTHON3_VERSION: 3.8.10
2020
VIRTUALENV_VERSION: 20.21.1
21-
GCLOUD_VERSION: 290.0.1
21+
GCLOUD_VERSION: 500.0.0
2222

2323
jobs:
2424

@@ -116,13 +116,13 @@ jobs:
116116
- name: Setup virtualenv
117117
run: pip install virtualenv==${{ env.VIRTUALENV_VERSION }}
118118
- name: Auth google
119-
uses: google-github-actions/auth@v0
119+
uses: google-github-actions/auth@v2
120120
with:
121121
credentials_json: ${{ secrets.GCLOUD_PRODUCTION_RELEASE_SA }}
122122
project_id: ${{ secrets.GCLOUD_PRODUCTION_PROJECT }}
123123
create_credentials_file: true
124124
- name: Setup gcloud
125-
uses: google-github-actions/setup-gcloud@v0
125+
uses: google-github-actions/setup-gcloud@v2
126126
with:
127127
version: ${{ env.GCLOUD_VERSION }}
128128
project_id: ${{ secrets.GCLOUD_PRODUCTION_PROJECT }}

.github/workflows/publish-release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ jobs:
9797
pr_title: Merge release into main branch
9898
pr_body: |
9999
This PR merges the release branch back into main.
100-
This happens to ensure that the updates that happend on the stable branch.
101100
- name: Merge PR if possible
102101
continue-on-error: true
103102
env:

.github/workflows/redshift.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ env:
1919
PYTHON2_VERSION: 2.7.18
2020
PYTHON3_VERSION: 3.8.10
2121
VIRTUALENV_VERSION: 20.15.1
22-
GCLOUD_VERSION: 290.0.1
22+
GCLOUD_VERSION: 500.0.0
2323

2424
jobs:
2525

@@ -169,13 +169,13 @@ jobs:
169169
unzip awscliv2.zip
170170
./aws/install
171171
- name: Auth google
172-
uses: google-github-actions/auth@v0
172+
uses: google-github-actions/auth@v2
173173
with:
174174
credentials_json: ${{ secrets.GCLOUD_PRODUCTION_RELEASE_SA }}
175175
project_id: ${{ secrets.GCLOUD_PRODUCTION_PROJECT }}
176176
create_credentials_file: true
177177
- name: Setup gcloud
178-
uses: google-github-actions/setup-gcloud@v0
178+
uses: google-github-actions/setup-gcloud@v2
179179
with:
180180
version: ${{ env.GCLOUD_VERSION }}
181181
project_id: ${{ secrets.GCLOUD_PRODUCTION_PROJECT }}

.github/workflows/snowflake.yml

Lines changed: 36 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ env:
1818
NODE_VERSION: 18.16
1919
PYTHON3_VERSION: 3.8.18
2020
VIRTUALENV_VERSION: 20.21.1
21-
GCLOUD_VERSION: 290.0.1
21+
GCLOUD_VERSION: 500.0.0
2222

2323
jobs:
2424

@@ -88,6 +88,39 @@ jobs:
8888
cd clouds/snowflake
8989
make deploy diff="$GIT_DIFF" production=1
9090
91+
deploy-internal-stable:
92+
if: github.ref_name == 'stable'
93+
needs: test
94+
runs-on: ubuntu-20.04
95+
timeout-minutes: 20
96+
strategy:
97+
matrix:
98+
include:
99+
- account: SF_ACCOUNT_CD
100+
database: SF_DATABASE_STABLE_CD
101+
user: SF_USER_CD
102+
password: SF_PASSWORD_CD
103+
role: SF_ROLE_CD
104+
env:
105+
SF_ACCOUNT: ${{ secrets[matrix.account] }}
106+
SF_DATABASE: ${{ secrets[matrix.database] }}
107+
SF_USER: ${{ secrets[matrix.user] }}
108+
SF_PASSWORD: ${{ secrets[matrix.password] }}
109+
SF_ROLE: ${{ secrets[matrix.role] }}
110+
steps:
111+
- name: Checkout repo
112+
uses: actions/checkout@v2
113+
- name: Check diff
114+
uses: technote-space/get-diff-action@v4
115+
- name: Setup node
116+
uses: actions/setup-node@v1
117+
with:
118+
node-version: ${{ env.NODE_VERSION }}
119+
- name: Run deploy
120+
run: |
121+
cd clouds/snowflake
122+
make deploy diff="$GIT_DIFF" production=1
123+
91124
deploy-internal-app:
92125
if: github.ref_name == 'main'
93126
needs: test
@@ -162,13 +195,13 @@ jobs:
162195
with:
163196
node-version: ${{ env.NODE_VERSION }}
164197
- name: Auth google
165-
uses: google-github-actions/auth@v0
198+
uses: google-github-actions/auth@v2
166199
with:
167200
credentials_json: ${{ secrets.GCLOUD_PRODUCTION_RELEASE_SA }}
168201
project_id: ${{ secrets.GCLOUD_PRODUCTION_PROJECT }}
169202
create_credentials_file: true
170203
- name: Setup gcloud
171-
uses: google-github-actions/setup-gcloud@v0
204+
uses: google-github-actions/setup-gcloud@v2
172205
with:
173206
version: ${{ env.GCLOUD_VERSION }}
174207
project_id: ${{ secrets.GCLOUD_PRODUCTION_PROJECT }}

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,17 @@ CARTO Analytics Toolbox Core.
44

55
All notable commits to this project will be documented in this file.
66

7+
## 2025-01-30
8+
9+
- chore(sf): deploy snowflake in CARTO.CARTO when releasing (#536)
10+
- chore: update gh actions versions (#537)
11+
- chore(bq): add skip dependency tag in bigquery build_modules (#538)
12+
- docs(sf|h3): update h3_polyfill_table docs as it does not support points or lines (#539)
13+
- chore(deps): bump jinja2 from 3.1.3 to 3.1.5 in /clouds/databricks/common (#540)
14+
- fix(bq|h3,quadbin): H3_POLYFILL and QUADBIN_POLYFILL functions not working with holes (#542)
15+
- chore(bq): split JS libraries generation (#541, #543)
16+
- chore(sf): SF_ACCOUNT no longer follows "account.region" format (#544)
17+
718
## 2024-10-28
819

920
- chore(bq): fix @google-cloud/bigquery to version 7.9.0 (#531)

clouds/bigquery/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ CARTO Analytics Toolbox Core for BigQuery.
44

55
All notable commits to this project will be documented in this file.
66

7+
## [1.2.5] - 2025-01-30
8+
9+
- chore: add skip dependency tag in bigquery build_modules (#538)
10+
- fix(h3,quadbin): H3_POLYFILL and QUADBIN_POLYFILL functions not working with holes (#542)
11+
- chore: split JS libraries generation (#541, #543)
12+
713
## [1.2.4] - 2024-10-28
814

915
- chore: fix @google-cloud/bigquery to version 7.9.0 (#531)

0 commit comments

Comments
 (0)