-
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.
Merge pull request #1 from syberalexis/storj
Module implementation
- Loading branch information
Showing
21 changed files
with
1,262 additions
and
53 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,25 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
title: '[BUG] My bug...' | ||
labels: 'bug' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Describe the bug** | ||
A clear and concise description of what the bug is. | ||
|
||
**To Reproduce** | ||
Steps to reproduce the behavior. | ||
|
||
**Expected behavior** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Environment** | ||
- Puppet code | ||
- Hieradata | ||
- Facts | ||
|
||
**Additional context** | ||
Add any other context about the problem here. |
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,20 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: '[FEATURE] My new proposal...' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Is your feature request related to a problem? Please describe.** | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
|
||
**Describe the solution you'd like** | ||
A clear and concise description of what you want to happen. | ||
|
||
**Describe alternatives you've considered** | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
**Additional context** | ||
Add any other context or screenshots about the feature request here. |
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 |
---|---|---|
|
@@ -25,3 +25,4 @@ | |
.project | ||
.envrc | ||
/inventory.yaml | ||
.vendor |
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 |
---|---|---|
|
@@ -40,3 +40,5 @@ | |
/.yardopts | ||
/spec/ | ||
/.vscode/ | ||
/.github/ | ||
/.vendor/ |
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,44 +1,48 @@ | ||
--- | ||
dist: xenial | ||
dist: bionic | ||
language: ruby | ||
cache: bundler | ||
before_install: | ||
- bundle -v | ||
- rm -f Gemfile.lock | ||
- gem update --system $RUBYGEMS_VERSION | ||
- gem --version | ||
- bundle -v | ||
- bundle -v | ||
- rm -f Gemfile.lock | ||
- gem update --system $RUBYGEMS_VERSION | ||
- gem --version | ||
- bundle -v | ||
script: | ||
- 'bundle exec rake $CHECK' | ||
bundler_args: --without system_tests | ||
- bundle exec rake $CHECK | ||
rvm: | ||
- 2.5.3 | ||
- 2.5.3 | ||
stages: | ||
- static | ||
- spec | ||
- acceptance | ||
matrix: | ||
- static | ||
- spec | ||
- name: deploy | ||
if: tag =~ ^v\d | ||
jobs: | ||
fast_finish: true | ||
include: | ||
- | ||
env: CHECK="check:symlinks check:git_ignore check:dot_underscore check:test_file rubocop syntax lint metadata_lint" | ||
stage: static | ||
- | ||
env: PUPPET_GEM_VERSION="~> 6.0" CHECK="parallel_spec spec/classes spec/defines" | ||
rvm: 2.5.3 | ||
stage: spec | ||
deploy: | ||
skip_cleanup: true | ||
provider: puppetforge | ||
user: "maeq" | ||
password: | ||
secure: ${{ secrets.FORGE_API_KEY }} | ||
on: | ||
branch: master | ||
tags: /^v\d/ | ||
- stage: static | ||
bundler_args: "--without system_tests" | ||
env: CHECK="check:symlinks check:git_ignore check:dot_underscore check:test_file rubocop syntax lint metadata_lint" | ||
|
||
- stage: spec | ||
bundler_args: "--without system_tests" | ||
env: PUPPET_GEM_VERSION="~> 6.0" CHECK="parallel_spec spec/classes spec/defines" | ||
|
||
- stage: deploy | ||
bundler_args: "--without system_tests" | ||
env: CHECK=build DEPLOY_TO_FORGE=yes | ||
|
||
branches: | ||
only: | ||
- master | ||
- /^v\d/ | ||
- master | ||
- "/^v\\d/" | ||
notifications: | ||
email: false | ||
deploy: | ||
provider: puppetforge | ||
user: maeq | ||
password: | ||
secure: "pckRWQgpry7EholF461nYXQEjhD4hMoXrPTDHhoNJrblqFZVd2hsBFHFufFyqV3kzfnSPYdJDHmpVO8xbuQhH7Jxl1nGBZI+dIJzx2lO2HUasDzjyGMHmxXl47x+4k4MVLoOtYQel4PGBBh7SpOKqj9XNSvQXj1ELx2ze92XkPEw5q1zRI8VuCi/SmWh83GIjmsypk8K2n3ek48KSRL5Sd9EhlMxVGK/4L6oZ/AmuyQ+g1jzV/nwX7F6OS7zSfHZxuNHYIDw8l42n9hZxp3isKoWixASyUFhGA8s2FfUlPSW3t8opQa5Pqa3LrnzK9L9WOBKnu2kPUTmxoP6aGDldbbVfwt7DmbCm52fBI7+2E4dU/28iIIOL/nKipwh81Zg9/khManZrr9w4/26n1zoPG6I2Snq29z4jYEYcKi4UBpo8MpnFcRQL8OHh4NSOA93kIeydzo7+tCsLjhupM+0xIfQLEixVNzcfNvwmv/D48bXDDblDbPdRhf7NkTNf6KidtA6lXd+9GpgrJMA0CRFsCngY5TfEWIl5rFAomk+TCZYj2k/tVexBQrpsN5LpCi0csubmAhFS2NQZjUbuM1go6XzLeFhodx2zsle8KzlLpoHE+EkYtI3VvG91J5phQyPa3ccsRoqiR4D8f3nQ/hD/zIMTI/dtLF3C8musKyhB08=" | ||
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
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,25 @@ | ||
# Contributing | ||
|
||
## Report an issue or a feature proposal | ||
To submit an issue or a feature, please fill as possible the template. | ||
|
||
## Contribute | ||
To contribute to a Puppet module project, please read the [Contributing to Puppet modules guide](https://puppet.com/docs/puppet/latest/contributing.html). | ||
|
||
## Tests | ||
This project contains tests for [rspec-puppet](http://rspec-puppet.com/). | ||
|
||
Quickstart to run all linter and unit tests: | ||
```bash | ||
bundle install --path .vendor/ | ||
bundle exec rake test | ||
``` | ||
Or | ||
```bash | ||
pdk validate | ||
pdk test unit | ||
``` | ||
|
||
## Pull Request | ||
It is very much appreciated to check your Puppet manifest with [puppet-lint](http://puppet-lint.com/) to follow the recommended Puppet style guidelines from the [Puppet Labs style guide](https://puppet.com/docs/puppet/latest/style_guide.html). | ||
Please run [tests](#tests) before, to don't break the CI. |
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.