Skip to content

Commit

Permalink
PMM-7 Update default RPM build vars
Browse files Browse the repository at this point in the history
  • Loading branch information
ademidoff committed Oct 16, 2024
1 parent 7735139 commit 7becf55
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 6 additions & 2 deletions build/scripts/build-submodules
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
#!/bin/bash
set -o errexit

git submodule update --init --jobs 10
git submodule status
pmm_source="sources/pmm/src/github.com/percona/pmm"
if [ -d "$pmm_source" ] && [ -z $(ls -A "$pmm_source") ]; then
git submodule update --init --jobs 10
git submodule status
fi
unset pmm_source

if [ -s ci.yml ]; then
if [ -f /home/ec2-user/venv/bin/activate ]; then
Expand Down
4 changes: 2 additions & 2 deletions build/scripts/vars
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ unset new_pmm_version
unset new_pmm_release
echo -e "\n\n\n>>> full_pmm_version=${full_pmm_version} pmm_version=${pmm_version} pmm_release=${pmm_release}\n\n\n"

rpmbuild_docker_image=${RPMBUILD_DOCKER_IMAGE:-public.ecr.aws/e7j3v3n0/rpmbuild:2}
rpmbuild_docker_image=${RPMBUILD_DOCKER_IMAGE:-public.ecr.aws/e7j3v3n0/rpmbuild:ol9}
rpms_dir=${root_dir}/tmp/pmm-server/RPMS
rpmbuild_dir=${root_dir}/sources/pmm/src/github.com/percona/pmm/build/packages/rpm/server
rpmbuild_dist=${RPMBUILD_DIST:-"el7"}
rpmbuild_dist=${RPMBUILD_DIST:-"el9"}
source_dir=${root_dir}/tmp/source/pmm2-client-${pmm_version}
binary_dir=${root_dir}/tmp/binary/pmm2-client-${pmm_version}
client_properties=${root_dir}/results/pmm-client.properties
Expand Down

0 comments on commit 7becf55

Please sign in to comment.