modulesync 7.4.0

This commit is contained in:
Tim Meusel 2024-04-12 13:24:18 +02:00 committed by markuszilch
parent edb01d72b1
commit 7073f88b8c
No known key found for this signature in database
GPG key ID: 77B012A56232785D
4 changed files with 16 additions and 28 deletions

View file

@ -131,19 +131,29 @@ You can install all needed gems for spec tests into the modules directory by
running: running:
```sh ```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: If you also want to run acceptance tests:
```sh ```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: Our all in one solution if you don't know if you need to install or update gems:
```sh ```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 As an alternative to the `--jobs "$(nproc)` parameter, you can set an

2
.gitignore vendored
View file

@ -21,3 +21,5 @@
.*.sw? .*.sw?
/.yardoc/ /.yardoc/
/Guardfile /Guardfile
bolt-debug.log
.rerun.json

View file

@ -2,4 +2,4 @@
# Managed by modulesync - DO NOT EDIT # Managed by modulesync - DO NOT EDIT
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/ # https://voxpupuli.org/docs/updating-files-managed-with-modulesync/
modulesync_config_version: '7.3.0' modulesync_config_version: '7.4.0'

View file

@ -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