Skip to content

Commit

Permalink
Merge pull request #88 from carljohnstone/trusty-to-focal
Browse files Browse the repository at this point in the history
Switch from Ubuntu Trusty to Ubuntu Focal
  • Loading branch information
bastelfreak authored Aug 11, 2020
2 parents 7917fa6 + 8b5b68d commit 0b9e2d5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ gitlab_ci_runner::runner_defaults:
url: "https://git.example.com/ci"
registration-token: "1234567890abcdef"
executor: "docker"
docker-image: "ubuntu:trusty"
docker-image: "ubuntu:focal"
builds_dir: "/tmp"
cache_dir: "/tmp"
```
Expand Down
4 changes: 2 additions & 2 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@
ensure_packages($xz_package_name)

$docker_images = {
ubuntu_trusty => {
ubuntu_focal => {
image => 'ubuntu',
image_tag => 'trusty',
image_tag => 'focal',
},
}

Expand Down
4 changes: 2 additions & 2 deletions spec/classes/gitlab_ci_runner_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,9 @@
is_expected.to contain_class('docker::images').
with(
images: {
'ubuntu_trusty' => {
'ubuntu_focal' => {
'image' => 'ubuntu',
'image_tag' => 'trusty'
'image_tag' => 'focal'
}
}
)
Expand Down

0 comments on commit 0b9e2d5

Please sign in to comment.