pact_broker-client 1.27.20 → 1.27.25
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/release_gem.yml +7 -36
- data/CHANGELOG.md +8 -21
- data/lib/pact_broker/client/version.rb +1 -1
- data/script/trigger-release.sh +0 -3
- metadata +1 -12
- data/.github/workflows/release_gem_2.yml +0 -17
- data/action.yml +0 -6
- data/release-image/entrypoint.sh +0 -3
- data/release-image/release/Gemfile +0 -5
- data/release-image/release/Rakefile +0 -5
- data/release-image/usr/local/bin/prepare-release +0 -21
- data/release-image/usr/local/bin/release-gem +0 -24
- data/script/api_key_test.rb +0 -5
- data/script/prepare-github-release.sh +0 -7
- data/script/prepare-release.sh +0 -12
- data/script/release-gem.sh +0 -23
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fa28433e656d410eaefcaf3dbc64c4f0989fcb4dab0a2ab0aa8a1213f26ccb58
|
4
|
+
data.tar.gz: 4b7c34ddb36ca51b5abcbdba3e3386a0d344b445a54968b6a9732f8fd5b8e8ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3eadb666deecf911720d567273dc6c35dde9da75a558d9aff58f039a5f970bbabe6262c9e6169621e1d7e6defe91faa34d869b3ef863243f35c2aca2ac835125
|
7
|
+
data.tar.gz: c2c3a0adabb97521c249c46fa90075098fa96c48382e7f90850bec785f6822fe038c9471da78c7868cfb0559bd150c73610021bc192be37eab2039f74555f6d7
|
@@ -12,41 +12,12 @@ jobs:
|
|
12
12
|
- uses: actions/checkout@v2
|
13
13
|
with:
|
14
14
|
fetch-depth: 0
|
15
|
-
- uses:
|
16
|
-
with:
|
17
|
-
ruby-version: '2.6'
|
18
|
-
- name: Install gems
|
19
|
-
run: |
|
20
|
-
gem update --system
|
21
|
-
gem install bundler -v 2.0.2
|
22
|
-
bundle install
|
23
|
-
- name: Configure git
|
24
|
-
run: |
|
25
|
-
git config user.email "beth@bethesque.com"
|
26
|
-
git config user.name "Beth Skurrie via Github Actions"
|
27
|
-
- name: Prepare release
|
28
|
-
run: script/prepare-release.sh
|
29
|
-
env:
|
30
|
-
INCREMENT: patch
|
31
|
-
- name: Release gem
|
32
|
-
run: |
|
33
|
-
touch ~/.gem/credentials
|
34
|
-
script/release-gem.sh
|
15
|
+
- uses: pact-foundation/release-gem@master
|
35
16
|
env:
|
36
17
|
GEM_HOST_API_KEY: '${{ secrets.RUBYGEMS_API_KEY }}'
|
37
|
-
- name:
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
with:
|
44
|
-
tag_name: ${{ env.TAG }}
|
45
|
-
release_name: ${{ env.TAG }}
|
46
|
-
body_path: tmp/RELEASE_NOTES.md
|
47
|
-
- name: Trigger release of pact-cli Docker image
|
48
|
-
uses: peter-evans/repository-dispatch@v1
|
49
|
-
with:
|
50
|
-
token: ${{ secrets.GHTOKENFORPACTCLIRELEASE }}
|
51
|
-
repository: pact-foundation/pact-ruby-cli
|
52
|
-
event-type: gem-released
|
18
|
+
# - name: Trigger release of pact-cli Docker image
|
19
|
+
# uses: peter-evans/repository-dispatch@v1
|
20
|
+
# with:
|
21
|
+
# token: ${{ secrets.GHTOKENFORPACTCLIRELEASE }}
|
22
|
+
# repository: pact-foundation/pact-ruby-cli
|
23
|
+
# event-type: gem-released
|
data/CHANGELOG.md
CHANGED
@@ -1,34 +1,21 @@
|
|
1
|
-
<a name="v1.27.
|
2
|
-
### v1.27.
|
1
|
+
<a name="v1.27.25"></a>
|
2
|
+
### v1.27.25 (2020-07-12)
|
3
3
|
|
4
4
|
|
5
|
-
####
|
6
|
-
|
7
|
-
* testing release notes ([1f38fdd](/../../commit/1f38fdd))
|
8
|
-
|
5
|
+
#### Features
|
9
6
|
|
10
|
-
|
11
|
-
|
7
|
+
* **deps**
|
8
|
+
* this isn't really a feature, but I want to test the release workflow ([29a7b72](/../../commit/29a7b72))
|
12
9
|
|
13
10
|
|
14
11
|
#### Bug Fixes
|
15
12
|
|
13
|
+
* not really a fix, just testing release notes ([78a919d](/../../commit/78a919d))
|
14
|
+
* not really a fix, just testing release notes ([13ddd06](/../../commit/13ddd06))
|
15
|
+
* testing release notes ([1f38fdd](/../../commit/1f38fdd))
|
16
16
|
* not a real fix, just testing release notes ([1fabb8b](/../../commit/1fabb8b))
|
17
17
|
|
18
18
|
|
19
|
-
<a name="v1.27.13"></a>
|
20
|
-
### v1.27.13 (2020-07-11)
|
21
|
-
|
22
|
-
<a name="v1.27.1"></a>
|
23
|
-
### v1.27.1 (2020-07-10)
|
24
|
-
|
25
|
-
|
26
|
-
#### Features
|
27
|
-
|
28
|
-
* **deps**
|
29
|
-
* this isn't really a feature, but I want to test the release workflow ([29a7b72](/../../commit/29a7b72))
|
30
|
-
|
31
|
-
|
32
19
|
<a name="v1.27.0"></a>
|
33
20
|
### v1.27.0 (2020-05-09)
|
34
21
|
|
data/script/trigger-release.sh
CHANGED
@@ -5,11 +5,8 @@ output=$(curl -v -X POST https://api.github.com/repos/pact-foundation/pact_broke
|
|
5
5
|
-H "Authorization: Bearer $GITHUB_ACCESS_TOKEN" \
|
6
6
|
-d '{"event_type": "release-patch"}' 2>&1)
|
7
7
|
|
8
|
-
echo "$output" | sed "s/${GITHUB_ACCESS_TOKEN}/****/g"
|
9
|
-
|
10
8
|
if ! echo "${output}" | grep "HTTP\/1.1 204" > /dev/null; then
|
11
9
|
echo "$output" | sed "s/${GITHUB_ACCESS_TOKEN}/****/g"
|
12
10
|
echo "Failed to do the thing"
|
13
11
|
exit 1
|
14
12
|
fi
|
15
|
-
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pact_broker-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.27.
|
4
|
+
version: 1.27.25
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Beth Skurrie
|
@@ -146,7 +146,6 @@ extensions: []
|
|
146
146
|
extra_rdoc_files: []
|
147
147
|
files:
|
148
148
|
- ".github/workflows/release_gem.yml"
|
149
|
-
- ".github/workflows/release_gem_2.yml"
|
150
149
|
- ".github/workflows/trigger_pact_docs_update.yml"
|
151
150
|
- ".gitignore"
|
152
151
|
- ".rspec"
|
@@ -157,7 +156,6 @@ files:
|
|
157
156
|
- README.md
|
158
157
|
- RELEASING.md
|
159
158
|
- Rakefile
|
160
|
-
- action.yml
|
161
159
|
- appveyor.yml
|
162
160
|
- bin/pact-broker
|
163
161
|
- ci.sh
|
@@ -218,17 +216,8 @@ files:
|
|
218
216
|
- lib/pact_broker/client/webhooks/test.rb
|
219
217
|
- lib/pact_broker_client.rb
|
220
218
|
- pact-broker-client.gemspec
|
221
|
-
- release-image/entrypoint.sh
|
222
|
-
- release-image/release/Gemfile
|
223
|
-
- release-image/release/Rakefile
|
224
|
-
- release-image/usr/local/bin/prepare-release
|
225
|
-
- release-image/usr/local/bin/release-gem
|
226
|
-
- script/api_key_test.rb
|
227
219
|
- script/generate-cli-usage.sh
|
228
|
-
- script/prepare-github-release.sh
|
229
|
-
- script/prepare-release.sh
|
230
220
|
- script/publish-pact.sh
|
231
|
-
- script/release-gem.sh
|
232
221
|
- script/release.sh
|
233
222
|
- script/trigger-release.sh
|
234
223
|
- spec/integration/can_i_deploy_spec.rb
|
@@ -1,17 +0,0 @@
|
|
1
|
-
name: Release gem 2
|
2
|
-
|
3
|
-
on:
|
4
|
-
repository_dispatch:
|
5
|
-
types:
|
6
|
-
- release-patch-2
|
7
|
-
|
8
|
-
jobs:
|
9
|
-
build:
|
10
|
-
runs-on: ubuntu-latest
|
11
|
-
steps:
|
12
|
-
- uses: actions/checkout@v2
|
13
|
-
with:
|
14
|
-
fetch-depth: 0
|
15
|
-
- uses: pact-foundation/release-gem@master
|
16
|
-
env:
|
17
|
-
GEM_HOST_API_KEY: '${{ secrets.RUBYGEMS_API_KEY }}'
|
data/action.yml
DELETED
data/release-image/entrypoint.sh
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
#!/bin/sh
|
2
|
-
|
3
|
-
echo "::group::Internal logs"
|
4
|
-
set -ex
|
5
|
-
|
6
|
-
# Because the BUNDLE_GEMFILE is set on the docker image, everything
|
7
|
-
# runs in the context of the
|
8
|
-
|
9
|
-
increment=${INCREMENT:-patch}
|
10
|
-
bundle exec bump ${increment} --no-commit
|
11
|
-
bundle exec ruby -e "
|
12
|
-
require 'conventional_changelog'
|
13
|
-
require 'bump'
|
14
|
-
ConventionalChangelog::Generator.new.generate! version: \"v#{Bump::Bump.current}\"
|
15
|
-
"
|
16
|
-
version_file=$(bundle exec bump file --value-only)
|
17
|
-
version=$(bundle exec bump current --value-only)
|
18
|
-
git add CHANGELOG.md "${version_file}"
|
19
|
-
git commit -m "chore(release): version ${version}"
|
20
|
-
|
21
|
-
echo "::endgroup::"
|
@@ -1,24 +0,0 @@
|
|
1
|
-
#!/bin/sh
|
2
|
-
set -ex
|
3
|
-
|
4
|
-
# Set up .netrc file with GitHub credentials
|
5
|
-
git_setup() {
|
6
|
-
cat <<-EOF >$HOME/.netrc
|
7
|
-
machine github.com
|
8
|
-
login $GITHUB_ACTOR
|
9
|
-
password $GITHUB_TOKEN
|
10
|
-
machine api.github.com
|
11
|
-
login $GITHUB_ACTOR
|
12
|
-
password $GITHUB_TOKEN
|
13
|
-
EOF
|
14
|
-
chmod 600 $HOME/.netrc
|
15
|
-
}
|
16
|
-
|
17
|
-
git_setup
|
18
|
-
|
19
|
-
# Overzealous validation stops rake release from running without a credentials file
|
20
|
-
touch ~/.gem/credentials
|
21
|
-
mkdir -p tmp
|
22
|
-
cp /release/Rakefile tmp/Rakefile
|
23
|
-
cd tmp
|
24
|
-
bundle exec rake release
|
data/script/api_key_test.rb
DELETED
data/script/prepare-release.sh
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
#!/bin/sh
|
2
|
-
set -e
|
3
|
-
|
4
|
-
# bundle exec rake
|
5
|
-
increment=${INCREMENT:-patch}
|
6
|
-
bundle exec bump ${increment} --no-commit
|
7
|
-
bundle exec rake generate_changelog
|
8
|
-
version_file=$(bundle exec bump file --value-only)
|
9
|
-
version=$(bundle exec bump current --value-only)
|
10
|
-
git add CHANGELOG.md "${version_file}"
|
11
|
-
git commit -m "chore(release): version ${version}"
|
12
|
-
|
data/script/release-gem.sh
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
#!/bin/bash
|
2
|
-
|
3
|
-
# if [ -n "${GITHUB_ACTIONS}" ]; then
|
4
|
-
# : "${RUBYGEMS_API_KEY:?RUBYGEMS_API_KEY must be set}"
|
5
|
-
# : "${GITHUB_TOKEN:?GITHUB_TOKEN must be set}"
|
6
|
-
|
7
|
-
# echo "Setting up gem credentials..."
|
8
|
-
# set +x
|
9
|
-
# mkdir -p ~/.gem
|
10
|
-
|
11
|
-
# cat << EOF > ~/.gem/credentials
|
12
|
-
# ---
|
13
|
-
# :github: Bearer ${GITHUB_TOKEN}
|
14
|
-
# :rubygems_api_key: ${RUBYGEMS_API_KEY}
|
15
|
-
# EOF
|
16
|
-
|
17
|
-
# chmod 0600 ~/.gem/credentials
|
18
|
-
# set -x
|
19
|
-
|
20
|
-
# fi
|
21
|
-
|
22
|
-
echo "Running gem release task..."
|
23
|
-
bundle exec rake release
|