Skip to content

Commit

Permalink
Merge pull request #26 from rehanone/develop/update
Browse files Browse the repository at this point in the history
- Added support for Ubuntu 20.04.
  • Loading branch information
rehanone authored Apr 30, 2020
2 parents 3302d96 + 162d531 commit 67164a3
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 16 deletions.
1 change: 1 addition & 0 deletions .sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ appveyor.yml:
user: rehanone
secure: "WiS9j4aI93DobVH/O/z6aHKOY8UL2hwn4+fflKuhvZzJPxfsYYfvQsyX43qetpVAIW7DCZLfO1QQlLF1/ywhe8Y9XRy923R6E7WckYPCGtGBpeTdS7p3Biss2H+ikxI9/5UFlewrdFxLxqgKz8lGLCt8zL1r7ggPWjJBfWEBtk2J9mj4BRTTGt6SWTSHwkdqjloQsPu32SXWY4nsU+87p+lO49YTOH2cS+54/DRCpccPl2AL+kXISDGiDZtlMyGdL2c0Z1e8etmOxbHN2X80YyOQY2GiKdGhzVfx5TDPElDXkOO5JkkZWmsz2D6BJYvu+s9awIJ6/pzGFDghZIK2MSgfUjJd9Vwt1lm48kHKsJ3DsSRIOHK+2ft/3nUl8y7j7KKQMcKKVN35/0uy/cXnD4acuxCh84e5bc0pmYy0gxLhLF6C9Ahv8pls7HhA+jaoUBNXIgCb685w6EgrkaeGMx1vz7VfZo56viod/zZ7XCXg8o5s7vthKMtYLnuGIEl2DvBC3KKtGvl4RnzFVUcZcB5lHgLZozskcwuWFtqd/AgqdIVRzKc6KmRWo8TkE/qOV79MaUpKGONmLMQfsz01HMn4m/NAmu4J55kFgFYkrkwy+9c/3Z9Ytce7goOnyxYYd0fFfaSM8vJCl7oe8Zb3znK2atMmpQAfDwYBwUNe1jU="
docker_sets:
- set: docker/ubuntu-20.04
- set: docker/ubuntu-18.04
- set: docker/ubuntu-16.04
- set: docker/ubuntu-14.04
Expand Down
34 changes: 22 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
os: linux
dist: xenial
language: ruby
cache: bundler
Expand All @@ -15,22 +16,31 @@ script:
- 'SIMPLECOV=yes bundle exec rake $CHECK'
bundler_args: --without system_tests
rvm:
- 2.5.3
- 2.5.7
stages:
- static
- spec
- acceptance
-
if: tag =~ ^v\d
name: deploy
matrix:
jobs:
fast_finish: true
include:
-
bundler_args: --with system_tests
dist: trusty
env: PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_PUPPET_COLLECTION=puppet6 BEAKER_set=docker/ubuntu-20.04 BEAKER_TESTMODE=apply
rvm: 2.5.7
script: bundle exec rake beaker
services: docker
stage: acceptance
sudo: required
-
bundler_args: --with system_tests
dist: trusty
env: PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_PUPPET_COLLECTION=puppet6 BEAKER_set=docker/ubuntu-18.04 BEAKER_TESTMODE=apply
rvm: 2.5.3
rvm: 2.5.7
script: bundle exec rake beaker
services: docker
stage: acceptance
Expand All @@ -39,7 +49,7 @@ matrix:
bundler_args: --with system_tests
dist: trusty
env: PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_PUPPET_COLLECTION=puppet6 BEAKER_set=docker/ubuntu-16.04 BEAKER_TESTMODE=apply
rvm: 2.5.3
rvm: 2.5.7
script: bundle exec rake beaker
services: docker
stage: acceptance
Expand All @@ -48,7 +58,7 @@ matrix:
bundler_args: --with system_tests
dist: trusty
env: PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_PUPPET_COLLECTION=puppet6 BEAKER_set=docker/ubuntu-14.04 BEAKER_TESTMODE=apply
rvm: 2.5.3
rvm: 2.5.7
script: bundle exec rake beaker
services: docker
stage: acceptance
Expand All @@ -57,7 +67,7 @@ matrix:
bundler_args: --with system_tests
dist: trusty
env: PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_PUPPET_COLLECTION=puppet6 BEAKER_set=docker/debian-10 BEAKER_TESTMODE=apply
rvm: 2.5.3
rvm: 2.5.7
script: bundle exec rake beaker
services: docker
stage: acceptance
Expand All @@ -66,7 +76,7 @@ matrix:
bundler_args: --with system_tests
dist: trusty
env: PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_PUPPET_COLLECTION=puppet6 BEAKER_set=docker/debian-9 BEAKER_TESTMODE=apply
rvm: 2.5.3
rvm: 2.5.7
script: bundle exec rake beaker
services: docker
stage: acceptance
Expand All @@ -75,7 +85,7 @@ matrix:
bundler_args: --with system_tests
dist: trusty
env: PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_PUPPET_COLLECTION=puppet6 BEAKER_set=docker/debian-8 BEAKER_TESTMODE=apply
rvm: 2.5.3
rvm: 2.5.7
script: bundle exec rake beaker
services: docker
stage: acceptance
Expand All @@ -84,7 +94,7 @@ matrix:
bundler_args: --with system_tests
dist: trusty
env: PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_PUPPET_COLLECTION=puppet6 BEAKER_set=docker/centos-8 BEAKER_TESTMODE=apply
rvm: 2.5.3
rvm: 2.5.7
script: bundle exec rake beaker
services: docker
stage: acceptance
Expand All @@ -93,7 +103,7 @@ matrix:
bundler_args: --with system_tests
dist: trusty
env: PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_PUPPET_COLLECTION=puppet6 BEAKER_set=docker/centos-7 BEAKER_TESTMODE=apply
rvm: 2.5.3
rvm: 2.5.7
script: bundle exec rake beaker
services: docker
stage: acceptance
Expand All @@ -107,7 +117,7 @@ matrix:
stage: spec
-
env: PUPPET_GEM_VERSION="~> 6.0" CHECK=parallel_spec
rvm: 2.5.3
rvm: 2.5.7
stage: spec
-
env: DEPLOY_TO_FORGE=yes
Expand All @@ -120,7 +130,7 @@ notifications:
email: false
deploy:
provider: puppetforge
user: rehanone
username: rehanone
password:
secure: "WiS9j4aI93DobVH/O/z6aHKOY8UL2hwn4+fflKuhvZzJPxfsYYfvQsyX43qetpVAIW7DCZLfO1QQlLF1/ywhe8Y9XRy923R6E7WckYPCGtGBpeTdS7p3Biss2H+ikxI9/5UFlewrdFxLxqgKz8lGLCt8zL1r7ggPWjJBfWEBtk2J9mj4BRTTGt6SWTSHwkdqjloQsPu32SXWY4nsU+87p+lO49YTOH2cS+54/DRCpccPl2AL+kXISDGiDZtlMyGdL2c0Z1e8etmOxbHN2X80YyOQY2GiKdGhzVfx5TDPElDXkOO5JkkZWmsz2D6BJYvu+s9awIJ6/pzGFDghZIK2MSgfUjJd9Vwt1lm48kHKsJ3DsSRIOHK+2ft/3nUl8y7j7KKQMcKKVN35/0uy/cXnD4acuxCh84e5bc0pmYy0gxLhLF6C9Ahv8pls7HhA+jaoUBNXIgCb685w6EgrkaeGMx1vz7VfZo56viod/zZ7XCXg8o5s7vthKMtYLnuGIEl2DvBC3KKtGvl4RnzFVUcZcB5lHgLZozskcwuWFtqd/AgqdIVRzKc6KmRWo8TkE/qOV79MaUpKGONmLMQfsz01HMn4m/NAmu4J55kFgFYkrkwy+9c/3Z9Ytce7goOnyxYYd0fFfaSM8vJCl7oe8Zb3znK2atMmpQAfDwYBwUNe1jU="
on:
Expand Down
9 changes: 5 additions & 4 deletions metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@
"18.04",
"18.10",
"19.04",
"19.10"
"19.10",
"20.04"
]
},
{
Expand Down Expand Up @@ -119,7 +120,7 @@
"download",
"archive"
],
"pdk-version": "1.16.0",
"template-url": "pdk-default#1.16.0",
"template-ref": "tags/1.16.0-0-gaf44904"
"pdk-version": "1.17.0",
"template-url": "pdk-default#1.17.0",
"template-ref": "tags/1.17.0-0-gd3a4319"
}
13 changes: 13 additions & 0 deletions spec/acceptance/nodesets/docker/ubuntu-20.04.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
HOSTS:
ubuntu2004-64:
docker_cmd:
- "/sbin/init"
image: ubuntu:20.04
platform: ubuntu-20.04-amd64
packaging_platform: ubuntu-20.04-amd64
docker_image_commands:
- cp /bin/true /sbin/agetty
- apt-get install -y net-tools wget locales apt-transport-https iproute2 gnupg
- locale-gen en_US.UTF-8
- echo LANG=en_US.UTF-8 > /etc/default/locale
hypervisor: docker

0 comments on commit 67164a3

Please sign in to comment.