Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release: 2025-01-30 #545

Merged
merged 26 commits into from
Jan 30, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
e0fdd3f
Merge release into main branch (#517)
github-actions[bot] Jul 2, 2024
e1ab4b4
chore(deps): bump scipy from 0.12.0 to 0.12.1 in /clouds/redshift/lib…
dependabot[bot] Jul 2, 2024
d63d5ff
docs(sf): fix native apps installation doc (#519)
vdelacruzb Aug 8, 2024
501e373
fix(pg): lock numpy to v1.24.4 until pandas supports 2.X.X (#520)
DeanSherwin Aug 20, 2024
259895d
Merge release into main branch (#522)
github-actions[bot] Aug 22, 2024
874ffae
feat(sf): added warehouse option for SF (#524)
volaya Sep 3, 2024
775fb87
chore(bq): increse jest timeout to 30000 (#525)
vdelacruzb Sep 5, 2024
4a2376e
docs(sf): add docs on how to update the analytics toolbox from a nati…
vdelacruzb Sep 18, 2024
05a4bb1
chore(sf): update python version on stored procedures from 3.8 to 3.9…
vdelacruzb Sep 20, 2024
1dfc364
Merge release into main branch (#530)
github-actions[bot] Sep 24, 2024
c0b02a7
chore(bq): fix @google-cloud/bigquery to version 7.9.0 (#531)
vdelacruzb Sep 26, 2024
3bb797a
chore(bq,sf,rs,pg|h3,quadbin): added "geo" aliases for certain functi…
volaya Oct 23, 2024
a72b208
Merge release into main branch (#534)
github-actions[bot] Oct 29, 2024
94532b0
chore(sf): deploy snowflake in CARTO.CARTO when releasing (#536)
vdelacruzb Nov 5, 2024
b5d0edd
chore: update gh actions versions (#537)
Jesus89 Nov 29, 2024
e604e83
chore(bq): add skip dependency tag in bigquery build_modules (#538)
vdelacruzb Dec 11, 2024
f1025de
docs(sf|h3): update h3_polyfill_table docs as it does not support poi…
vdelacruzb Dec 18, 2024
b5649a7
chore(deps): bump jinja2 from 3.1.3 to 3.1.5 in /clouds/databricks/co…
dependabot[bot] Dec 24, 2024
14b2b5c
fix(bq|h3,quadbin): H3_POLYFILL and QUADBIN_POLYFILL functions not wo…
vdelacruzb Jan 23, 2025
a77c453
chores(bq): split JS libraries generation (#541)
vdelacruzb Jan 24, 2025
2da5ee5
chore(bq): allow supporting multiple libraries in one line (#543)
vdelacruzb Jan 27, 2025
c978190
chore(sf): SF_ACCOUNT no longer follows "account.region" format (#544)
vdelacruzb Jan 28, 2025
ae38851
update changelog
vdelacruzb Jan 30, 2025
09cdaad
Merge branch 'stable' into release/2025-01-30
vdelacruzb Jan 30, 2025
18aecaf
udpate changelogs
vdelacruzb Jan 30, 2025
0397a49
update changelog
vdelacruzb Jan 30, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/bigquery-ded.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-20.04
timeout-minutes: 20
env:
GCLOUD_VERSION: 290.0.1
GCLOUD_VERSION: 500.0.0
BQ_PROJECT: ${{ secrets.BQ_PROJECT_CD }}
BQ_REGION: ${{ secrets.BQ_REGION_CD }}
BQ_BUCKET: ${{ secrets.BQ_BUCKET_CD }}
Expand All @@ -42,13 +42,13 @@ jobs:
with:
node-version: ${{ env.NODE_VERSION }}
- name: Auth google
uses: google-github-actions/auth@v0
uses: google-github-actions/auth@v2
with:
credentials_json: ${{ secrets.BQCARTOCD_DEPLOY_CLOUD_EXTENSIONS_SA_BASE64 }}
project_id: ${{ env.BQ_PROJECT }}
create_credentials_file: true
- name: Setup gcloud
uses: google-github-actions/setup-gcloud@v0
uses: google-github-actions/setup-gcloud@v2
with:
version: ${{ env.GCLOUD_VERSION }}
project_id: ${{ env.BQ_PROJECT }}
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/bigquery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ env:
NODE_VERSION: 14
PYTHON3_VERSION: 3.8.10
VIRTUALENV_VERSION: 20.21.1
GCLOUD_VERSION: 290.0.1
GCLOUD_VERSION: 500.0.0

jobs:

Expand All @@ -40,13 +40,13 @@ jobs:
with:
node-version: ${{ env.NODE_VERSION }}
- name: Auth google
uses: google-github-actions/auth@v0
uses: google-github-actions/auth@v2
with:
credentials_json: ${{ secrets.BQCARTOCI_DEPLOY_CLOUD_EXTENSIONS_SA_BASE64 }}
project_id: ${{ env.BQ_PROJECT_CI }}
create_credentials_file: true
- name: Setup gcloud
uses: google-github-actions/setup-gcloud@v0
uses: google-github-actions/setup-gcloud@v2
with:
version: ${{ env.GCLOUD_VERSION }}
project_id: ${{ env.BQ_PROJECT_CI }}
Expand Down Expand Up @@ -85,13 +85,13 @@ jobs:
- name: Check diff
uses: technote-space/get-diff-action@v4
- name: Auth google
uses: google-github-actions/auth@v0
uses: google-github-actions/auth@v2
with:
credentials_json: ${{ secrets.BQCARTOCD_DEPLOY_CLOUD_EXTENSIONS_SA_BASE64 }}
project_id: ${{ env.BQ_PROJECT }}
create_credentials_file: true
- name: Setup gcloud
uses: google-github-actions/setup-gcloud@v0
uses: google-github-actions/setup-gcloud@v2
with:
version: ${{ env.GCLOUD_VERSION }}
project_id: ${{ env.BQ_PROJECT }}
Expand Down Expand Up @@ -130,13 +130,13 @@ jobs:
- name: Check diff
uses: technote-space/get-diff-action@v4
- name: Auth google
uses: google-github-actions/auth@v0
uses: google-github-actions/auth@v2
with:
credentials_json: ${{ secrets.BQCARTO_DEPLOY_CLOUD_EXTENSIONS_SA_BASE64 }}
project_id: ${{ matrix.project }}
create_credentials_file: true
- name: Setup gcloud
uses: google-github-actions/setup-gcloud@v0
uses: google-github-actions/setup-gcloud@v2
with:
version: ${{ env.GCLOUD_VERSION }}
project_id: ${{ matrix.project }}
Expand All @@ -157,13 +157,13 @@ jobs:
- name: Checkout repo
uses: actions/checkout@v2
- name: Auth google
uses: google-github-actions/auth@v0
uses: google-github-actions/auth@v2
with:
credentials_json: ${{ secrets.GCLOUD_PRODUCTION_RELEASE_SA }}
project_id: ${{ secrets.GCLOUD_PRODUCTION_PROJECT }}
create_credentials_file: true
- name: Setup gcloud
uses: google-github-actions/setup-gcloud@v0
uses: google-github-actions/setup-gcloud@v2
with:
version: ${{ env.GCLOUD_VERSION }}
project_id: ${{ secrets.GCLOUD_PRODUCTION_PROJECT }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/databricks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:
env:
PYTHON3_VERSION: 3.8.11
VIRTUALENV_VERSION: 20.21.1
GCLOUD_VERSION: 290.0.1
GCLOUD_VERSION: 500.0.0
GOOGLE_SECRET_MANAGER_PROJECT: ${{ secrets.GOOGLE_SECRET_MANAGER_PROJECT }}

jobs:
Expand All @@ -35,7 +35,7 @@ jobs:
- name: Checkout repo
uses: actions/checkout@v3
- name: Auth google
uses: google-github-actions/auth@v0
uses: google-github-actions/auth@v2
with:
credentials_json: ${{ secrets.CARTODB_ON_GCP_TERRAFORM_CI_CD_SERVICE_ACCOUNT_KEY }}
- name: Get secrets
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
- name: Checkout repo
uses: actions/checkout@v3
- name: Auth google
uses: google-github-actions/auth@v0
uses: google-github-actions/auth@v2
with:
credentials_json: ${{ secrets.CARTODB_ON_GCP_TERRAFORM_CI_CD_SERVICE_ACCOUNT_KEY }}
- name: Get secrets
Expand Down Expand Up @@ -138,13 +138,13 @@ jobs:
- name: Setup virtualenv
run: pip install virtualenv==${{ env.VIRTUALENV_VERSION }}
- name: Auth google
uses: google-github-actions/auth@v0
uses: google-github-actions/auth@v2
with:
credentials_json: ${{ secrets.GCLOUD_PRODUCTION_RELEASE_SA }}
project_id: ${{ secrets.GCLOUD_PRODUCTION_PROJECT }}
create_credentials_file: true
- name: Setup gcloud
uses: google-github-actions/setup-gcloud@v0
uses: google-github-actions/setup-gcloud@v2
with:
version: ${{ env.GCLOUD_VERSION }}
project_id: ${{ secrets.GCLOUD_PRODUCTION_PROJECT }}
Expand Down
82 changes: 0 additions & 82 deletions .github/workflows/draft-new-release.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ env:
NODE_VERSION: 14
PYTHON3_VERSION: 3.8.10
VIRTUALENV_VERSION: 20.21.1
GCLOUD_VERSION: 290.0.1
GCLOUD_VERSION: 500.0.0

jobs:

Expand Down Expand Up @@ -116,13 +116,13 @@ jobs:
- name: Setup virtualenv
run: pip install virtualenv==${{ env.VIRTUALENV_VERSION }}
- name: Auth google
uses: google-github-actions/auth@v0
uses: google-github-actions/auth@v2
with:
credentials_json: ${{ secrets.GCLOUD_PRODUCTION_RELEASE_SA }}
project_id: ${{ secrets.GCLOUD_PRODUCTION_PROJECT }}
create_credentials_file: true
- name: Setup gcloud
uses: google-github-actions/setup-gcloud@v0
uses: google-github-actions/setup-gcloud@v2
with:
version: ${{ env.GCLOUD_VERSION }}
project_id: ${{ secrets.GCLOUD_PRODUCTION_PROJECT }}
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ jobs:
pr_title: Merge release into main branch
pr_body: |
This PR merges the release branch back into main.
This happens to ensure that the updates that happend on the stable branch.
- name: Merge PR if possible
continue-on-error: true
env:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/redshift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ env:
PYTHON2_VERSION: 2.7.18
PYTHON3_VERSION: 3.8.10
VIRTUALENV_VERSION: 20.15.1
GCLOUD_VERSION: 290.0.1
GCLOUD_VERSION: 500.0.0

jobs:

Expand Down Expand Up @@ -169,13 +169,13 @@ jobs:
unzip awscliv2.zip
./aws/install
- name: Auth google
uses: google-github-actions/auth@v0
uses: google-github-actions/auth@v2
with:
credentials_json: ${{ secrets.GCLOUD_PRODUCTION_RELEASE_SA }}
project_id: ${{ secrets.GCLOUD_PRODUCTION_PROJECT }}
create_credentials_file: true
- name: Setup gcloud
uses: google-github-actions/setup-gcloud@v0
uses: google-github-actions/setup-gcloud@v2
with:
version: ${{ env.GCLOUD_VERSION }}
project_id: ${{ secrets.GCLOUD_PRODUCTION_PROJECT }}
Expand Down
39 changes: 36 additions & 3 deletions .github/workflows/snowflake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ env:
NODE_VERSION: 18.16
PYTHON3_VERSION: 3.8.18
VIRTUALENV_VERSION: 20.21.1
GCLOUD_VERSION: 290.0.1
GCLOUD_VERSION: 500.0.0

jobs:

Expand Down Expand Up @@ -88,6 +88,39 @@ jobs:
cd clouds/snowflake
make deploy diff="$GIT_DIFF" production=1

deploy-internal-stable:
if: github.ref_name == 'stable'
needs: test
runs-on: ubuntu-20.04
timeout-minutes: 20
strategy:
matrix:
include:
- account: SF_ACCOUNT_CD
database: SF_DATABASE_STABLE_CD
user: SF_USER_CD
password: SF_PASSWORD_CD
role: SF_ROLE_CD
env:
SF_ACCOUNT: ${{ secrets[matrix.account] }}
SF_DATABASE: ${{ secrets[matrix.database] }}
SF_USER: ${{ secrets[matrix.user] }}
SF_PASSWORD: ${{ secrets[matrix.password] }}
SF_ROLE: ${{ secrets[matrix.role] }}
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Check diff
uses: technote-space/get-diff-action@v4
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: ${{ env.NODE_VERSION }}
- name: Run deploy
run: |
cd clouds/snowflake
make deploy diff="$GIT_DIFF" production=1

deploy-internal-app:
if: github.ref_name == 'main'
needs: test
Expand Down Expand Up @@ -162,13 +195,13 @@ jobs:
with:
node-version: ${{ env.NODE_VERSION }}
- name: Auth google
uses: google-github-actions/auth@v0
uses: google-github-actions/auth@v2
with:
credentials_json: ${{ secrets.GCLOUD_PRODUCTION_RELEASE_SA }}
project_id: ${{ secrets.GCLOUD_PRODUCTION_PROJECT }}
create_credentials_file: true
- name: Setup gcloud
uses: google-github-actions/setup-gcloud@v0
uses: google-github-actions/setup-gcloud@v2
with:
version: ${{ env.GCLOUD_VERSION }}
project_id: ${{ secrets.GCLOUD_PRODUCTION_PROJECT }}
Expand Down
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@ CARTO Analytics Toolbox Core.

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

## 2025-01-30

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

## 2024-10-28

- chore(bq): fix @google-cloud/bigquery to version 7.9.0 (#531)
Expand Down
6 changes: 6 additions & 0 deletions clouds/bigquery/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ CARTO Analytics Toolbox Core for BigQuery.

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

## [1.2.5] - 2025-01-30

- chore: add skip dependency tag in bigquery build_modules (#538)
- fix(h3,quadbin): H3_POLYFILL and QUADBIN_POLYFILL functions not working with holes (#542)
- chore: split JS libraries generation (#541, #543)

## [1.2.4] - 2024-10-28

- chore: fix @google-cloud/bigquery to version 7.9.0 (#531)
Expand Down
6 changes: 5 additions & 1 deletion clouds/bigquery/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ ROOT_DIR := $(shell dirname $(abspath $(lastword $(MAKEFILE_LIST))))

DIST_DIR ?= $(ROOT_DIR)/dist
BUILD_DIR ?= $(ROOT_DIR)/build
MODULES_DIRS ?= $(ROOT_DIR)/modules
ESLINTRC_DIR ?= $(ROOT_DIR)/../..
COMMON_DIR = $(ROOT_DIR)/common
PACKAGE_VERSION ?= $(shell cat $(ROOT_DIR)/version)
Expand Down Expand Up @@ -49,7 +50,10 @@ build:
build-libraries:
mkdir -p $(BUILD_DIR)/libs
$(MAKE) -C libraries/javascript build
cp libraries/javascript/build/index.js $(BUILD_DIR)/libs/$(BQ_LIBRARY_DEFAULT).js
$(COMMON_DIR)/list_libraries.js $(MODULES_DIRS) --diff="$(diff)" --modules=$(modules) --functions=$(functions) --nodeps=$(nodeps) --makelib=$(MAKE_LIB) 1>/dev/null # Check errors
for f in `$(COMMON_DIR)/list_libraries.js $(MODULES_DIRS) --diff="$(diff)" --modules=$(modules) --functions=$(functions) --nodeps=$(nodeps) --makelib=$(MAKE_LIB)`; do \
cp libraries/javascript/build/$${f}.js $(BUILD_DIR)/libs/$(BQ_LIBRARY_DEFAULT)_$${f}.js; \
done
ifdef MAKE_LIB
cp libraries/javascript/build/index_$(MAKE_LIB).js $(BUILD_DIR)/libs/$(BQ_LIBRARY_DEFAULT)_$(MAKE_LIB).js
endif
Expand Down
Loading
Loading