diff --git a/README.md b/README.md index 11341bd..ffa30c1 100644 --- a/README.md +++ b/README.md @@ -121,11 +121,6 @@ Changing these after registration has no affect. ## Limitations -The Gitlab CI runner installation is at the moment only tested on: -* CentOS 7/8 -* Debian 10/11 -* Ubuntu 18.04/20.04/22.04 - For the current list of tested and support operating systems, please checkout the metadata.json file. It is currently not possible to alter registration specific configuration settings after a runner is registered. diff --git a/metadata.json b/metadata.json index dc14797..612be94 100644 --- a/metadata.json +++ b/metadata.json @@ -73,14 +73,12 @@ { "operatingsystem": "Debian", "operatingsystemrelease": [ - "10", "11" ] }, { "operatingsystem": "Ubuntu", "operatingsystemrelease": [ - "18.04", "20.04", "22.04" ] diff --git a/spec/classes/gitlab_ci_runner_spec.rb b/spec/classes/gitlab_ci_runner_spec.rb index ddd778c..6be5b81 100644 --- a/spec/classes/gitlab_ci_runner_spec.rb +++ b/spec/classes/gitlab_ci_runner_spec.rb @@ -330,30 +330,27 @@ end end - # puppetlabs-docker doesn't support CentOS 6 anymore. - unless facts[:os]['name'] == 'CentOS' && facts[:os]['release']['major'] == '6' - context 'with manage_docker => true' do - let(:params) do - { - manage_docker: true - } - end + context 'with manage_docker => true' do + let(:params) do + { + manage_docker: true + } + end - it { is_expected.to compile } + it { is_expected.to compile } - it { is_expected.to contain_class('docker') } + it { is_expected.to contain_class('docker') } - it do - is_expected.to contain_class('docker::images'). - with( - images: { - 'ubuntu_focal' => { - 'image' => 'ubuntu', - 'image_tag' => 'focal' - } + it do + is_expected.to contain_class('docker::images'). + with( + images: { + 'ubuntu_focal' => { + 'image' => 'ubuntu', + 'image_tag' => 'focal' } - ) - end + } + ) end end diff --git a/spec/setup_acceptance_node.pp b/spec/setup_acceptance_node.pp index 8294fa5..5ae1312 100644 --- a/spec/setup_acceptance_node.pp +++ b/spec/setup_acceptance_node.pp @@ -9,15 +9,6 @@ ensure => present, } -# https://gitlab.com/gitlab-org/omnibus-gitlab/issues/2229 -# There is no /usr/share/zoneinfo in latest Docker image for ubuntu 16.04 -# Gitlab installer fail without this file -if $facts['os']['release']['major'] in ['16.04', '18.04'] { - package { 'tzdata': - ensure => present, - } -} - # Setup Puppet Bolt $bolt_config = @("BOLTPROJECT"/L) modulepath: "/etc/puppetlabs/code/modules:/etc/puppetlabs/code/environments/production/modules"