Skip to content

Commit

Permalink
PMM-7 Remove package test centos 7 (#716)
Browse files Browse the repository at this point in the history
* remove centos 7 for package testing

* remove centos 7
  • Loading branch information
peterSirotnak authored Aug 5, 2024
1 parent edb3e46 commit 75de1cb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pmm-version-getter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
start_version: ${{ steps.get-start.outputs.result }}
finish_version: ${{ steps.get-finish.outputs.result }}
version_matrix: ${{ steps.get-matrix.outputs.result }}
pt_os_matrix: "[\"buster\", \"bullseye\", \"bookworm\", \"focal\", \"jammy\", \"centos-7\", \"ol-8\", \"ol-9\", \"noble\"]"
pt_os_matrix: "[\"buster\", \"bullseye\", \"bookworm\", \"focal\", \"jammy\", \"ol-8\", \"ol-9\", \"noble\"]"
steps:
- name: Prevent upgrade to the same version
shell: bash
Expand Down
17 changes: 0 additions & 17 deletions .github/workflows/runner-package-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ on:
- bookworm
- focal
- jammy
- centos-7
- ol-8
- noble
- ol-9
Expand Down Expand Up @@ -204,9 +203,6 @@ jobs:
if [[ "${{ inputs.os }}" =~ "jammy" ]]; then
echo "VM_BOX=generic/ubuntu2204" >> $GITHUB_ENV
fi
if [[ "${{ inputs.os }}" =~ "centos-7" ]]; then
echo "VM_BOX=generic/centos7" >> $GITHUB_ENV
fi
if [[ "${{ inputs.os }}" =~ "ol-8" ]]; then
echo "VM_BOX=generic/oracle8" >> $GITHUB_ENV
fi
Expand Down Expand Up @@ -281,19 +277,6 @@ jobs:
export tarball_link=${{ env.TARBALL }}
fi
if [[ "${{ env.VM_BOX }}" =~ "centos7" ]]; then
sed -i 's/enabled=1/enabled=0/g' /etc/yum/pluginconf.d/fastestmirror.conf
sed -i -e 's/^\(mirrorlist\)/#\1/g' /etc/yum.repos.d/CentOS-Base.repo
sed -i -e 's|^#baseurl.*|baseurl=http://vault.centos.org/centos/\$releasever/os/\$basearch/|g' /etc/yum.repos.d/CentOS-Base.repo
sed -i '/mirrorlist/d' /etc/yum.repos.d/CentOS-Base.repo
sudo yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
sudo yum -y update
sudo yum install -y ansible git wget
yum -y downgrade openssl-1.0.2k-19.el7.x86_64 openssl-libs-1:1.0.2k-19.el7.x86_64
yum -y downgrade krb5-libs-1.15.1-50.el7.x86_64 glibc-2.17-317.el7.x86_64 glibc-common-2.17-317.el7.x86_64 glibc-devel-2.17-317.el7.x86_64 glibc-headers-2.17-317.el7.x86_64
yum -y downgrade zlib-1.2.7-18.el7.x86_64 cyrus-sasl-lib-2.1.26-23.el7.x86_64
yum -y downgrade xz-libs-5.2.2-1.el7.x86_64 xz-5.2.2-1.el7.x86_64
fi
if [[ "${{ env.VM_BOX }}" =~ "oracle" ]]; then
sudo yum install -y epel-release
sudo yum -y update
Expand Down

0 comments on commit 75de1cb

Please sign in to comment.