ruby-terraform 0.14.0 → 0.14.1.pre1
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 +6 -0
- data/Gemfile.lock +1 -1
- data/Rakefile +0 -14
- data/lib/ruby_terraform/version.rb +1 -1
- data/scripts/ci/common/configure-git.sh +8 -0
- data/scripts/ci/common/configure-rubygems.sh +16 -0
- data/scripts/ci/common/install-gpg-key.sh +16 -0
- data/scripts/ci/steps/prerelease.sh +3 -16
- data/scripts/ci/steps/release.sh +4 -15
- metadata +6 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2ee73fc436883c115f02715a138b71f35c6f38123fdcb6a5a7b04247085955e9
|
|
4
|
+
data.tar.gz: 103ffdda7fc571dce89fa3a592d815c12c1f924fe1b181b4b0a2ef7ad5e2d2ba
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ec70143a3fa6394a0f97d33efe48b6de6664c6b1cebf8a306dadc4d3ff736da4303328cfa1b3f5807d359f6b22c5ff2bb6ee1a4caa56b3fabfa6c6a0b9f3cf5e
|
|
7
|
+
data.tar.gz: 8bac21b53853135631246b326981dc570a6443752de63c85894e6bccf5b27fb19187a3edfd9dd17b6bcff82ad2dfa8c8da54d24378baa3b94dbab30304c7abd3
|
data/.circleci/config.yml
CHANGED
|
@@ -14,6 +14,9 @@ jobs:
|
|
|
14
14
|
steps:
|
|
15
15
|
- checkout
|
|
16
16
|
- run: ./scripts/ci/common/install-git-crypt.sh
|
|
17
|
+
- run: ./scripts/ci/common/install-gpg-key.sh
|
|
18
|
+
- run: ./scripts/ci/common/configure-git.sh
|
|
19
|
+
- run: ./scripts/ci/common/configure-rubygems.sh
|
|
17
20
|
- run: ./scripts/ci/steps/prerelease.sh
|
|
18
21
|
release:
|
|
19
22
|
working_directory: ~/ruby-terraform
|
|
@@ -22,6 +25,9 @@ jobs:
|
|
|
22
25
|
steps:
|
|
23
26
|
- checkout
|
|
24
27
|
- run: ./scripts/ci/common/install-git-crypt.sh
|
|
28
|
+
- run: ./scripts/ci/common/install-gpg-key.sh
|
|
29
|
+
- run: ./scripts/ci/common/configure-git.sh
|
|
30
|
+
- run: ./scripts/ci/common/configure-rubygems.sh
|
|
25
31
|
- run: ./scripts/ci/steps/release.sh
|
|
26
32
|
|
|
27
33
|
workflows:
|
data/Gemfile.lock
CHANGED
data/Rakefile
CHANGED
|
@@ -12,20 +12,6 @@ namespace :version do
|
|
|
12
12
|
end
|
|
13
13
|
end
|
|
14
14
|
|
|
15
|
-
namespace :publish do
|
|
16
|
-
desc "Publish prerelease version"
|
|
17
|
-
task :prerelease do
|
|
18
|
-
Rake::Task['version:bump'].invoke('pre')
|
|
19
|
-
Rake::Task['release'].invoke
|
|
20
|
-
end
|
|
21
|
-
|
|
22
|
-
desc "Publish release version"
|
|
23
|
-
task :release do
|
|
24
|
-
Rake::Task['version:bump'].invoke('minor')
|
|
25
|
-
Rake::Task['release'].invoke
|
|
26
|
-
end
|
|
27
|
-
end
|
|
28
|
-
|
|
29
15
|
def bump_version_for(version_type)
|
|
30
16
|
sh "gem bump --version #{version_type} " +
|
|
31
17
|
"&& bundle install " +
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
|
|
3
|
+
[ -n "$DEBUG" ] && set -x
|
|
4
|
+
set -e
|
|
5
|
+
set -o pipefail
|
|
6
|
+
|
|
7
|
+
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
8
|
+
PROJECT_DIR="$( cd "$SCRIPT_DIR/../../.." && pwd )"
|
|
9
|
+
|
|
10
|
+
cd "$PROJECT_DIR"
|
|
11
|
+
|
|
12
|
+
git crypt unlock
|
|
13
|
+
|
|
14
|
+
mkdir -p ~/.gem
|
|
15
|
+
cp config/secrets/rubygems/credentials ~/.gem/credentials
|
|
16
|
+
chmod 0600 ~/.gem/credentials
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
|
|
3
|
+
[ -n "$DEBUG" ] && set -x
|
|
4
|
+
set -e
|
|
5
|
+
set -o pipefail
|
|
6
|
+
|
|
7
|
+
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
8
|
+
PROJECT_DIR="$( cd "$SCRIPT_DIR/../../.." && pwd )"
|
|
9
|
+
|
|
10
|
+
cd "$PROJECT_DIR"
|
|
11
|
+
|
|
12
|
+
set +e
|
|
13
|
+
openssl aes-256-cbc \
|
|
14
|
+
-d \
|
|
15
|
+
-in ./.circleci/gpg.private.enc -k "${ENCRYPTION_PASSPHRASE}" | gpg --import -
|
|
16
|
+
set -e
|
|
@@ -9,21 +9,8 @@ PROJECT_DIR="$( cd "$SCRIPT_DIR/../../.." && pwd )"
|
|
|
9
9
|
|
|
10
10
|
cd "$PROJECT_DIR"
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
-d \
|
|
15
|
-
-in ./.circleci/gpg.private.enc -k "${ENCRYPTION_PASSPHRASE}" | gpg --import -
|
|
16
|
-
set -e
|
|
17
|
-
|
|
18
|
-
git crypt unlock
|
|
19
|
-
|
|
20
|
-
git config --global user.email "circleci@infrablocks.io"
|
|
21
|
-
git config --global user.name "Circle CI"
|
|
22
|
-
|
|
23
|
-
mkdir -p ~/.gem
|
|
24
|
-
cp config/secrets/rubygems/credentials ~/.gem/credentials
|
|
25
|
-
chmod 0600 ~/.gem/credentials
|
|
26
|
-
|
|
27
|
-
./go publish:prerelease
|
|
12
|
+
./go version:bump[pre]
|
|
13
|
+
./go release
|
|
28
14
|
|
|
15
|
+
git status
|
|
29
16
|
git push
|
data/scripts/ci/steps/release.sh
CHANGED
|
@@ -9,21 +9,10 @@ PROJECT_DIR="$( cd "$SCRIPT_DIR/../../.." && pwd )"
|
|
|
9
9
|
|
|
10
10
|
cd "$PROJECT_DIR"
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
openssl aes-256-cbc \
|
|
14
|
-
-d \
|
|
15
|
-
-in ./.circleci/gpg.private.enc -k "${ENCRYPTION_PASSPHRASE}" | gpg --import -
|
|
16
|
-
set -e
|
|
17
|
-
|
|
18
|
-
git crypt unlock
|
|
19
|
-
|
|
20
|
-
git config --global user.email "circleci@infrablocks.io"
|
|
21
|
-
git config --global user.name "Circle CI"
|
|
22
|
-
|
|
23
|
-
mkdir -p ~/.gem
|
|
24
|
-
cp config/secrets/rubygems/credentials ~/.gem/credentials
|
|
25
|
-
chmod 0600 ~/.gem/credentials
|
|
12
|
+
git pull
|
|
26
13
|
|
|
27
|
-
./go
|
|
14
|
+
./go version:bump[minor]
|
|
15
|
+
./go release
|
|
28
16
|
|
|
17
|
+
git status
|
|
29
18
|
git push
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ruby-terraform
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.14.
|
|
4
|
+
version: 0.14.1.pre1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Toby Clemson
|
|
@@ -131,7 +131,10 @@ files:
|
|
|
131
131
|
- lib/ruby_terraform/commands/validate.rb
|
|
132
132
|
- lib/ruby_terraform/version.rb
|
|
133
133
|
- ruby_terraform.gemspec
|
|
134
|
+
- scripts/ci/common/configure-git.sh
|
|
135
|
+
- scripts/ci/common/configure-rubygems.sh
|
|
134
136
|
- scripts/ci/common/install-git-crypt.sh
|
|
137
|
+
- scripts/ci/common/install-gpg-key.sh
|
|
135
138
|
- scripts/ci/steps/prerelease.sh
|
|
136
139
|
- scripts/ci/steps/release.sh
|
|
137
140
|
- scripts/ci/steps/test.sh
|
|
@@ -150,9 +153,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
150
153
|
version: '0'
|
|
151
154
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
152
155
|
requirements:
|
|
153
|
-
- - "
|
|
156
|
+
- - ">"
|
|
154
157
|
- !ruby/object:Gem::Version
|
|
155
|
-
version:
|
|
158
|
+
version: 1.3.1
|
|
156
159
|
requirements: []
|
|
157
160
|
rubyforge_project:
|
|
158
161
|
rubygems_version: 2.7.7
|