Projet

Général

Profil

Révision 79ef6104

ID79ef6104b6b17c2d21d44d8a723dd4d7d218de46
Parent 8fd5be37
Enfant 80d9b434

Ajouté par Tim Meusel il y a environ un an

modulesync 7.4.0

Voir les différences:

.github/CONTRIBUTING.md
131 131
running:
132 132

  
133 133
```sh
134
bundle install --path .vendor/ --without development system_tests release --jobs "$(nproc)"
134
bundle config set --local path '.vendor/'
135
bundle config set --local without 'development system_tests release'
136
bundle install --jobs "$(nproc)"
135 137
```
136 138

  
137 139
If you also want to run acceptance tests:
138 140

  
139 141
```sh
140
bundle install --path .vendor/ --with system_tests --without development release --jobs "$(nproc)"
142
bundle config set --local path '.vendor/'
143
bundle config set --local without 'development release'
144
bundle config set --local with 'system_tests'
145
bundle install --jobs "$(nproc)"
141 146
```
142 147

  
143 148
Our all in one solution if you don't know if you need to install or update gems:
144 149

  
145 150
```sh
146
bundle install --path .vendor/ --with system_tests --without development release --jobs "$(nproc)"; bundle update; bundle clean
151
bundle config set --local path '.vendor/'
152
bundle config set --local without 'development release'
153
bundle config set --local with 'system_tests'
154
bundle install --jobs "$(nproc)"
155
bundle update
156
bundle clean
147 157
```
148 158

  
149 159
As an alternative to the `--jobs "$(nproc)` parameter, you can set an
.gitignore
21 21
.*.sw?
22 22
/.yardoc/
23 23
/Guardfile
24
bolt-debug.log
25
.rerun.json
.msync.yml
2 2
# Managed by modulesync - DO NOT EDIT
3 3
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/
4 4

  
5
modulesync_config_version: '7.3.0'
5
modulesync_config_version: '7.4.0'
Dockerfile
1
# MANAGED BY MODULESYNC
2
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/
3

  
4
FROM ruby:2.7
5

  
6
WORKDIR /opt/puppet
7

  
8
# https://github.com/puppetlabs/puppet/blob/06ad255754a38f22fb3a22c7c4f1e2ce453d01cb/lib/puppet/provider/service/runit.rb#L39
9
RUN mkdir -p /etc/sv
10

  
11
ARG PUPPET_GEM_VERSION="~> 6.0"
12
ARG PARALLEL_TEST_PROCESSORS=4
13

  
14
# Cache gems
15
COPY Gemfile .
16
RUN bundle install --without system_tests development release --path=${BUNDLE_PATH:-vendor/bundle}
17

  
18
COPY . .
19

  
20
RUN bundle install
21
RUN bundle exec rake release_checks
22

  
23
# Container should not saved
24
RUN exit 1

Formats disponibles : Unified diff