Skip to content

Commit

Permalink
Merge pull request #64 from sclorg/deprecate_centos7
Browse files Browse the repository at this point in the history
Deprecate CentOS 7 Testing Farm
  • Loading branch information
phracek authored Jan 2, 2024
2 parents ff8bced + 24bf2f5 commit eb18a45
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 151 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/rpm-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,11 @@ jobs:
strategy:
fail-fast: false
matrix:
os: ["fedora", "centos7", "c8s", "c9s"]
os: ["fedora", "c8s", "c9s"]
include:
- os: "fedora"
context: "Fedora"
compose: "Fedora-latest"
- os: "centos7"
context: "CentOS 7"
compose: "CentOS-7"
- os: "c8s"
context: "CentOS Stream 8"
compose: "CentOS-Stream-8"
Expand Down
67 changes: 0 additions & 67 deletions plans/centos7.fmf

This file was deleted.

60 changes: 0 additions & 60 deletions roles/common_tools/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,31 +11,6 @@
- postfix
- acl

- name: Install basic tools for CentOS 7
package:
name: "{{ item }}"
state: absent
with_items:
- podman-docker
when: releasever == 7

- name: Install basic tools for CentOS 7
package:
name: "{{ item }}"
state: latest
with_items:
- rsync
- centos-release-scl-rh
- groff-base
- centos-release-openshift-origin
- epel-release
- rh-python36-python-virtualenv
- origin-clients
- python3-pip
- mailx
- docker
when: releasever == 7

- name: Install Fedora packages
package:
name: "{{ item }}"
Expand All @@ -49,17 +24,6 @@
- podman-docker
when: releasever > 30

- name: Install CentOS 7 packages
package:
name: "{{ item }}"
state: latest
validate_certs: no
disable_gpg_check: true
with_items:
- ca-certificates
- https://cbs.centos.org/kojifiles/packages/golang-github-cpuguy83-go-md2man/1.0.4/4.0.el7/x86_64/golang-github-cpuguy83-go-md2man-1.0.4-4.0.el7.x86_64.rpm
when: releasever == 7

- name: Install CentOS Stream 8 packages
package:
name: "{{ item }}"
Expand All @@ -86,30 +50,6 @@
- podman-docker
when: releasever == 9


- name: Create dir ca for CentOS 7
file:
path: /etc/rhsm/ca
state: directory
owner: root
group: root
when: releasever == 7

- name: ensure file /etc/rhsm/ca/redhat-uep exists
file:
path: /etc/rhsm/ca/redhat-uep.pem
state: touch
mode: 0644
when: releasever == 7

- name: Create dir containers for CentOS7
file:
path: /etc/containers
state: directory
owner: root
group: root
when: releasever == 7

- name: Create dir /etc/containers
file:
path: /etc/containers
Expand Down
6 changes: 0 additions & 6 deletions roles/services/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,3 @@
service: state=started name="{{ item }}" enabled=yes
with_items:
- postfix

- name: Run the docker service
service: state=started name="{{ item }}" enabled=yes
with_items:
- docker
when: releasever == 7
14 changes: 0 additions & 14 deletions tmt-testing-plan-centos7.yml

This file was deleted.

0 comments on commit eb18a45

Please sign in to comment.