Skip to content

Commit

Permalink
Rename extension to 'percona_pg_telemetry' (#7)
Browse files Browse the repository at this point in the history
* Rename extension to 'percona_pg_telemetry'

* Update expected test results
  • Loading branch information
artemgavrilov authored May 17, 2024
1 parent 8c2b45e commit 3fd139d
Show file tree
Hide file tree
Showing 27 changed files with 266 additions and 266 deletions.
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ body:
id: version
attributes:
label: Version
description: What version of PostgreSQL and pg_percona_telemetry are you running?
placeholder: PostgreSQL 16.2, pg_percona_telemetry v1.0.0
description: What version of PostgreSQL and percona_pg_telemetry are you running?
placeholder: PostgreSQL 16.2, percona_pg_telemetry v1.0.0
validations:
required: true
- type: textarea
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ body:
- type: markdown
attributes:
value: |
Thank you for suggesting an idea to make pg_percona_telemetry better! Please complete the below form to ensure we have all the details to get things started.
Thank you for suggesting an idea to make percona_pg_telemetry better! Please complete the below form to ensure we have all the details to get things started.
- type: textarea
id: description
attributes:
Expand Down
34 changes: 17 additions & 17 deletions .github/workflows/postgresql-12-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,38 +41,38 @@ jobs:
make -j4
working-directory: postgres

- name: Clone percona_telemetry repository
- name: Clone percona_pg_telemetry repository
uses: actions/checkout@v4
with:
path: 'postgres/contrib/percona_telemetry'
path: 'postgres/contrib/percona_pg_telemetry'

- name: Build percona_telemetry
- name: Build percona_pg_telemetry
run: |
make
sudo make install
working-directory: postgres/contrib/percona_telemetry
working-directory: postgres/contrib/percona_pg_telemetry

- name: Run percona_telemetry regression
- name: Run percona_pg_telemetry regression
run: |
PT_DEBUG=1 make check
working-directory: postgres/contrib/percona_telemetry
working-directory: postgres/contrib/percona_pg_telemetry

- name: Upload logs on fail
if: ${{ failure() }}
uses: actions/upload-artifact@v4
with:
name: Regressions diff and postgresql log
path: |
postgres/contrib/percona_telemetry/regression.diffs
postgres/contrib/percona_telemetry/regression.out
postgres/contrib/percona_telemetry/logfile
postgres/contrib/percona_telemetry/t/results/
postgres/contrib/percona_telemetry/tmp_check/log/
!postgres/contrib/percona_telemetry/tmp_check/**/archives/*
!postgres/contrib/percona_telemetry/tmp_check/**/backup/*
!postgres/contrib/percona_telemetry/tmp_check/**/pgdata/*
!postgres/contrib/percona_telemetry/tmp_check/**/archives/
!postgres/contrib/percona_telemetry/tmp_check/**/backup/
!postgres/contrib/percona_telemetry/tmp_check/**/pgdata/
postgres/contrib/percona_pg_telemetry/regression.diffs
postgres/contrib/percona_pg_telemetry/regression.out
postgres/contrib/percona_pg_telemetry/logfile
postgres/contrib/percona_pg_telemetry/t/results/
postgres/contrib/percona_pg_telemetry/tmp_check/log/
!postgres/contrib/percona_pg_telemetry/tmp_check/**/archives/*
!postgres/contrib/percona_pg_telemetry/tmp_check/**/backup/*
!postgres/contrib/percona_pg_telemetry/tmp_check/**/pgdata/*
!postgres/contrib/percona_pg_telemetry/tmp_check/**/archives/
!postgres/contrib/percona_pg_telemetry/tmp_check/**/backup/
!postgres/contrib/percona_pg_telemetry/tmp_check/**/pgdata/
if-no-files-found: warn
retention-days: 3
34 changes: 17 additions & 17 deletions .github/workflows/postgresql-13-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,38 +41,38 @@ jobs:
make -j4
working-directory: postgres

- name: Clone percona_telemetry repository
- name: Clone percona_pg_telemetry repository
uses: actions/checkout@v4
with:
path: 'postgres/contrib/percona_telemetry'
path: 'postgres/contrib/percona_pg_telemetry'

- name: Build percona_telemetry
- name: Build percona_pg_telemetry
run: |
make
sudo make install
working-directory: postgres/contrib/percona_telemetry
working-directory: postgres/contrib/percona_pg_telemetry

- name: Run percona_telemetry regression
- name: Run percona_pg_telemetry regression
run: |
PT_DEBUG=1 make check
working-directory: postgres/contrib/percona_telemetry
working-directory: postgres/contrib/percona_pg_telemetry

- name: Upload logs on fail
if: ${{ failure() }}
uses: actions/upload-artifact@v4
with:
name: Regressions diff and postgresql log
path: |
postgres/contrib/percona_telemetry/regression.diffs
postgres/contrib/percona_telemetry/regression.out
postgres/contrib/percona_telemetry/logfile
postgres/contrib/percona_telemetry/t/results/
postgres/contrib/percona_telemetry/tmp_check/log/
!postgres/contrib/percona_telemetry/tmp_check/**/archives/*
!postgres/contrib/percona_telemetry/tmp_check/**/backup/*
!postgres/contrib/percona_telemetry/tmp_check/**/pgdata/*
!postgres/contrib/percona_telemetry/tmp_check/**/archives/
!postgres/contrib/percona_telemetry/tmp_check/**/backup/
!postgres/contrib/percona_telemetry/tmp_check/**/pgdata/
postgres/contrib/percona_pg_telemetry/regression.diffs
postgres/contrib/percona_pg_telemetry/regression.out
postgres/contrib/percona_pg_telemetry/logfile
postgres/contrib/percona_pg_telemetry/t/results/
postgres/contrib/percona_pg_telemetry/tmp_check/log/
!postgres/contrib/percona_pg_telemetry/tmp_check/**/archives/*
!postgres/contrib/percona_pg_telemetry/tmp_check/**/backup/*
!postgres/contrib/percona_pg_telemetry/tmp_check/**/pgdata/*
!postgres/contrib/percona_pg_telemetry/tmp_check/**/archives/
!postgres/contrib/percona_pg_telemetry/tmp_check/**/backup/
!postgres/contrib/percona_pg_telemetry/tmp_check/**/pgdata/
if-no-files-found: warn
retention-days: 3
34 changes: 17 additions & 17 deletions .github/workflows/postgresql-14-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,38 +41,38 @@ jobs:
make -j4
working-directory: postgres

- name: Clone percona_telemetry repository
- name: Clone percona_pg_telemetry repository
uses: actions/checkout@v4
with:
path: 'postgres/contrib/percona_telemetry'
path: 'postgres/contrib/percona_pg_telemetry'

- name: Build percona_telemetry
- name: Build percona_pg_telemetry
run: |
make
sudo make install
working-directory: postgres/contrib/percona_telemetry
working-directory: postgres/contrib/percona_pg_telemetry

- name: Run percona_telemetry regression
- name: Run percona_pg_telemetry regression
run: |
PT_DEBUG=1 make check
working-directory: postgres/contrib/percona_telemetry
working-directory: postgres/contrib/percona_pg_telemetry

- name: Upload logs on fail
if: ${{ failure() }}
uses: actions/upload-artifact@v4
with:
name: Regressions diff and postgresql log
path: |
postgres/contrib/percona_telemetry/regression.diffs
postgres/contrib/percona_telemetry/regression.out
postgres/contrib/percona_telemetry/logfile
postgres/contrib/percona_telemetry/t/results/
postgres/contrib/percona_telemetry/tmp_check/log/
!postgres/contrib/percona_telemetry/tmp_check/**/archives/*
!postgres/contrib/percona_telemetry/tmp_check/**/backup/*
!postgres/contrib/percona_telemetry/tmp_check/**/pgdata/*
!postgres/contrib/percona_telemetry/tmp_check/**/archives/
!postgres/contrib/percona_telemetry/tmp_check/**/backup/
!postgres/contrib/percona_telemetry/tmp_check/**/pgdata/
postgres/contrib/percona_pg_telemetry/regression.diffs
postgres/contrib/percona_pg_telemetry/regression.out
postgres/contrib/percona_pg_telemetry/logfile
postgres/contrib/percona_pg_telemetry/t/results/
postgres/contrib/percona_pg_telemetry/tmp_check/log/
!postgres/contrib/percona_pg_telemetry/tmp_check/**/archives/*
!postgres/contrib/percona_pg_telemetry/tmp_check/**/backup/*
!postgres/contrib/percona_pg_telemetry/tmp_check/**/pgdata/*
!postgres/contrib/percona_pg_telemetry/tmp_check/**/archives/
!postgres/contrib/percona_pg_telemetry/tmp_check/**/backup/
!postgres/contrib/percona_pg_telemetry/tmp_check/**/pgdata/
if-no-files-found: warn
retention-days: 3
34 changes: 17 additions & 17 deletions .github/workflows/postgresql-15-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,38 +41,38 @@ jobs:
make -j4
working-directory: postgres

- name: Clone percona_telemetry repository
- name: Clone percona_pg_telemetry repository
uses: actions/checkout@v4
with:
path: 'postgres/contrib/percona_telemetry'
path: 'postgres/contrib/percona_pg_telemetry'

- name: Build percona_telemetry
- name: Build percona_pg_telemetry
run: |
make
sudo make install
working-directory: postgres/contrib/percona_telemetry
working-directory: postgres/contrib/percona_pg_telemetry

- name: Run percona_telemetry regression
- name: Run percona_pg_telemetry regression
run: |
PT_DEBUG=1 make check
working-directory: postgres/contrib/percona_telemetry
working-directory: postgres/contrib/percona_pg_telemetry

- name: Upload logs on fail
if: ${{ failure() }}
uses: actions/upload-artifact@v4
with:
name: Regressions diff and postgresql log
path: |
postgres/contrib/percona_telemetry/regression.diffs
postgres/contrib/percona_telemetry/regression.out
postgres/contrib/percona_telemetry/logfile
postgres/contrib/percona_telemetry/t/results/
postgres/contrib/percona_telemetry/tmp_check/log/
!postgres/contrib/percona_telemetry/tmp_check/**/archives/*
!postgres/contrib/percona_telemetry/tmp_check/**/backup/*
!postgres/contrib/percona_telemetry/tmp_check/**/pgdata/*
!postgres/contrib/percona_telemetry/tmp_check/**/archives/
!postgres/contrib/percona_telemetry/tmp_check/**/backup/
!postgres/contrib/percona_telemetry/tmp_check/**/pgdata/
postgres/contrib/percona_pg_telemetry/regression.diffs
postgres/contrib/percona_pg_telemetry/regression.out
postgres/contrib/percona_pg_telemetry/logfile
postgres/contrib/percona_pg_telemetry/t/results/
postgres/contrib/percona_pg_telemetry/tmp_check/log/
!postgres/contrib/percona_pg_telemetry/tmp_check/**/archives/*
!postgres/contrib/percona_pg_telemetry/tmp_check/**/backup/*
!postgres/contrib/percona_pg_telemetry/tmp_check/**/pgdata/*
!postgres/contrib/percona_pg_telemetry/tmp_check/**/archives/
!postgres/contrib/percona_pg_telemetry/tmp_check/**/backup/
!postgres/contrib/percona_pg_telemetry/tmp_check/**/pgdata/
if-no-files-found: warn
retention-days: 3
34 changes: 17 additions & 17 deletions .github/workflows/postgresql-16-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,38 +41,38 @@ jobs:
make -j4
working-directory: postgres

- name: Clone percona_telemetry repository
- name: Clone percona_pg_telemetry repository
uses: actions/checkout@v4
with:
path: 'postgres/contrib/percona_telemetry'
path: 'postgres/contrib/percona_pg_telemetry'

- name: Build percona_telemetry
- name: Build percona_pg_telemetry
run: |
make
sudo make install
working-directory: postgres/contrib/percona_telemetry
working-directory: postgres/contrib/percona_pg_telemetry

- name: Run percona_telemetry regression
- name: Run percona_pg_telemetry regression
run: |
PT_DEBUG=1 make check
working-directory: postgres/contrib/percona_telemetry
working-directory: postgres/contrib/percona_pg_telemetry

- name: Upload logs on fail
if: ${{ failure() }}
uses: actions/upload-artifact@v4
with:
name: Regressions diff and postgresql log
path: |
postgres/contrib/percona_telemetry/regression.diffs
postgres/contrib/percona_telemetry/regression.out
postgres/contrib/percona_telemetry/logfile
postgres/contrib/percona_telemetry/t/results/
postgres/contrib/percona_telemetry/tmp_check/log/
!postgres/contrib/percona_telemetry/tmp_check/**/archives/*
!postgres/contrib/percona_telemetry/tmp_check/**/backup/*
!postgres/contrib/percona_telemetry/tmp_check/**/pgdata/*
!postgres/contrib/percona_telemetry/tmp_check/**/archives/
!postgres/contrib/percona_telemetry/tmp_check/**/backup/
!postgres/contrib/percona_telemetry/tmp_check/**/pgdata/
postgres/contrib/percona_pg_telemetry/regression.diffs
postgres/contrib/percona_pg_telemetry/regression.out
postgres/contrib/percona_pg_telemetry/logfile
postgres/contrib/percona_pg_telemetry/t/results/
postgres/contrib/percona_pg_telemetry/tmp_check/log/
!postgres/contrib/percona_pg_telemetry/tmp_check/**/archives/*
!postgres/contrib/percona_pg_telemetry/tmp_check/**/backup/*
!postgres/contrib/percona_pg_telemetry/tmp_check/**/pgdata/*
!postgres/contrib/percona_pg_telemetry/tmp_check/**/archives/
!postgres/contrib/percona_pg_telemetry/tmp_check/**/backup/
!postgres/contrib/percona_pg_telemetry/tmp_check/**/pgdata/
if-no-files-found: warn
retention-days: 3
16 changes: 8 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
# contrib/percona_telemetry/Makefile
# contrib/percona_pg_telemetry/Makefile

MODULE_big = percona_telemetry
MODULE_big = percona_pg_telemetry
OBJS = \
$(WIN32RES) \
pt_json.o \
percona_telemetry.o
percona_pg_telemetry.o

EXTENSION = percona_telemetry
DATA = percona_telemetry--1.0.sql
EXTENSION = percona_pg_telemetry
DATA = percona_pg_telemetry--1.0.sql

PGFILEDESC = "percona_telemetry - extension for Percona telemetry data collection."
PGFILEDESC = "percona_pg_telemetry - extension for Percona telemetry data collection."

REGRESS_OPTS = --temp-config $(top_srcdir)/contrib/percona_telemetry/percona_telemetry.conf
REGRESS_OPTS = --temp-config $(top_srcdir)/contrib/percona_pg_telemetry/percona_pg_telemetry.conf
REGRESS = basic debug_json gucs

ifdef USE_PGXS
PG_CONFIG = pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)
else
subdir = contrib/percona_telemetry
subdir = contrib/percona_pg_telemetry
top_builddir = ../..
include $(top_builddir)/src/Makefile.global
include $(top_srcdir)/contrib/contrib-global.mk
Expand Down
Loading

0 comments on commit 3fd139d

Please sign in to comment.