-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from rehanone/develop/update
- Added support for Debian 10.
- Loading branch information
Showing
19 changed files
with
194 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,3 +22,6 @@ | |
/convert_report.txt | ||
/update_report.txt | ||
.DS_Store | ||
.project | ||
.envrc | ||
/inventory.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
--relative |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,79 +1,108 @@ | ||
--- | ||
sudo: false | ||
dist: trusty | ||
dist: xenial | ||
language: ruby | ||
cache: bundler | ||
before_install: | ||
- bundle -v | ||
- rm -f Gemfile.lock | ||
- gem update --system | ||
- gem update --system $RUBYGEMS_VERSION | ||
- gem --version | ||
- bundle -v | ||
script: | ||
- 'bundle exec rake $CHECK' | ||
bundler_args: | ||
rvm: | ||
- 2.5.1 | ||
env: | ||
global: | ||
- BEAKER_PUPPET_COLLECTION=puppet6 PUPPET_GEM_VERSION="~> 6.0" | ||
- 2.5.3 | ||
stages: | ||
- static | ||
- spec | ||
- acceptance | ||
- | ||
if: tag =~ ^v\d | ||
name: deploy | ||
matrix: | ||
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-18.04 BEAKER_TESTMODE=apply | ||
rvm: 2.5.1 | ||
rvm: 2.5.3 | ||
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-16.04 BEAKER_TESTMODE=apply | ||
rvm: 2.5.1 | ||
rvm: 2.5.3 | ||
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-14.04 BEAKER_TESTMODE=apply | ||
rvm: 2.5.1 | ||
rvm: 2.5.3 | ||
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/debian-10 BEAKER_TESTMODE=apply | ||
rvm: 2.5.3 | ||
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/debian-9 BEAKER_TESTMODE=apply | ||
rvm: 2.5.3 | ||
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/debian-8 BEAKER_TESTMODE=apply | ||
rvm: 2.5.1 | ||
rvm: 2.5.3 | ||
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/centos-7 BEAKER_TESTMODE=apply | ||
rvm: 2.5.1 | ||
rvm: 2.5.3 | ||
script: bundle exec rake beaker | ||
services: docker | ||
stage: acceptance | ||
sudo: required | ||
- | ||
env: CHECK="syntax lint metadata_lint check:symlinks check:git_ignore check:dot_underscore check:test_file rubocop" | ||
- | ||
env: CHECK=parallel_spec | ||
env: CHECK="check:symlinks check:git_ignore check:dot_underscore check:test_file rubocop syntax lint metadata_lint" | ||
stage: static | ||
- | ||
env: PUPPET_GEM_VERSION="~> 5.0" CHECK=parallel_spec | ||
rvm: 2.4.4 | ||
rvm: 2.4.5 | ||
stage: spec | ||
- | ||
env: PUPPET_GEM_VERSION="~> 6.0" CHECK=parallel_spec | ||
rvm: 2.5.3 | ||
stage: spec | ||
- | ||
env: DEPLOY_TO_FORGE=yes | ||
stage: deploy | ||
branches: | ||
only: | ||
- master | ||
- /^v\d/ | ||
notifications: | ||
email: false | ||
deploy: | ||
provider: puppetforge | ||
user: puppet | ||
password: | ||
secure: "" | ||
on: | ||
tags: true | ||
all_branches: true | ||
condition: "$DEPLOY_TO_FORGE = yes" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"recommendations": [ | ||
"jpogran.puppet-vscode", | ||
"rebornix.Ruby" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
HOSTS: | ||
centos-7-x64: | ||
platform: el-7-x86_64 | ||
hypervisor: docker | ||
centos7-64: | ||
docker_cmd: | ||
- "/sbin/init" | ||
image: centos:7 | ||
docker_preserve_image: true | ||
docker_cmd: '["/usr/sbin/init"]' | ||
# install various tools required to get the image up to usable levels | ||
platform: el-7-x86_64 | ||
packaging_platform: el-7-x86_64 | ||
docker_image_commands: | ||
- 'yum install -y crontabs tar wget openssl sysvinit-tools iproute which initscripts' | ||
CONFIG: | ||
trace_limit: 200 | ||
- cp /bin/true /sbin/agetty | ||
- yum install -y crontabs initscripts iproute openssl sysvinit-tools tar wget | ||
which ss | ||
hypervisor: docker | ||
roles: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
HOSTS: | ||
debian10-64: | ||
docker_cmd: | ||
- "/sbin/init" | ||
image: debian:10 | ||
platform: debian-10-amd64 | ||
packaging_platform: debian-10-amd64 | ||
docker_image_commands: | ||
- cp /bin/true /sbin/agetty | ||
- rm -f /usr/sbin/policy-rc.d | ||
- apt-get update && apt-get install -y cron locales-all net-tools wget systemd-sysv | ||
gnupg | ||
hypervisor: docker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
HOSTS: | ||
debian-8-x64: | ||
platform: debian-8-amd64 | ||
hypervisor: docker | ||
debian8-64: | ||
docker_cmd: | ||
- "/sbin/init" | ||
image: debian:8 | ||
docker_preserve_image: true | ||
docker_cmd: '["/sbin/init"]' | ||
platform: debian-8-amd64 | ||
packaging_platform: debian-8-amd64 | ||
docker_image_commands: | ||
- 'apt-get update && apt-get install -y net-tools wget locales strace lsof && echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && locale-gen' | ||
CONFIG: | ||
trace_limit: 200 | ||
- cp /bin/true /sbin/agetty | ||
- rm -f /usr/sbin/policy-rc.d | ||
- apt-get update && apt-get install -y cron locales-all net-tools wget | ||
hypervisor: docker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
HOSTS: | ||
debian-9-x64: | ||
platform: debian-9-amd64 | ||
hypervisor: docker | ||
debian9-64: | ||
docker_cmd: | ||
- "/sbin/init" | ||
image: debian:9 | ||
docker_preserve_image: true | ||
# docker_cmd: '["/sbin/init"]' | ||
platform: debian-9-amd64 | ||
packaging_platform: debian-9-amd64 | ||
docker_image_commands: | ||
- 'apt-get update && apt-get install -y net-tools wget locales strace lsof && echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && locale-gen' | ||
CONFIG: | ||
trace_limit: 200 | ||
- cp /bin/true /sbin/agetty | ||
- rm -f /usr/sbin/policy-rc.d | ||
- apt-get update && apt-get install -y cron locales-all net-tools wget systemd-sysv | ||
gnupg | ||
hypervisor: docker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,15 @@ | ||
HOSTS: | ||
ubuntu-1404-x64: | ||
platform: ubuntu-14.04-amd64 | ||
hypervisor: docker | ||
ubuntu1404-64: | ||
docker_cmd: | ||
- "/sbin/init" | ||
image: ubuntu:14.04 | ||
docker_preserve_image: true | ||
docker_cmd: '["/sbin/init"]' | ||
platform: ubuntu-14.04-amd64 | ||
packaging_platform: ubuntu-14.04-amd64 | ||
docker_image_commands: | ||
# ensure that upstart is booting correctly in the container | ||
- 'rm /usr/sbin/policy-rc.d && rm /sbin/initctl && dpkg-divert --rename --remove /sbin/initctl && apt-get update && apt-get install -y net-tools wget && locale-gen en_US.UTF-8' | ||
CONFIG: | ||
trace_limit: 200 | ||
- cp /bin/true /sbin/agetty | ||
- rm /usr/sbin/policy-rc.d | ||
- rm /sbin/initctl; dpkg-divert --rename --remove /sbin/initctl | ||
- apt-get install -y net-tools wget apt-transport-https | ||
- locale-gen en_US.UTF-8 | ||
- echo LANG=en_US.UTF-8 > /etc/default/locale | ||
hypervisor: docker |
Oops, something went wrong.