Add support for GitLab CI
and remove Jenkins related files
This commit is contained in:
parent
e778771f2b
commit
f569c38ea9
10 changed files with 164 additions and 252 deletions
|
|
@ -11,7 +11,7 @@ source /etc/os-release
|
|||
ARCH=$(uname -m)
|
||||
|
||||
# Register RHEL if we are provided with a registration script.
|
||||
if [[ -n "${RHN_REGISTRATION_SCRIPT:-}" ]] && ! sudo subscription-manager status; then
|
||||
if [[ $ID == "rhel" && -n "${RHN_REGISTRATION_SCRIPT:-}" ]] && ! sudo subscription-manager status; then
|
||||
greenprint "🪙 Registering RHEL instance"
|
||||
sudo chmod +x $RHN_REGISTRATION_SCRIPT
|
||||
sudo $RHN_REGISTRATION_SCRIPT
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue