Skip to content

Commit

Permalink
Merge branch 'release/v0.1.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
Suszyński Krzysztof committed Jun 6, 2018
2 parents c1d5ebe + 56c7809 commit 66d84f3
Show file tree
Hide file tree
Showing 42 changed files with 1,235 additions and 0 deletions.
76 changes: 76 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# Ruby CircleCI 2.0 configuration file
# Check https://circleci.com/docs/2.0/language-ruby/ for more details
version: 2

references:
machine-defaults: &environment-defaults
machine: true
restore-cache-bundler: &restore-cache-bundler
restore_cache:
keys:
- v1-dependencies-{{ checksum "Gemfile.lock" }}
- v1-dependencies-
save-cache-bundler: &save-cache-bundler
save_cache:
paths:
- ./vendor/bundle
key: v1-dependencies-{{ checksum "Gemfile.lock" }}
bundle-install: &bundle-install
run:
name: Install dependencies with Bundler
shell: /bin/bash -leo pipefail
command: bundle install --without development --jobs=4 --retry=3 --no-deployment --path vendor/bundle
acceptance-tests: &acceptance-tests
run:
name: Run acceptance tests using Beaker
shell: /bin/bash -leo pipefail
command: bundle exec rake acceptance

steps: &steps
steps:
- checkout
- *restore-cache-bundler
- *bundle-install
- *save-cache-bundler
- *acceptance-tests

workflows:
version: 2
integration-tests:
jobs:
- centos-6-default
- centos-7-system
- debian-8-puppet4
- ubuntu-1404-puppet3
- ubuntu-1604-puppet5

jobs:
centos-6-default:
<<: *environment-defaults
<<: *steps
environment:
RS_SET: centos-6-docker
centos-7-system:
<<: *environment-defaults
<<: *steps
environment:
RS_SET: centos-7-docker
PUPPETER_ANSWERS: agent-system
ubuntu-1404-puppet3:
<<: *environment-defaults
<<: *steps
environment:
RS_SET: ubuntu-14.04-docker
PUPPETER_ANSWERS: agent-pc3x
ubuntu-1604-puppet5:
<<: *environment-defaults
<<: *steps
environment:
RS_SET: ubuntu-16.04-docker
PUPPETER_ANSWERS: agent-pc5x
debian-8-puppet4:
<<: *environment-defaults
<<: *steps
environment:
RS_SET: debian-8-docker
PUPPETER_ANSWERS: agent-pc4x
14 changes: 14 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/.bundle/
/.yardoc
/_yardoc/
/coverage/
/doc/
/pkg/
/spec/reports/
/tmp/
/log/
/.vagrant/
/vendor/

# rspec failure tracking
.rspec_status
3 changes: 3 additions & 0 deletions .rspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
--format documentation
--color
--require spec_helper
11 changes: 11 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
language: ruby
sudo: false
before_install: gem install bundler
bundler_args: --without development acceptancetests --jobs=3 --retry=3 --no-deployment
cache: bundler
script: bundle exec rake spec
rvm:
- '2.1'
- '2.3'
- '2.4'
74 changes: 74 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
# Contributor Covenant Code of Conduct

## Our Pledge

In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, gender identity and expression, level of experience,
nationality, personal appearance, race, religion, or sexual identity and
orientation.

## Our Standards

Examples of behavior that contributes to creating a positive environment
include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic
address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting

## Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable
behavior and are expected to take appropriate and fair corrective action in
response to any instances of unacceptable behavior.

Project maintainers have the right and responsibility to remove, edit, or
reject comments, commits, code, wiki edits, issues, and other contributions
that are not aligned to this Code of Conduct, or to ban temporarily or
permanently any contributor for other behaviors that they deem inappropriate,
threatening, offensive, or harmful.

## Scope

This Code of Conduct applies both within project spaces and in public spaces
when an individual is representing the project or its community. Examples of
representing a project or community include using an official project e-mail
address, posting via an official social media account, or acting as an appointed
representative at an online or offline event. Representation of a project may be
further defined and clarified by project maintainers.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at [email protected]. All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Further details of specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good
faith may face temporary or permanent repercussions as determined by other
members of the project's leadership.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
available at [http://contributor-covenant.org/version/1/4][version]

[homepage]: http://contributor-covenant.org
[version]: http://contributor-covenant.org/version/1/4/
23 changes: 23 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
source "https://rubygems.org"

# Specify your gem's dependencies in beaker-puppeter.gemspec
gemspec

gem 'rake', require: false
gem 'rspec', require: false

group :acceptancetests do
gem 'beaker-rspec', require: false
gem 'beaker-vagrant', require: false
gem 'vagrant-wrapper', require: false
end

group :tests do
gem 'coveralls', require: false
gem 'simplecov', require: false
end

group :development do
gem 'pry', require: false
gem 'pry-byebug', require: false
end
Loading

0 comments on commit 66d84f3

Please sign in to comment.