Commit 48fc810f authored by EKbfh's avatar EKbfh 🐼
Browse files

Bring centos 7 tests back

parent 1c8b40ee
......@@ -55,14 +55,14 @@ lint_ansible:
- if: '$CI_PIPELINE_SOURCE == "web" && $CHECK_DEPLOY == "true"'
- if: '$CI_PIPELINE_SOURCE == "schedule" && $CHECK_DEPLOY == "true"'
#build_centos7:
# extends: .base_builder
# variables:
# PKG_CACHE: /var/cache/yum
# SCENARIO_NAME: default
# tags:
# - cloud
# - docker
build_centos7:
extends: .base_builder
variables:
PKG_CACHE: /var/cache/yum
SCENARIO_NAME: default
tags:
- cloud
- docker
# build_centos8:
# extends: .base_builder
......
......@@ -11,6 +11,21 @@
tags:
- repo
- name: Add sclo repo
yum_repository:
name: sclo
state: present
description: "Centos 7 sclo repo"
enabled: "True"
baseurl: http://mirror.centos.org/centos/7/sclo/x86_64/rh/
gpgkey: https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-SCLo
gpgcheck: "True"
environment:
https_proxy: "{{ http_proxy }}"
http_proxy: "{{ http_proxy }}"
tags:
- requirements
- name: Install CentOS system packages 1/2
yum:
name: "{{ packages }}"
......@@ -66,8 +81,6 @@
environment:
http_proxy: "{{ http_proxy }}"
https_proxy: "{{ http_proxy }}"
when:
- noc_python_interpreter == 'python3'
- name: Install supervisord init script
template:
......
......@@ -11,6 +11,21 @@
tags:
- repo
- name: Add sclo repo
yum_repository:
name: sclo
state: present
description: "Centos 7 sclo repo"
enabled: "True"
baseurl: http://mirror.centos.org/centos/7/sclo/x86_64/rh/
gpgkey: https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-SCLo
gpgcheck: "True"
environment:
https_proxy: "{{ http_proxy }}"
http_proxy: "{{ http_proxy }}"
tags:
- requirements
- name: Add epel repo
yum_repository:
name: ol7_optional_latest
......@@ -90,8 +105,6 @@
environment:
http_proxy: "{{ http_proxy }}"
https_proxy: "{{ http_proxy }}"
when:
- noc_python_interpreter == 'python3'
- name: Install supervisord init script
template:
......
......@@ -14,6 +14,21 @@
tags:
- repo
- name: Add sclo repo
yum_repository:
name: sclo
state: present
description: "Centos 7 sclo repo"
enabled: "True"
baseurl: http://mirror.centos.org/centos/7/sclo/x86_64/rh/
gpgkey: https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-SCLo
gpgcheck: "True"
environment:
https_proxy: "{{ http_proxy }}"
http_proxy: "{{ http_proxy }}"
tags:
- requirements
- name: Enable the PostgreSQL repository RHEL
yum:
name: "{{ rpm_path }}"
......@@ -75,8 +90,6 @@
environment:
http_proxy: "{{ http_proxy }}"
https_proxy: "{{ http_proxy }}"
when:
- noc_python_interpreter == 'python3'
- name: Install supervisord init script
template:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment