Skip to content

Commit

Permalink
bump to v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
samansmink committed Jun 5, 2024
1 parent 8479d21 commit 8a5820c
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 14 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/MainDistributionPipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@ concurrency:
jobs:
duckdb-stable-build:
name: Build extension binaries
uses: duckdb/extension-ci-tools/.github/workflows/_extension_distribution.yml@v0.10.3
uses: duckdb/extension-ci-tools/.github/workflows/_extension_distribution.yml@v1.0.0
with:
duckdb_version: v0.10.3
duckdb_version: v1.0.0
extension_name: uc_catalog
exclude_archs: 'wasm_mvp;wasm_eh;wasm_threads;windows_amd64_rtools;windows_amd64;linux_arm64;linux_amd64_gcc4'
exclude_archs: 'wasm_mvp;wasm_eh;wasm_threads;windows_amd64_rtools;windows_amd64;linux_arm64;'

duckdb-stable-deploy:
name: Deploy extension binaries
needs: duckdb-stable-build
uses: duckdb/extension-ci-tools/.github/workflows/_extension_deploy.yml@main
uses: duckdb/extension-ci-tools/.github/workflows/_extension_deploy.yml@v1.0.0
secrets: inherit
with:
duckdb_version: v0.10.3
duckdb_version: v1.0.0
extension_name: uc_catalog
exclude_archs: 'wasm_mvp;wasm_eh;wasm_threads;windows_amd64_rtools;windows_amd64;linux_arm64;linux_amd64_gcc4'
exclude_archs: 'wasm_mvp;wasm_eh;wasm_threads;windows_amd64_rtools;windows_amd64;linux_arm64;'
deploy_latest: ${{ startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main' }}
6 changes: 2 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,9 @@ set(LOADABLE_EXTENSION_NAME ${TARGET_NAME}_loadable_extension)
project(${TARGET_NAME})
include_directories(src/include)

add_subdirectory(src)

find_package(CURL REQUIRED)
include_directories(${CURL_INCLUDE_DIRS})
include_directories(CURL::libcurl)

add_subdirectory(src)

build_static_extension(${TARGET_NAME} ${ALL_OBJECT_FILES})
build_loadable_extension(${TARGET_NAME} " " ${ALL_OBJECT_FILES})
Expand Down
2 changes: 1 addition & 1 deletion duckdb
Submodule duckdb updated 134 files
3 changes: 3 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ add_subdirectory(storage)

add_library(
uc_ext_library OBJECT uc_catalog_extension.cpp uc_api.cpp uc_utils.cpp)

target_link_libraries(uc_ext_library CURL::libcurl)

set(ALL_OBJECT_FILES
${ALL_OBJECT_FILES} $<TARGET_OBJECTS:uc_ext_library>
PARENT_SCOPE)
2 changes: 1 addition & 1 deletion src/uc_api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ static string GetCredentialsRequest(const string& url, const string &table_id, c
CURLcode res;
string readBuffer;

string body = StringUtil::Format(R"({"table_id" : "%s", "operation" : "READ_WRITE"})", table_id);
string body = StringUtil::Format(R"({"table_id" : "%s", "operation" : "READ"})", table_id);

curl = curl_easy_init();
if(curl) {
Expand Down
3 changes: 2 additions & 1 deletion vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"dependencies": [
"curl"
"curl",
"openssl"
]
}

0 comments on commit 8a5820c

Please sign in to comment.