Skip to content

Add Lakekeeper to CI#154

Merged
Tmonster merged 9 commits intoduckdb:mainfrom
Tishj:add_lakekeeper_to_ci
Apr 8, 2025
Merged

Add Lakekeeper to CI#154
Tmonster merged 9 commits intoduckdb:mainfrom
Tishj:add_lakekeeper_to_ci

Conversation

@Tishj
Copy link
Collaborator

@Tishj Tishj commented Apr 4, 2025

This PR adds Lakekeeper to CI, the steps to set up Lakekeeper are largely taken from https://github.com/lakekeeper/lakekeeper/tree/main/examples/access-control-simple

Using the existing data_generators in the scripts directory we populate Lakekeeper with TPCH and run a subset of the TPCH tests on it (test_lakekeeper_tpch.test).

Copy link
Collaborator

@Tmonster Tmonster left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, just a couple of comments

export POLARIS_CLIENT_ID=$(cat polaris_client_id.txt)
export POLARIS_CLIENT_SECRET=$(cat polaris_client_secret.txt)
make test_release No newline at end of file
./build/release/test/unittest "$PWD/test/*" --list-test-names-only || true
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

any specific reason we want to list the test names and then run the tests?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To verify that the tests we care about are actually being run

)

statement ok
attach 'demo' as my_datalake (
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We also support the OAUTH2_SCOPE and OAUTH2_SERVER_URI in the create secret statement right?
Can we also get a test where those values are initialized there?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we do currently, that's part of #142

@Tmonster
Copy link
Collaborator

Tmonster commented Apr 8, 2025

Thanks!

@Tmonster Tmonster merged commit 1731143 into duckdb:main Apr 8, 2025
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants