mirror of
https://github.com/voxpupuli/puppet-hashi_stack.git
synced 2025-05-24 02:45:01 +01:00
modulesync 7.4.0
This commit is contained in:
parent
edb01d72b1
commit
7073f88b8c
4 changed files with 16 additions and 28 deletions
16
.github/CONTRIBUTING.md
vendored
16
.github/CONTRIBUTING.md
vendored
|
@ -131,19 +131,29 @@ You can install all needed gems for spec tests into the modules directory by
|
|||
running:
|
||||
|
||||
```sh
|
||||
bundle install --path .vendor/ --without development system_tests release --jobs "$(nproc)"
|
||||
bundle config set --local path '.vendor/'
|
||||
bundle config set --local without 'development system_tests release'
|
||||
bundle install --jobs "$(nproc)"
|
||||
```
|
||||
|
||||
If you also want to run acceptance tests:
|
||||
|
||||
```sh
|
||||
bundle install --path .vendor/ --with system_tests --without development release --jobs "$(nproc)"
|
||||
bundle config set --local path '.vendor/'
|
||||
bundle config set --local without 'development release'
|
||||
bundle config set --local with 'system_tests'
|
||||
bundle install --jobs "$(nproc)"
|
||||
```
|
||||
|
||||
Our all in one solution if you don't know if you need to install or update gems:
|
||||
|
||||
```sh
|
||||
bundle install --path .vendor/ --with system_tests --without development release --jobs "$(nproc)"; bundle update; bundle clean
|
||||
bundle config set --local path '.vendor/'
|
||||
bundle config set --local without 'development release'
|
||||
bundle config set --local with 'system_tests'
|
||||
bundle install --jobs "$(nproc)"
|
||||
bundle update
|
||||
bundle clean
|
||||
```
|
||||
|
||||
As an alternative to the `--jobs "$(nproc)` parameter, you can set an
|
||||
|
|
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -21,3 +21,5 @@
|
|||
.*.sw?
|
||||
/.yardoc/
|
||||
/Guardfile
|
||||
bolt-debug.log
|
||||
.rerun.json
|
||||
|
|
|
@ -2,4 +2,4 @@
|
|||
# Managed by modulesync - DO NOT EDIT
|
||||
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/
|
||||
|
||||
modulesync_config_version: '7.3.0'
|
||||
modulesync_config_version: '7.4.0'
|
||||
|
|
24
Dockerfile
24
Dockerfile
|
@ -1,24 +0,0 @@
|
|||
# MANAGED BY MODULESYNC
|
||||
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/
|
||||
|
||||
FROM ruby:2.7
|
||||
|
||||
WORKDIR /opt/puppet
|
||||
|
||||
# https://github.com/puppetlabs/puppet/blob/06ad255754a38f22fb3a22c7c4f1e2ce453d01cb/lib/puppet/provider/service/runit.rb#L39
|
||||
RUN mkdir -p /etc/sv
|
||||
|
||||
ARG PUPPET_GEM_VERSION="~> 6.0"
|
||||
ARG PARALLEL_TEST_PROCESSORS=4
|
||||
|
||||
# Cache gems
|
||||
COPY Gemfile .
|
||||
RUN bundle install --without system_tests development release --path=${BUNDLE_PATH:-vendor/bundle}
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN bundle install
|
||||
RUN bundle exec rake release_checks
|
||||
|
||||
# Container should not saved
|
||||
RUN exit 1
|
Loading…
Add table
Add a link
Reference in a new issue