From 1b39749abfe8a2b04a2e8c783e3b74969aac7891 Mon Sep 17 00:00:00 2001 From: Alex Tymchuk Date: Thu, 1 Jun 2023 10:32:20 +0300 Subject: [PATCH] PMM-7 fix update test for RHEL9 (#2208) * PMM-7 fix update test for RHEL9 * PMM-7 add back glibc-static for RHEL9 * PMM-7 update code owners --- .github/CODEOWNERS | 6 +++--- update/.devcontainer/install-dev-tools.sh | 12 +++++++++--- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 2ed64b5d04..71e4fab6ff 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -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 diff --git a/update/.devcontainer/install-dev-tools.sh b/update/.devcontainer/install-dev-tools.sh index 8e5b43d1f9..f887d6d89c 100755 --- a/update/.devcontainer/install-dev-tools.sh +++ b/update/.devcontainer/install-dev-tools.sh @@ -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 @@ -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