Skip to content

Commit

Permalink
PMM-9407 Add queries.yaml to debian package to postgres medium-resolu…
Browse files Browse the repository at this point in the history
…tion path
  • Loading branch information
surbhat1595 committed Dec 18, 2023
1 parent 154cc6a commit 96bfd07
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions build/packages/deb/files
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,4 @@ install -m 0660 example-queries-postgres.yml $RPM_BUILD_ROOT/usr/local/percona/p
install -m 0660 example-queries-postgres.yml $RPM_BUILD_ROOT/usr/local/percona/pmm2/collectors/custom-queries/postgresql/medium-resolution/
install -m 0660 example-queries-postgres.yml $RPM_BUILD_ROOT/usr/local/percona/pmm2/collectors/custom-queries/postgresql/high-resolution/
install -m 0660 queries-postgres-uptime.yml $RPM_BUILD_ROOT/usr/local/percona/pmm2/collectors/custom-queries/postgresql/high-resolution/
install -m 0660 queries.yaml $RPM_BUILD_ROOT/usr/local/percona/pmm2/collectors/custom-queries/postgresql/medium-resolution/
1 change: 1 addition & 0 deletions build/packages/deb/install
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ example-queries-postgres.yml /usr/local/percona/pmm2/collectors/custom-queries/p
example-queries-postgres.yml /usr/local/percona/pmm2/collectors/custom-queries/postgresql/medium-resolution/
example-queries-postgres.yml /usr/local/percona/pmm2/collectors/custom-queries/postgresql/high-resolution/
queries-postgres-uptime.yml /usr/local/percona/pmm2/collectors/custom-queries/postgresql/high-resolution/
queries.yaml /usr/local/percona/pmm2/collectors/custom-queries/postgresql/medium-resolution/
1 change: 1 addition & 0 deletions build/packages/deb/rules
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ override_dh_auto_install:
cp -f distro/queries-mysqld-group-replication.yml $(TMP)/queries-mysqld-group-replication.yml
cp -f distro/example-queries-postgres.yml $(TMP)/example-queries-postgres.yml
cp -f distro/queries-postgres-uptime.yml $(TMP)/queries-postgres-uptime.yml
cp -f distro/queries.yaml $(TMP)/queries.yaml
cp -f distro/pt-summary $(TMP)/pt-summary
cp -f distro/pt-mysql-summary $(TMP)/pt-mysql-summary
cp -f distro/pt-mongodb-summary $(TMP)/pt-mongodb-summary
Expand Down
1 change: 1 addition & 0 deletions build/scripts/build-client-packages
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,7 @@ build_source_deb(){
mv queries-mysqld-group-replication.yml ../${NAME}-${VERSION}_all/distro/
mv example-queries-postgres.yml ../${NAME}-${VERSION}_all/distro/
mv queries-postgres-uptime.yml ../${NAME}-${VERSION}_all/distro/
mv queries.yaml ../${NAME}-${VERSION}_all/distro/
mv debian ../${NAME}-${VERSION}_all/
mv config/pmm-agent.service ../${NAME}-${VERSION}_all/debian/pmm2-client.pmm-agent.service
cd ../
Expand Down
2 changes: 1 addition & 1 deletion build/scripts/build-client-sdeb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ main() {
OS_VERSION=\$(cat /etc/os-release | grep VERSION_ID | awk -F'\"' '{print \$2}')
apt-get update
apt-get -y install git lsb-release devscripts dh-make dh-systemd
DEBIAN_FRONTEND=noninteractive apt-get -y install git lsb-release devscripts dh-make dh-systemd
mkdir -p /tmp/pmm
cd /home/builder/results
bash /home/builder/bin/build-client-packages \
Expand Down

0 comments on commit 96bfd07

Please sign in to comment.