Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Vladimir
noc
Commits
48fc810f
Commit
48fc810f
authored
May 17, 2022
by
EKbfh
🐼
Browse files
Bring centos 7 tests back
parent
1c8b40ee
Changes
4
Hide whitespace changes
Inline
Side-by-side
ansible/.ansible-ci.yml
View file @
48fc810f
...
...
@@ -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
...
...
ansible/noc_roles/noc/tasks/os/CentOS_7/main.yml
View file @
48fc810f
...
...
@@ -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
:
...
...
ansible/noc_roles/noc/tasks/os/OracleLinux_7/main.yml
View file @
48fc810f
...
...
@@ -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
:
...
...
ansible/noc_roles/noc/tasks/os/RedHat_7/main.yml
View file @
48fc810f
...
...
@@ -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
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment