Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PMM-7 Update default RPM build vars #3245

Merged
merged 5 commits into from
Oct 17, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
ademidoff marked this conversation as resolved.
Show resolved Hide resolved

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
Loading