rake_terraform 0.27.0 → 0.28.0.pre.pre.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.circleci/config.yml +3 -3
- data/.circleci/gpg.private.enc +0 -0
- data/.ruby-version +1 -1
- data/Gemfile.lock +2 -2
- data/README.md +37 -4
- data/go +0 -5
- data/lib/rake_terraform/version.rb +1 -1
- data/rake_terraform.gemspec +2 -0
- data/scripts/ci/common/install-gpg-key.sh +4 -1
- metadata +6 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2aad2f57058f0573d0912732f74fca9450d889677ff0bb6044ef0f38caa7ef03
|
|
4
|
+
data.tar.gz: a7674a55b82114392309a4cc884938f46a6ad92b3022f75ddbf68d9b58b4d266
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 529405b29f46e86b46114f1f713b3af898e175dc3f973cdda9f2d24c7f871b6d94a660bd7ee79e9612f9ac3550f6554cda755db321f495adaf5fe0f17e42fe0a
|
|
7
|
+
data.tar.gz: 97eed8d05b7c1fda31715db223787e0131a0649ac1b39095ccf80c3ee4ea17b8cc3b6c28050116a45f93116328fa080b3cf975b00daa1fe45d0589c8ec02c3a9
|
data/.circleci/config.yml
CHANGED
|
@@ -3,14 +3,14 @@ jobs:
|
|
|
3
3
|
test:
|
|
4
4
|
working_directory: ~/rake-terraform
|
|
5
5
|
docker:
|
|
6
|
-
- image: ruby:2.3.
|
|
6
|
+
- image: ruby:2.3.8
|
|
7
7
|
steps:
|
|
8
8
|
- checkout
|
|
9
9
|
- run: ./scripts/ci/steps/test.sh
|
|
10
10
|
prerelease:
|
|
11
11
|
working_directory: ~/rake-terraform
|
|
12
12
|
docker:
|
|
13
|
-
- image: ruby:2.3.
|
|
13
|
+
- image: ruby:2.3.8
|
|
14
14
|
steps:
|
|
15
15
|
- checkout
|
|
16
16
|
- run: ./scripts/ci/common/install-git-crypt.sh
|
|
@@ -21,7 +21,7 @@ jobs:
|
|
|
21
21
|
release:
|
|
22
22
|
working_directory: ~/rake-terraform
|
|
23
23
|
docker:
|
|
24
|
-
- image: ruby:2.3.
|
|
24
|
+
- image: ruby:2.3.8
|
|
25
25
|
steps:
|
|
26
26
|
- checkout
|
|
27
27
|
- run: ./scripts/ci/common/install-git-crypt.sh
|
data/.circleci/gpg.private.enc
CHANGED
|
Binary file
|
data/.ruby-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.3.
|
|
1
|
+
2.3.8
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -59,14 +59,47 @@ For a complete example see https://github.com/infrablocks/end-to-end-concourse-c
|
|
|
59
59
|
|
|
60
60
|
## Development
|
|
61
61
|
|
|
62
|
-
After checking out the repo, run `bin/setup` to install dependencies. Then, run
|
|
62
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run
|
|
63
|
+
`rake spec` to run the tests. You can also run `bin/console` for an interactive
|
|
64
|
+
prompt that will allow you to experiment.
|
|
65
|
+
|
|
66
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
67
|
+
release a new version, update the version number in `version.rb`, and then run
|
|
68
|
+
`bundle exec rake release`, which will create a git tag for the version, push
|
|
69
|
+
git commits and tags, and push the `.gem` file to
|
|
70
|
+
[rubygems.org](https://rubygems.org).
|
|
71
|
+
|
|
72
|
+
### Managing CircleCI keys
|
|
73
|
+
|
|
74
|
+
To encrypt a GPG key for use by CircleCI:
|
|
75
|
+
|
|
76
|
+
```bash
|
|
77
|
+
openssl aes-256-cbc \
|
|
78
|
+
-e \
|
|
79
|
+
-md sha1 \
|
|
80
|
+
-in ./config/secrets/ci/gpg.private \
|
|
81
|
+
-out ./.circleci/gpg.private.enc \
|
|
82
|
+
-k "<passphrase>"
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
To check decryption is working correctly:
|
|
63
86
|
|
|
64
|
-
|
|
87
|
+
```bash
|
|
88
|
+
openssl aes-256-cbc \
|
|
89
|
+
-d \
|
|
90
|
+
-md sha1 \
|
|
91
|
+
-in ./.circleci/gpg.private.enc \
|
|
92
|
+
-k "<passphrase>"
|
|
93
|
+
```
|
|
65
94
|
|
|
66
95
|
## Contributing
|
|
67
96
|
|
|
68
|
-
Bug reports and pull requests are welcome on GitHub at
|
|
97
|
+
Bug reports and pull requests are welcome on GitHub at
|
|
98
|
+
https://github.com/infrablocks/rake_terraform. This project is intended to be a
|
|
99
|
+
safe, welcoming space for collaboration, and contributors are expected to adhere
|
|
100
|
+
to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
|
69
101
|
|
|
70
102
|
## License
|
|
71
103
|
|
|
72
|
-
The gem is available as open source under the terms of the
|
|
104
|
+
The gem is available as open source under the terms of the
|
|
105
|
+
[MIT License](http://opensource.org/licenses/MIT).
|
data/go
CHANGED
|
@@ -24,11 +24,6 @@ if [[ "$skip_checks" = "no" ]]; then
|
|
|
24
24
|
missing_dependency="yes"
|
|
25
25
|
fi
|
|
26
26
|
|
|
27
|
-
if ! type bundler >/dev/null 2>&1; then
|
|
28
|
-
echo "This codebase requires Bundler."
|
|
29
|
-
missing_dependency="yes"
|
|
30
|
-
fi
|
|
31
|
-
|
|
32
27
|
if [[ "$missing_dependency" = "yes" ]]; then
|
|
33
28
|
echo "Please install missing dependencies to continue."
|
|
34
29
|
exit 1
|
data/rake_terraform.gemspec
CHANGED
|
@@ -21,6 +21,8 @@ Gem::Specification.new do |spec|
|
|
|
21
21
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
22
22
|
spec.require_paths = ['lib']
|
|
23
23
|
|
|
24
|
+
spec.required_ruby_version = '>= 2.3.8'
|
|
25
|
+
|
|
24
26
|
spec.add_dependency 'rake_dependencies', '~> 0.19'
|
|
25
27
|
spec.add_dependency 'ruby-terraform', '~> 0.15'
|
|
26
28
|
spec.add_dependency 'colored2', '~> 3.1'
|
|
@@ -10,7 +10,10 @@ PROJECT_DIR="$( cd "$SCRIPT_DIR/../../.." && pwd )"
|
|
|
10
10
|
cd "$PROJECT_DIR"
|
|
11
11
|
|
|
12
12
|
set +e
|
|
13
|
+
openssl version
|
|
13
14
|
openssl aes-256-cbc \
|
|
14
15
|
-d \
|
|
15
|
-
-
|
|
16
|
+
-md sha1 \
|
|
17
|
+
-in ./.circleci/gpg.private.enc \
|
|
18
|
+
-k "${ENCRYPTION_PASSPHRASE}" | gpg --import -
|
|
16
19
|
set -e
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rake_terraform
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.28.0.pre.pre.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Toby Clemson
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-05-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake_dependencies
|
|
@@ -202,15 +202,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
202
202
|
requirements:
|
|
203
203
|
- - ">="
|
|
204
204
|
- !ruby/object:Gem::Version
|
|
205
|
-
version:
|
|
205
|
+
version: 2.3.8
|
|
206
206
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
207
207
|
requirements:
|
|
208
|
-
- - "
|
|
208
|
+
- - ">"
|
|
209
209
|
- !ruby/object:Gem::Version
|
|
210
|
-
version:
|
|
210
|
+
version: 1.3.1
|
|
211
211
|
requirements: []
|
|
212
|
-
|
|
213
|
-
rubygems_version: 2.7.7
|
|
212
|
+
rubygems_version: 3.0.3
|
|
214
213
|
signing_key:
|
|
215
214
|
specification_version: 4
|
|
216
215
|
summary: Rake tasks for running terraform.
|