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

ci: add Wasm FDW release workflow #293

Merged
merged 2 commits into from
Jun 28, 2024
Merged

ci: add Wasm FDW release workflow #293

merged 2 commits into from
Jun 28, 2024

Conversation

burmecia
Copy link
Member

What kind of change does this PR introduce?

This PR is to add Wasm FDW release CI workflow. This workflow will be triggered by pushing tag like wasm_[project name]_[version], for example wasm_snowflake_fdw_v1.0.2.

What is the current behavior?

Currently there is no CI for Wasm FDW release.

What is the new behavior?

When pushing tag like wasm_snowflake_fdw_v1.0.2, the action will build the project Wasm file and create a release for it. This release will be used for Wasm FDW distribution, that is, we can use it in foreign server option like below:

create server snowflake_server
  foreign data wrapper wasm_wrapper
  options (
    fdw_package_url 'https://github.com/supabase/wrappers/releases/download/wasm_snowflake_fdw_v0.1.0/snowflake_fdw.wasm',
    fdw_package_name 'supabase:snowflake-fdw',
    fdw_package_version '0.1.0',
    ...
);

Additional context

N/A

@burmecia burmecia added the wasm label Jun 28, 2024
@burmecia burmecia requested a review from imor June 28, 2024 10:32
@burmecia burmecia merged commit 44c30f4 into main Jun 28, 2024
2 checks passed
@burmecia burmecia deleted the bo/ci/wasm-fdw-release branch June 28, 2024 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants