Skip to content

Commit

Permalink
PGXN integration (#470)
Browse files Browse the repository at this point in the history
* 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 8d15520.

* Use ubunut 22.04
  • Loading branch information
artemgavrilov committed Jul 11, 2024
1 parent 74d9847 commit d83d202
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 4 deletions.
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

0 comments on commit d83d202

Please sign in to comment.