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

Reusable workflows + vcpkg in template #29

Closed
wants to merge 40 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
6927f98
update duckdb, small change to how tests are run
samansmink Aug 2, 2023
6e65ef9
experiment with resusable workflows
samansmink Aug 2, 2023
0f8612a
workflows only top level
samansmink Aug 2, 2023
e5ee865
woops
samansmink Aug 2, 2023
e503bfa
missing other shit
samansmink Aug 2, 2023
3ec72fe
duckdb_version as input
samansmink Aug 2, 2023
635845f
with bool ?
samansmink Aug 2, 2023
7ff7c02
try again + cancelation
samansmink Aug 2, 2023
804b747
disable cancelation for now
samansmink Aug 2, 2023
0df9ad2
update reusable worflows
samansmink Aug 3, 2023
ac08451
wrong type name
samansmink Aug 3, 2023
b9bf077
allow make test on windows
samansmink Aug 3, 2023
d4ea04b
enable vcpkg
samansmink Aug 3, 2023
2ed2ffd
missed passing this through
samansmink Aug 3, 2023
0bc0002
missing perl thing
samansmink Aug 3, 2023
160b8fc
clean up name
samansmink Aug 3, 2023
1cf9039
switch to reusable workflow from test repo
samansmink Aug 3, 2023
0f7836b
small tweaks
samansmink Aug 3, 2023
f44029f
add openssl to demo extension through vcpkg
samansmink Aug 3, 2023
baaac9e
update readme to explain vcpkg
samansmink Aug 3, 2023
a629635
Also move client test out
samansmink Aug 3, 2023
9f2d861
fix test by switching to regex
samansmink Aug 3, 2023
d85dcf3
remove concurrency group in callable workflows
samansmink Aug 3, 2023
7e3976f
naming wrong way around
samansmink Aug 3, 2023
cb03cf5
missing quotes
samansmink Aug 4, 2023
5d2981b
cleanup makefile a bit
samansmink Aug 4, 2023
a1d0bc6
switch to using loadable extensions for client tests
samansmink Aug 4, 2023
cf715f4
try with dev branch
samansmink Aug 4, 2023
63df308
move client ci out of repo
samansmink Aug 4, 2023
bd0df0a
try out gh pages deployment
samansmink Aug 7, 2023
eefa50e
add deploy workflow
samansmink Aug 7, 2023
227890e
add needs
samansmink Aug 7, 2023
94c22c4
add custom commit message
samansmink Aug 7, 2023
49eeed1
try without configure pages
samansmink Aug 7, 2023
f27b42d
remove deploy step for now
samansmink Aug 11, 2023
d7892c2
more minor things
samansmink Aug 11, 2023
6644772
reverted env for name, is not possible nicely due to gh limitations
samansmink Aug 11, 2023
55d3946
revert change to extension-upload script
samansmink Aug 11, 2023
e527a57
move workflows into duckdb
samansmink Aug 14, 2023
96544f9
Try dispatchable workflow to do multiple versions
samansmink Aug 14, 2023
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
16 changes: 16 additions & 0 deletions .github/workflows/ClientTests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Client specific tests
on: [push, pull_request, repository_dispatch]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref || '' }}-${{ github.base_ref || '' }}-${{ github.ref != 'refs/heads/main' || github.sha }}
cancel-in-progress: true

# TODO: move workflows to official repo
jobs:
python-tests:
name: Python
uses: samansmink/extension-workflows/.github/workflows/Python.yml@main

node-tests:
name: NodeJS
uses: samansmink/extension-workflows/.github/workflows/NodeJS.yml@main
2 changes: 1 addition & 1 deletion .github/workflows/ExtensionTemplate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
name: Linux Extensions
if: ${{ vars.RUN_RENAME_TEST == 'true' }}
runs-on: ubuntu-latest
container: ubuntu:16.04
container: ubuntu:18.04
strategy:
matrix:
# Add commits/tags to build against other DuckDB versions
Expand Down
113 changes: 0 additions & 113 deletions .github/workflows/Linux.yml

This file was deleted.

92 changes: 0 additions & 92 deletions .github/workflows/MacOS.yml

This file was deleted.

24 changes: 24 additions & 0 deletions .github/workflows/MainDistributionPipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Main Extension Distribution Pipeline
on:
push:
pull_request:
repository_dispatch:
workflow_dispatch:
inputs:
duckdb_version:
description: 'Version of DuckDB to build for'
required: false
type: string
default: extension-workflows

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref || '' }}-${{ github.base_ref || '' }}-${{ github.ref != 'refs/heads/main' || github.sha }}
cancel-in-progress: true

jobs:
main-pipeline:
name: Main Pipeline
uses: samansmink/duckdb/.github/workflows/_extension_distribution.yml@${{ inputs.duckdb_version }}
with:
extension_name: quack
secrets: inherit
samansmink marked this conversation as resolved.
Show resolved Hide resolved
40 changes: 0 additions & 40 deletions .github/workflows/NodeJS.yml

This file was deleted.

49 changes: 0 additions & 49 deletions .github/workflows/Python.yml

This file was deleted.

Loading
Loading