-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from theory/pgxn
Add PGXN META.json and test and release workflows
- Loading branch information
Showing
6 changed files
with
94 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.editorconfig export-ignore | ||
.gitignore export-ignore | ||
.gitattributes export-ignore | ||
.github export-ignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: 🧪 Continuous Integration | ||
on: | ||
push: | ||
branches: ['*'] | ||
pull_request: | ||
schedule: | ||
- cron: '0 12 5 * *' # Monthly at noon on the fifth | ||
jobs: | ||
build: | ||
strategy: | ||
matrix: | ||
pg: [16, 15, 14, 13, 12] | ||
name: 🐘 PostgreSQL ${{ matrix.pg }} | ||
runs-on: ubuntu-latest | ||
container: | ||
image: pgxn/pgxn-tools | ||
options: -e AS_USER=pgtest | ||
steps: | ||
- run: pg-start ${{ matrix.pg }} | ||
- uses: actions/checkout@v4 | ||
- run: pg-build-test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: 🚀 Release on PGXN | ||
on: | ||
push: | ||
# Release on semantic version tag. | ||
tags: ['v[0-9]+.[0-9]+.[0-9]+'] | ||
jobs: | ||
release: | ||
name: Release on PGXN | ||
runs-on: ubuntu-latest | ||
container: pgxn/pgxn-tools | ||
steps: | ||
- name: Check out the repo | ||
uses: actions/checkout@v4 | ||
- name: Bundle the Release | ||
run: pgxn-bundle | ||
- name: Release on PGXN | ||
env: | ||
PGXN_USERNAME: ${{ secrets.PGXN_USERNAME }} | ||
PGXN_PASSWORD: ${{ secrets.PGXN_PASSWORD }} | ||
run: pgxn-release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
*.o | ||
*.so | ||
*.dylib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
{ | ||
"name": "pg_kaboom", | ||
"abstract": "Devious SQL-based SQL tools to crash your PostgreSQL server", | ||
"description": "Fault Injection Software to generate specific types of crashes in your Postgres server", | ||
"version": "0.0.1", | ||
"maintainer": [ | ||
"David Christensen <[email protected]>" | ||
], | ||
"license": "apache_2_0", | ||
"provides": { | ||
"pg_kaboom": { | ||
"abstract": "Blow things up in interesting and useful^W^W ways", | ||
"file": "pg_kaboom.c", | ||
"docfile": "README.md", | ||
"version": "0.0.1" | ||
} | ||
}, | ||
"prereqs": { | ||
"runtime": { | ||
"requires": { | ||
"PostgreSQL": ">= 12.0.0" | ||
} | ||
} | ||
}, | ||
"resources": { | ||
"bugtracker": { | ||
"web": "https://github.com/CrunchyData/pg_kaboom/issues/" | ||
}, | ||
"repository": { | ||
"url": "git://github.com/CrunchyData/pg_kaboom.git", | ||
"web": "https://github.com/CrunchyData/pg_kaboom/", | ||
"type": "git" | ||
} | ||
}, | ||
"generated_by": "David Christensen", | ||
"meta-spec": { | ||
"version": "1.0.0", | ||
"url": "https://pgxn.org/meta/spec.txt" | ||
}, | ||
"tags": [ | ||
"kaboom", | ||
"crash", | ||
"testing", | ||
"failover" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters