You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: .github/CONTRIBUTING.md
+5-36
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ By participating in this project you agree to abide by its terms.
25
25
26
26
* Fork the repo.
27
27
* Create a separate branch for your change.
28
-
* We only take pull requests with passing tests, and documentation. [travis-ci](http://travis-ci.org) runs the tests for us. You can also execute them locally. This is explained [in a later section](#the-test-matrix).
28
+
* We only take pull requests with passing tests, and documentation. [GitHub Actions](https://docs.github.com/en/actions) run the tests for us. You can also execute them locally. This is explained [in a later section](#the-test-matrix).
29
29
* Checkout [our docs](https://voxpupuli.org/docs/reviewing_pr/) we use to review a module and the [official styleguide](https://puppet.com/docs/puppet/6.0/style_guide.html). They provide some guidance for new code that might help you before you submit a pull request.
30
30
* Add a test for your change. Only refactoring and documentation changes require no new tests. If you are adding functionality or fixing a bug, please add a test.
31
31
* Squash your commits down into logical components. Make sure to rebase against our current master.
@@ -124,7 +124,7 @@ If you have Ruby 2.x or want a specific version of Puppet,
124
124
you must set an environment variable such as:
125
125
126
126
```sh
127
-
exportPUPPET_VERSION="~> 5.5.6"
127
+
exportPUPPET_GEM_VERSION="~> 6.1.0"
128
128
```
129
129
130
130
You can install all needed gems for spec tests into the modules directory by
@@ -232,51 +232,20 @@ simple tests against it after applying the module. You can run this
232
232
with:
233
233
234
234
```sh
235
-
bundle exec rake beaker
236
-
```
237
-
238
-
This will run the tests on the module's default nodeset. You can override the
239
-
nodeset used, e.g.,
240
-
241
-
```sh
242
-
BEAKER_set=centos-7-x64 bundle exec rake beaker
243
-
```
244
-
245
-
There are default rake tasks for the various acceptance test modules, e.g.,
246
-
247
-
```sh
248
-
bundle exec rake beaker:centos-7-x64
249
-
bundle exec rake beaker:ssh:centos-7-x64
250
-
```
251
-
252
-
If you don't want to have to recreate the virtual machine every time you can
253
-
use `BEAKER_destroy=no` and `BEAKER_provision=no`. On the first run you will at
254
-
least need `BEAKER_provision` set to yes (the default). The Vagrantfile for the
255
-
created virtual machines will be in `.vagrant/beaker_vagrant_files`.
256
-
257
-
Beaker also supports docker containers. We also use that in our automated CI
258
-
pipeline at [travis-ci](http://travis-ci.org). To use that instead of Vagrant:
For more information and tips & tricks, see [voxpupuli-acceptance's documentation](https://github.com/voxpupuli/voxpupuli-acceptance#running-tests).
280
249
281
250
The source of this file is in our [modulesync_config](https://github.com/voxpupuli/modulesync_config/blob/master/moduleroot/.github/CONTRIBUTING.md.erb)
config.header="# Changelog\n\nAll notable changes to this project will be documented in this file.\nEach new release typically also includes the latest modulesync defaults.\nThese should not affect the functionality of the module."
0 commit comments