Skip to content

Commit

Permalink
PMM-7: build server script for pipeline (#1343)
Browse files Browse the repository at this point in the history
* PMM-7: build server script for pipeline

* File formatting

* Refactor filename

* PMM-7 remove VM gateway

Co-authored-by: Alex Tymchuk <[email protected]>
  • Loading branch information
Michal Kralik and Alex Tymchuk authored Oct 25, 2022
1 parent 385c9de commit e6e19f8
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 11 deletions.
13 changes: 2 additions & 11 deletions build/scripts/build-server
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,10 @@ pmm_version=${pmm_version} ${bin_dir}/build-client-rpm
mkdir -p ${rpms_dir}/
cp ${root_dir}/results/rpm/*.rpm ${rpms_dir}/

# 1st-party
${bin_dir}/build-server-rpm percona-dashboards grafana-dashboards
${bin_dir}/build-server-rpm pmm-managed pmm
${bin_dir}/build-server-rpm percona-qan-api2 qan-api2
${bin_dir}/build-server-rpm pmm-update
${bin_dir}/build-server-rpm dbaas-controller
${bin_dir}/build-server-rpm dbaas-tools
${bin_dir}/build-server-rpm pmm-dump
# install all rpms
${bin_dir}/build-server-rpm-all

# 3rd-party
${bin_dir}/build-server-rpm victoriametrics
${bin_dir}/build-server-rpm alertmanager
${bin_dir}/build-server-rpm grafana
${bin_dir}/build-server-rpm grafana-db-migrator

# build pmm-server
Expand Down
19 changes: 19 additions & 0 deletions build/scripts/build-server-rpm-all
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/bin/bash
set -o errexit
set -o xtrace

# 1st-party
${bin_dir}/build-server-rpm percona-dashboards grafana-dashboards
${bin_dir}/build-server-rpm pmm-managed pmm
${bin_dir}/build-server-rpm percona-qan-api2 qan-api2
${bin_dir}/build-server-rpm pmm-update
${bin_dir}/build-server-rpm dbaas-controller
${bin_dir}/build-server-rpm dbaas-tools
${bin_dir}/build-server-rpm pmm-dump

# 3rd-party
${bin_dir}/build-server-rpm victoriametrics
${bin_dir}/build-server-rpm alertmanager
${bin_dir}/build-server-rpm grafana

# vim: expandtab shiftwidth=4 tabstop=4

0 comments on commit e6e19f8

Please sign in to comment.