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
Add posibility to use local modules for installer.
This helps if we need to test change we dont want to push to git just yet.
For various reasons like shame or more seriously security bugs testing.
@@ -69,7 +69,7 @@ When spinning up a Katello development environment locally, it can take a while
69
69
70
70
The Katello development stable box is named `centos7-katello-devel-stable`. Please see the [documentation on stable boxes](./stable_boxes.md) for more information on how to use this box.
71
71
72
-
After spinning up `centos7-katello-devel-stable`, it's a good idea to pull the latest git branches and update gems and npm packages after spinning up a stable box. If a stable box image hasn't been published in a while, these can be out-of-date.
72
+
After spinning up `centos7-katello-devel-stable`, it's a good idea to pull the latest git branches and update gems and npm packages after spinning up a stable box. If a stable box image hasn't been published in a while, these can be out-of-date.
73
73
74
74
At this moment, you will have to manually configure any personal customizations such as github remotes.
75
75
@@ -206,7 +206,7 @@ The Koji role and task ID variable can be added to download and configure a repo
206
206
- katello
207
207
```
208
208
209
-
## Test Puppet Module
209
+
## Test Installer Puppet Module
210
210
211
211
### Pull Requests
212
212
@@ -250,6 +250,26 @@ ansible:
250
250
- myfork/foreman/add-puma
251
251
```
252
252
253
+
### Local changes
254
+
255
+
As an alternative you can use modules from local directories for testing out local changes before push.
Hammer is the command line interface (CLI) to Foreman and Katello. It supports plugins
@@ -348,7 +368,7 @@ In the vagrant box, the dynflow repository is cloned to `/home/vagrant/dynflow`.
348
368
The testing tool [smoker](https://github.com/theforeman/smoker) can be set up with the `centos7-foreman-smoker` box and tests can be run against a separate Foreman/Katello instance.
349
369
350
370
To use:
351
-
1. Ensure that you have a running instance of Foreman/Katello.
371
+
1. Ensure that you have a running instance of Foreman/Katello.
352
372
2. Follow the example box definition in `vagrant/boxes.d/99-local.yaml.example` for `centos7-foreman-smoker` and update the `smoker_base_url` variable. With `pytest_run_tests` set to false, smoker tests will not be run by the playbook, but the box will be set up with pytest and the smoker repository will be cloned to the `vagrant` user's home directory.
353
373
3. Run `vagrant up centos7-foreman-smoker`. A debug message will print showing the command to run smoker tests and the alias that has been set up. The alias is defined in `~/.bash_profile` on the box itself.
354
374
4. You can then ssh into the smoker box. Ensure the hostname of the Foreman/Katello instance can be reached by the smoker box.
0 commit comments