Skip to content

Commit

Permalink
PMM-7 fix update test for RHEL9 (#2208)
Browse files Browse the repository at this point in the history
* PMM-7 fix update test for RHEL9

* PMM-7 add back glibc-static for RHEL9

* PMM-7 update code owners
  • Loading branch information
Alex Tymchuk authored Jun 1, 2023
1 parent 8a548b5 commit 1b39749
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
* @percona/pmm-review-be
/build/ @atymchuk @percona/pmm-review-be
/admin/ @michal-kralik @percona/pmm-review-be
/admin/ @percona/pmm-review-be
/agent/agents/postgres/ @JiriCtvrtka @percona/pmm-review-be
/agent/runner/ @artemgavrilov @percona/pmm-review-be
/api/ @BupycHuk @percona/pmm-review-be
/docs/api/ @atymchuk @percona/pmm-review-be
/managed/services/checks/ @idoqo @percona/pmm-review-be
/managed/ @percona/pmm-review-be
/managed/services/dbaas @gen1us2k @percona-csalguero @recharte @percona/pmm-review-be
/managed/services/management/dbaas @gen1us2k @percona-csalguero @recharte @percona/pmm-review-be
/managed/services/dbaas @gen1us2k @recharte @percona/pmm-review-be
/managed/services/management/dbaas @gen1us2k @recharte @percona/pmm-review-be
/update/ @BupycHuk @talhabinrizwan @percona/pmm-review-be
/api-tests/ @percona/pmm-review-be
**/go.mod @percona/pmm-review-dependency @percona/pmm-review-be
Expand Down
12 changes: 9 additions & 3 deletions update/.devcontainer/install-dev-tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ set -o errexit
set -o xtrace

# download (in the background) the same verison as used by PMM build process
curl -sS https://dl.google.com/go/go1.20.3.linux-amd64.tar.gz -o /tmp/golang.tar.gz &
curl -sS https://dl.google.com/go/go1.20.4.linux-amd64.tar.gz -o /tmp/golang.tar.gz &

# to install man pages
sed -i '/nodocs/d' /etc/yum.conf
Expand All @@ -21,12 +21,18 @@ percona-release enable original testing
yum install -y yum rpm
yum reinstall -y yum rpm

yum install -y gcc git make pkgconfig glibc-static \
yum install -y gcc git make pkgconfig \
ansible-lint ansible \
mc tmux psmisc lsof which iproute \
bash-completion bash-completion-extras \
bash-completion \
man man-pages

if [ $(rpm --eval '%{rhel}') = '7' ]; then
yum install -y glibc-static bash-completion-extras
else
yum install -y --enablerepo=ol9_codeready_builder glibc-static
fi

fg || true
tar -C /usr/local -xzf /tmp/golang.tar.gz
update-alternatives --install "/usr/bin/go" "go" "/usr/local/go/bin/go" 0
Expand Down

0 comments on commit 1b39749

Please sign in to comment.