forked from dev-sec/chef-os-hardening
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Execute integration tests in DigitalOcean
- Loading branch information
1 parent
b774c1b
commit 9cfe819
Showing
8 changed files
with
158 additions
and
170 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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# this file is used for configuration of DigitalOcean | ||
# for integration tests in the CI | ||
--- | ||
driver: | ||
name: digitalocean | ||
size: 512mb | ||
|
||
transport: | ||
ssh_key: '~/.ssh/ci_id_rsa' | ||
max_wait_until_ready: 30 | ||
|
||
platforms: | ||
- name: ubuntu-12-04-x64 | ||
- name: ubuntu-14-04-x64 | ||
- name: ubuntu-16-04-x64 | ||
- name: centos-6-5-x64 | ||
- name: centos-7-0-x64 | ||
- name: debian-7-x64 | ||
- name: debian-8-x64 | ||
- name: fedora-24-x64 | ||
- name: fedora-25-x64 |
This file was deleted.
Oops, something went wrong.
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,7 +1,41 @@ | ||
--- | ||
rvm: | ||
- 2.3.1 | ||
sudo: false | ||
language: ruby | ||
bundler_args: "--without development integration" | ||
gemfile: | ||
- Gemfile | ||
bundler_args: "--without development" | ||
dist: trusty | ||
cache: bundler | ||
|
||
rvm: 2.3.3 | ||
|
||
before_install: | ||
- gem update --system # see https://github.com/bundler/bundler/issues/5357 | ||
|
||
env: | ||
- INSTANCE=ubuntu-12-04 | ||
- INSTANCE=ubuntu-14-04 | ||
- INSTANCE=ubuntu-16-04 | ||
- INSTANCE=centos-6 | ||
- INSTANCE=centos-7 | ||
- INSTANCE=debian-7 | ||
- INSTANCE=debian-8 | ||
- INSTANCE=fedora-24 | ||
- INSTANCE=fedora-25 | ||
|
||
script: | ||
- bundle exec rake prepare_do_env kitchen KITCHEN_LOCAL_YAML=.kitchen.do.local.yml | ||
|
||
matrix: | ||
allow_failures: # allow failues of integration tests as the forks might miss the DO token | ||
- env: INSTANCE=ubuntu-12-04 | ||
- env: INSTANCE=ubuntu-14-04 | ||
- env: INSTANCE=ubuntu-16-04 | ||
- env: INSTANCE=centos-6 | ||
- env: INSTANCE=centos-7 | ||
- env: INSTANCE=debian-7 | ||
- env: INSTANCE=debian-8 | ||
- env: INSTANCE=fedora-24 | ||
- env: INSTANCE=fedora-25 | ||
include: | ||
- env: UNIT_AND_LINT=1 | ||
script: | ||
- bundle exec rake lint spec |
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
Oops, something went wrong.