PGXN integration (#470)

* Update PGXN META.json

* Temorary disable all workflows

* Add PGXN release workflow draft

* Add pull request trigger

* Install dependencies

* Add sudo

* More sudo

* Try older ubuntu version

* Try

* Once again

* Update PGXN workflow

* Revert "Temorary disable all workflows"

This reverts commit 8d15520a51.

* Use ubunut 22.04
pull/472/head
Artem Gavrilov 2024-07-11 16:41:03 +02:00 committed by GitHub
parent 74d98475a8
commit d83d202b9c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 34 additions and 4 deletions

29
.github/workflows/pgxn-release.yml vendored Normal file
View File

@ -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

View File

@ -4,7 +4,8 @@
"description": "pg_stat_monitor is a PostgreSQL Query Performance Monitoring tool, based on PostgreSQL's contrib module pg_stat_statements. PostgreSQLs 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": {
@ -23,9 +24,9 @@
}
},
"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",
@ -33,7 +34,7 @@
"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"