Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Commit

Permalink
Fix beaker-based acceptance test-suite
Browse files Browse the repository at this point in the history
  • Loading branch information
Ma27 committed Mar 12, 2020
1 parent 087a1e4 commit 6764b20
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -22,4 +22,4 @@ services: docker

jobs:
allow_failures:
- env: TARGET=acceptance RUBY_VERSION="2.5.1" BEAKER_setfile=spec/acceptance/nodesets/ubuntu-1604-x64.yml
- env: TARGET=acceptance RUBY_VERSION="2.5.1" BEAKER_setfile=spec/acceptance/nodesets/ubuntu-1604-x64.yml BEAKER_PUPPET_COLLECTION=puppet6
1 change: 1 addition & 0 deletions shell.nix
Expand Up @@ -9,5 +9,6 @@ mkShell {
shellHook = ''
export PUPPET_INSTALL_TYPE=agent
export BEAKER_setfile=spec/acceptance/nodesets/ubuntu-1604-x64.yml
export BEAKER_PUPPET_COLLECTION=puppet6
'';
}
15 changes: 12 additions & 3 deletions spec/acceptance/nodesets/ubuntu-1604-x64.yml
@@ -1,8 +1,17 @@
HOSTS:
ubuntu-16.04:
ubuntu-18.04:
roles: [master]
hypervisor: docker
platform: ubuntu-16.04-amd64
image: ubuntu:16.04
platform: ubuntu-18.04-amd64
image: ubuntu:18.04
dockeropts:
HostConfig:
PublishAllPorts: true
Privileged: false
RestartPolicy:
Name: always
PortBindings:
"22/tcp":
- { HostIp: '0.0.0.0', HostPort: '2223' }
CONFIG:
type: foss

0 comments on commit 6764b20

Please sign in to comment.