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

PGXN integration #470

Merged
merged 13 commits into from
Jul 11, 2024
29 changes: 29 additions & 0 deletions .github/workflows/pgxn-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: PGXN
on:
workflow_dispatch:
inputs:
version:
description: 'Version to release'
required: true
type: string

jobs:
release:
name: Release
runs-on: ubuntu-22.04
container: pgxn/pgxn-tools
steps:
- name: Validate version tag
run: '[[ ${{ inputs.version }} =~ ^[0-9]+.[0-9]+.[0-9]+ ]]'
- name: Check out
uses: actions/checkout@v4
with:
ref: '${{ inputs.version }}'
- name: Bundle
id: bundle
run: pgxn-bundle
# - name: Upload
# env:
# PGXN_USERNAME: percona
# PGXN_PASSWORD: ${{ secrets.PGXN_PERCONA }}
# run: pgxn-release
9 changes: 5 additions & 4 deletions META.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"description": "pg_stat_monitor is a PostgreSQL Query Performance Monitoring tool, based on PostgreSQL's contrib module pg_stat_statements. PostgreSQL’s pg_stat_statements provides the basic statistics, which is sometimes not enough. The major shortcoming in pg_stat_statements is that it accumulates all the queries and their statistics and does not provide aggregated statistics nor histogram information. In this case, a user would need to calculate the aggregates, which is quite an expensive operation.",
"version": "2.0.4",
"maintainer": [
"ibrar.ahmed@percona.com"
"artem.gavrilov@percona.com",
"diego.fronza@percona.com"
],
"license": "postgresql",
"provides": {
Expand All @@ -23,17 +24,17 @@
}
},
"resources": {
"homepage": "https://percona.github.io/pg_stat_monitor/",
"homepage": "https://github.com/percona/pg_stat_monitor",
"bugtracker": {
"web": "https://jira.percona.com/projects/PG/issues"
"web": "https://perconadev.atlassian.net/jira/software/c/projects/PG/issues"
},
"repository": {
"url": "https://github.com/percona/pg_stat_monitor.git",
"web": "https://github.com/percona/pg_stat_monitor",
"type": "git"
}
},
"generated_by": "ibrar.ahmed@percona.com",
"generated_by": "artem.gavrilov@percona.com",
"meta-spec": {
"version": "1.0.0",
"url": "http://pgxn.org/meta/spec.txt"
Expand Down
Loading