r10k 3.3.3 → 3.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.github/pull_request_template.md +1 -0
- data/.github/workflows/docker.yml +56 -0
- data/.github/workflows/release.yml +36 -0
- data/.travis.yml +23 -8
- data/CHANGELOG.mkd +57 -4
- data/CODEOWNERS +1 -0
- data/Gemfile +1 -1
- data/README.mkd +4 -3
- data/azure-pipelines.yml +2 -1
- data/bin/r10k +1 -1
- data/doc/dynamic-environments/configuration.mkd +160 -2
- data/doc/dynamic-environments/git-environments.mkd +1 -1
- data/doc/dynamic-environments/master-configuration.mkd +28 -58
- data/doc/faq.mkd +6 -1
- data/doc/puppetfile.mkd +2 -0
- data/docker/Makefile +39 -17
- data/docker/r10k/Dockerfile +36 -15
- data/docker/r10k/adduser.sh +13 -0
- data/docker/r10k/docker-entrypoint.d/10-analytics.sh +1 -1
- data/docker/r10k/release.Dockerfile +54 -0
- data/docker/spec/dockerfile_spec.rb +4 -3
- data/docker/spec/fixtures/Puppetfile +1 -1
- data/integration/Rakefile +2 -2
- data/lib/r10k/action/deploy/environment.rb +7 -3
- data/lib/r10k/action/deploy/module.rb +5 -1
- data/lib/r10k/action/runner.rb +4 -4
- data/lib/r10k/cli/deploy.rb +1 -1
- data/lib/r10k/environment.rb +30 -0
- data/lib/r10k/environment/bare.rb +16 -0
- data/lib/r10k/environment/git.rb +6 -5
- data/lib/r10k/environment/svn.rb +2 -0
- data/lib/r10k/environment/with_modules.rb +139 -0
- data/lib/r10k/forge/module_release.rb +2 -2
- data/lib/r10k/logging/terminaloutputter.rb +1 -1
- data/lib/r10k/module/base.rb +5 -0
- data/lib/r10k/module/forge.rb +5 -1
- data/lib/r10k/puppetfile.rb +6 -0
- data/lib/r10k/source.rb +4 -0
- data/lib/r10k/source/exec.rb +51 -0
- data/lib/r10k/source/hash.rb +182 -0
- data/lib/r10k/source/yaml.rb +20 -0
- data/lib/r10k/source/yamldir.rb +32 -0
- data/lib/r10k/util/attempt.rb +1 -1
- data/lib/r10k/version.rb +4 -1
- data/locales/r10k.pot +65 -22
- data/r10k.gemspec +6 -2
- data/spec/unit/action/deploy/environment_spec.rb +1 -0
- data/spec/unit/action/deploy/module_spec.rb +13 -0
- data/spec/unit/action/puppetfile/install_spec.rb +3 -1
- data/spec/unit/action/runner_spec.rb +2 -2
- data/spec/unit/forge/module_release_spec.rb +14 -10
- data/spec/unit/source/exec_spec.rb +81 -0
- data/spec/unit/source/hash_spec.rb +54 -0
- data/spec/unit/source/yaml_spec.rb +42 -0
- metadata +64 -22
- data/MAINTAINERS +0 -18
- data/docker/distelli-manifest.yml +0 -9
- data/integration/scripts/README.mkd +0 -86
- data/integration/scripts/setup_r10k_env_centos5.sh +0 -23
- data/integration/scripts/setup_r10k_env_centos6.sh +0 -23
- data/integration/scripts/setup_r10k_env_rhel7.sh +0 -23
- data/integration/scripts/setup_r10k_env_sles11.sh +0 -23
- data/integration/scripts/setup_r10k_env_sles12.sh +0 -23
- data/integration/scripts/setup_r10k_env_ubuntu1004.sh +0 -23
- data/integration/scripts/setup_r10k_env_ubuntu1204.sh +0 -23
- data/integration/scripts/setup_r10k_env_ubuntu1404.sh +0 -23
@@ -1,23 +0,0 @@
|
|
1
|
-
#!/bin/bash
|
2
|
-
SCRIPT_PATH=$(pwd)
|
3
|
-
BASENAME_CMD="basename ${SCRIPT_PATH}"
|
4
|
-
SCRIPT_BASE_PATH=`eval ${BASENAME_CMD}`
|
5
|
-
|
6
|
-
if [ $SCRIPT_BASE_PATH = "scripts" ]; then
|
7
|
-
cd ../
|
8
|
-
fi
|
9
|
-
|
10
|
-
export pe_dist_dir=http://neptune.puppetlabs.lan/4.0/ci-ready/
|
11
|
-
export GIT_PROVIDER=shellgit
|
12
|
-
|
13
|
-
bundle install --path .bundle/gems
|
14
|
-
|
15
|
-
bundle exec beaker \
|
16
|
-
--preserve-hosts always \
|
17
|
-
--config configs/pe/redhat-7-64mda \
|
18
|
-
--debug \
|
19
|
-
--keyfile ~/.ssh/id_rsa-acceptance \
|
20
|
-
--pre-suite pre-suite \
|
21
|
-
--load-path lib
|
22
|
-
|
23
|
-
rm -rf .bundle
|
@@ -1,23 +0,0 @@
|
|
1
|
-
#!/bin/bash
|
2
|
-
SCRIPT_PATH=$(pwd)
|
3
|
-
BASENAME_CMD="basename ${SCRIPT_PATH}"
|
4
|
-
SCRIPT_BASE_PATH=`eval ${BASENAME_CMD}`
|
5
|
-
|
6
|
-
if [ $SCRIPT_BASE_PATH = "scripts" ]; then
|
7
|
-
cd ../
|
8
|
-
fi
|
9
|
-
|
10
|
-
export pe_dist_dir=http://neptune.puppetlabs.lan/4.0/ci-ready/
|
11
|
-
export GIT_PROVIDER=shellgit
|
12
|
-
|
13
|
-
bundle install --path .bundle/gems
|
14
|
-
|
15
|
-
bundle exec beaker \
|
16
|
-
--preserve-hosts always \
|
17
|
-
--config configs/pe/sles-11-64mda \
|
18
|
-
--debug \
|
19
|
-
--keyfile ~/.ssh/id_rsa-acceptance \
|
20
|
-
--pre-suite pre-suite \
|
21
|
-
--load-path lib
|
22
|
-
|
23
|
-
rm -rf .bundle
|
@@ -1,23 +0,0 @@
|
|
1
|
-
#!/bin/bash
|
2
|
-
SCRIPT_PATH=$(pwd)
|
3
|
-
BASENAME_CMD="basename ${SCRIPT_PATH}"
|
4
|
-
SCRIPT_BASE_PATH=`eval ${BASENAME_CMD}`
|
5
|
-
|
6
|
-
if [ $SCRIPT_BASE_PATH = "scripts" ]; then
|
7
|
-
cd ../
|
8
|
-
fi
|
9
|
-
|
10
|
-
export pe_dist_dir=http://neptune.puppetlabs.lan/4.0/ci-ready/
|
11
|
-
export GIT_PROVIDER=shellgit
|
12
|
-
|
13
|
-
bundle install --path .bundle/gems
|
14
|
-
|
15
|
-
bundle exec beaker \
|
16
|
-
--preserve-hosts always \
|
17
|
-
--config configs/pe/sles-12-64mda \
|
18
|
-
--debug \
|
19
|
-
--keyfile ~/.ssh/id_rsa-acceptance \
|
20
|
-
--pre-suite pre-suite \
|
21
|
-
--load-path lib
|
22
|
-
|
23
|
-
rm -rf .bundle
|
@@ -1,23 +0,0 @@
|
|
1
|
-
#!/bin/bash
|
2
|
-
SCRIPT_PATH=$(pwd)
|
3
|
-
BASENAME_CMD="basename ${SCRIPT_PATH}"
|
4
|
-
SCRIPT_BASE_PATH=`eval ${BASENAME_CMD}`
|
5
|
-
|
6
|
-
if [ $SCRIPT_BASE_PATH = "scripts" ]; then
|
7
|
-
cd ../
|
8
|
-
fi
|
9
|
-
|
10
|
-
export pe_dist_dir=http://neptune.puppetlabs.lan/4.0/ci-ready/
|
11
|
-
export GIT_PROVIDER=shellgit
|
12
|
-
|
13
|
-
bundle install --path .bundle/gems
|
14
|
-
|
15
|
-
bundle exec beaker \
|
16
|
-
--preserve-hosts always \
|
17
|
-
--config configs/pe/ubuntu-1004-64mda \
|
18
|
-
--debug \
|
19
|
-
--keyfile ~/.ssh/id_rsa-acceptance \
|
20
|
-
--pre-suite pre-suite \
|
21
|
-
--load-path lib
|
22
|
-
|
23
|
-
rm -rf .bundle
|
@@ -1,23 +0,0 @@
|
|
1
|
-
#!/bin/bash
|
2
|
-
SCRIPT_PATH=$(pwd)
|
3
|
-
BASENAME_CMD="basename ${SCRIPT_PATH}"
|
4
|
-
SCRIPT_BASE_PATH=`eval ${BASENAME_CMD}`
|
5
|
-
|
6
|
-
if [ $SCRIPT_BASE_PATH = "scripts" ]; then
|
7
|
-
cd ../
|
8
|
-
fi
|
9
|
-
|
10
|
-
export pe_dist_dir=http://neptune.puppetlabs.lan/4.0/ci-ready/
|
11
|
-
export GIT_PROVIDER=shellgit
|
12
|
-
|
13
|
-
bundle install --path .bundle/gems
|
14
|
-
|
15
|
-
bundle exec beaker \
|
16
|
-
--preserve-hosts always \
|
17
|
-
--config configs/pe/ubuntu-1204-64mda \
|
18
|
-
--debug \
|
19
|
-
--keyfile ~/.ssh/id_rsa-acceptance \
|
20
|
-
--pre-suite pre-suite \
|
21
|
-
--load-path lib
|
22
|
-
|
23
|
-
rm -rf .bundle
|
@@ -1,23 +0,0 @@
|
|
1
|
-
#!/bin/bash
|
2
|
-
SCRIPT_PATH=$(pwd)
|
3
|
-
BASENAME_CMD="basename ${SCRIPT_PATH}"
|
4
|
-
SCRIPT_BASE_PATH=`eval ${BASENAME_CMD}`
|
5
|
-
|
6
|
-
if [ $SCRIPT_BASE_PATH = "scripts" ]; then
|
7
|
-
cd ../
|
8
|
-
fi
|
9
|
-
|
10
|
-
export pe_dist_dir=http://neptune.puppetlabs.lan/4.0/ci-ready/
|
11
|
-
export GIT_PROVIDER=shellgit
|
12
|
-
|
13
|
-
bundle install --path .bundle/gems
|
14
|
-
|
15
|
-
bundle exec beaker \
|
16
|
-
--preserve-hosts always \
|
17
|
-
--config configs/pe/ubuntu-1404-64mda \
|
18
|
-
--debug \
|
19
|
-
--keyfile ~/.ssh/id_rsa-acceptance \
|
20
|
-
--pre-suite pre-suite \
|
21
|
-
--load-path lib
|
22
|
-
|
23
|
-
rm -rf .bundle
|