harrison 0.9.3 → 0.9.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ea3e2d7fb3b0530a3cb4534845580e8fd780531c2ddc4c10a519ba8c8dfa8f73
4
- data.tar.gz: 299cf163b0a9bff14e7e3f80142a1cf6102f37e6ca7fd92ffebe46c397ff3623
3
+ metadata.gz: 74604c27358da38be2585e61cc93497757ce9ec7e0fe7b388df6538b75b9338c
4
+ data.tar.gz: 14338feed45585b1326665804e5a403c3c532991d0410b1a43c13bbdddd8c19c
5
5
  SHA512:
6
- metadata.gz: 91d031c853b1008dba43f94aa63c9f9dc863e7194c7c9ad268956cc0686cc96dd06bbfefc329863a5061be0b2b3ae6ab063cefdf367eca011947a9816897c644
7
- data.tar.gz: b4fadd12ce11248338a79c1e49d8e4db100207df0923de5df99ec7efbe5f20448f138e1977a34fdc96453c877aab18095cb59e2acd764d86bafcf31d3243a18c
6
+ metadata.gz: c84b7e84db2870970e1bdddcf6f0938c59aef5f01bf17435342138721c6dd89c84365a2e79d51f74ba946f646d3371f92f98867acf78d9020c4dac405840ab8b
7
+ data.tar.gz: 664497ca136cd02be0b55f5a28460cb90828208392a2c00322d46acca3c2a21b51931901a490b9fa9d7b2f98777f57436c9bc6404c44389bf3c2718bd15cf4ed
@@ -0,0 +1,10 @@
1
+ ## Summary
2
+ Provide a detailed description of all the changes present in this pull request.
3
+
4
+ ## Additional Context
5
+ Add any additional context about the problem here.
6
+ - [ ] Root cause and the steps to reproduce. (If applicable)
7
+ - [ ] Thought process behind the implementation.
8
+
9
+ ## Related Issues (if any)
10
+ Mention any related issues or pull requests.
@@ -0,0 +1,27 @@
1
+ name: Labeller
2
+
3
+ on:
4
+ issues:
5
+ types:
6
+ - opened
7
+ - labeled
8
+ - unlabeled
9
+ pull_request_target:
10
+ types:
11
+ - opened
12
+ - labeled
13
+ - unlabeled
14
+
15
+ jobs:
16
+ label:
17
+ runs-on: ubuntu-latest
18
+ steps:
19
+
20
+ - uses: puppetlabs/community-labeller@v1.0.1
21
+ name: Label issues or pull requests
22
+ with:
23
+ label_name: community
24
+ label_color: '5319e7'
25
+ org_membership: puppetlabs
26
+ fail_if_member: 'true'
27
+ token: ${{ secrets.IAC_COMMUNITY_LABELER }}
@@ -0,0 +1,16 @@
1
+ name: "release"
2
+
3
+ on:
4
+ workflow_dispatch:
5
+ inputs:
6
+ target:
7
+ description: "The target for the release. This can be a commit sha or a branch."
8
+ required: false
9
+ default: "main"
10
+
11
+ jobs:
12
+ release:
13
+ uses: "puppetlabs/cat-github-actions/.github/workflows/gem_release.yml@main"
14
+ with:
15
+ target: "${{ github.event.inputs.target }}"
16
+ secrets: "inherit"
@@ -0,0 +1,20 @@
1
+ name: "release prep"
2
+
3
+ on:
4
+ workflow_dispatch:
5
+ inputs:
6
+ target:
7
+ description: "The target for the release. This can be a commit sha or a branch."
8
+ required: false
9
+ default: "main"
10
+ version:
11
+ description: "Version of gem to be released."
12
+ required: true
13
+
14
+ jobs:
15
+ release_prep:
16
+ uses: "puppetlabs/cat-github-actions/.github/workflows/gem_release_prep.yml@main"
17
+ with:
18
+ target: "${{ github.event.inputs.target }}"
19
+ version: "${{ github.events.inputs.version }}"
20
+ secrets: "inherit"
data/.gitignore CHANGED
@@ -21,3 +21,4 @@ tmp
21
21
  *.a
22
22
  mkmf.log
23
23
  /Harrisonfile
24
+ /vendor/
data/CHANGELOG.md ADDED
@@ -0,0 +1,66 @@
1
+ <!-- markdownlint-disable MD024 -->
2
+ # Changelog
3
+
4
+ All notable changes to this project will be documented in this file.
5
+
6
+ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org).
7
+
8
+ ## [v0.9.4](https://github.com/puppetlabs/harrison/tree/v0.9.4) - 2023-10-19
9
+
10
+ [Full Changelog](https://github.com/puppetlabs/harrison/compare/v0.9.3...v0.9.4)
11
+
12
+ ### Added
13
+
14
+ - Adding release credence [#34](https://github.com/puppetlabs/harrison/pull/34) ([malikparvez](https://github.com/malikparvez))
15
+
16
+ ## [v0.9.3](https://github.com/puppetlabs/harrison/tree/v0.9.3) - 2023-06-05
17
+
18
+ [Full Changelog](https://github.com/puppetlabs/harrison/compare/v0.9.2...v0.9.3)
19
+
20
+ ## [v0.9.2](https://github.com/puppetlabs/harrison/tree/v0.9.2) - 2022-02-22
21
+
22
+ [Full Changelog](https://github.com/puppetlabs/harrison/compare/v0.9.1...v0.9.2)
23
+
24
+ ## [v0.9.1](https://github.com/puppetlabs/harrison/tree/v0.9.1) - 2020-10-20
25
+
26
+ [Full Changelog](https://github.com/puppetlabs/harrison/compare/v0.9.0...v0.9.1)
27
+
28
+ ## [v0.9.0](https://github.com/puppetlabs/harrison/tree/v0.9.0) - 2020-08-03
29
+
30
+ [Full Changelog](https://github.com/puppetlabs/harrison/compare/v0.8.0...v0.9.0)
31
+
32
+ ## [v0.8.0](https://github.com/puppetlabs/harrison/tree/v0.8.0) - 2019-08-05
33
+
34
+ [Full Changelog](https://github.com/puppetlabs/harrison/compare/v0.7.0...v0.8.0)
35
+
36
+ ## [v0.7.0](https://github.com/puppetlabs/harrison/tree/v0.7.0) - 2018-04-30
37
+
38
+ [Full Changelog](https://github.com/puppetlabs/harrison/compare/v0.6.0...v0.7.0)
39
+
40
+ ## [v0.6.0](https://github.com/puppetlabs/harrison/tree/v0.6.0) - 2016-09-19
41
+
42
+ [Full Changelog](https://github.com/puppetlabs/harrison/compare/v0.5.0...v0.6.0)
43
+
44
+ ## [v0.5.0](https://github.com/puppetlabs/harrison/tree/v0.5.0) - 2016-08-18
45
+
46
+ [Full Changelog](https://github.com/puppetlabs/harrison/compare/v0.4.0.b1...v0.5.0)
47
+
48
+ ## [v0.4.0.b1](https://github.com/puppetlabs/harrison/tree/v0.4.0.b1) - 2016-07-12
49
+
50
+ [Full Changelog](https://github.com/puppetlabs/harrison/compare/v0.3.0...v0.4.0.b1)
51
+
52
+ ## [v0.3.0](https://github.com/puppetlabs/harrison/tree/v0.3.0) - 2014-10-20
53
+
54
+ [Full Changelog](https://github.com/puppetlabs/harrison/compare/v0.2.0...v0.3.0)
55
+
56
+ ## [v0.2.0](https://github.com/puppetlabs/harrison/tree/v0.2.0) - 2014-09-10
57
+
58
+ [Full Changelog](https://github.com/puppetlabs/harrison/compare/v0.1.0...v0.2.0)
59
+
60
+ ## [v0.1.0](https://github.com/puppetlabs/harrison/tree/v0.1.0) - 2014-08-08
61
+
62
+ [Full Changelog](https://github.com/puppetlabs/harrison/compare/v0.0.1...v0.1.0)
63
+
64
+ ## [v0.0.1](https://github.com/puppetlabs/harrison/tree/v0.0.1) - 2014-07-21
65
+
66
+ [Full Changelog](https://github.com/puppetlabs/harrison/compare/cef214380eda163ca292dd49a60a9d0a9facf2e7...v0.0.1)
data/History.md ADDED
@@ -0,0 +1,90 @@
1
+ 0.9.2
2
+ -------------------
3
+ - Bumped dependencies on highline and bundler to latest majors
4
+
5
+ 0.9.1
6
+ -------------------
7
+ - Bumped dependencies on net-ssh and net-scp to latest majors
8
+
9
+ 0.9.0
10
+ -------------------
11
+ - Added ability to package via Docker
12
+ - Added ability to generate multiple builds from a single invocation (when building via Docker)
13
+
14
+ 0.8.0
15
+ -------------------
16
+ - BREAKING: Bumped required Ruby version to >= 2.3.1
17
+ - Bumped net-ssh to 5.2.x
18
+ - Bumped net-scp to 2.0.x
19
+
20
+ 0.7.0
21
+ -------------------
22
+ - Added ability to calculate build host dynamically in package task.
23
+
24
+ 0.6.0
25
+ -------------------
26
+ - Added ability to package from forks. When packaging from HEAD or a branch,
27
+ harrison will now check to see if that branch is tracking a remote branch.
28
+ If so, it will attempt to package code from that remote. If the branch
29
+ being packaged is not tracking a remote branch, or if what is being packaged
30
+ is not a branch, harrison will look for a remote named "origin" and package
31
+ from there. Lastly, if there is not a remote named "origin", it will package
32
+ from the configured "git_src".
33
+
34
+ 0.5.0
35
+ -------------------
36
+ - BREAKING: Bumped net-ssh to 3.2.x which results in Harrison now
37
+ requiring Ruby >= 2.0.
38
+
39
+ 0.4.0b1
40
+ -------------------
41
+ - Fixed a bug where config changes inside of one task could leak into
42
+ other tasks. (#22)
43
+
44
+ - Added the ability to limit the number of times a given phase will be
45
+ invoked during a deploy. (E.g. run a task on only the first host
46
+ deployed to.)
47
+
48
+ - Added the ability for target hosts to be a Proc so that hosts can be
49
+ dynamically computed.
50
+
51
+ - Added the ability to require interactive confirmation of target hosts
52
+ before proceeding with a deploy.
53
+
54
+ 0.3.0
55
+ -------------------
56
+ - BREAKING: Definition of "deploy" task has significantly changed. Deploys
57
+ are now comprised of 1 or more phases and each phase must complete
58
+ successfully on all hosts before proceeding to the next phase. If an
59
+ error is encountered, Harrison will attempt to unwind any changes made
60
+ by previously completed phases by invoking the code block supplied to
61
+ each phase's "on_fail" method. There are several built-in phases to
62
+ perform common deployment related tasks. See the README for more
63
+ information.
64
+
65
+ - BREAKING: Commands executed with remote_exec() inside the "run" block of
66
+ the "package" task will now execute in your commit working directory, so
67
+ you no longer need to prefix commands with "cd #{h.commit}". You will
68
+ need to update existing Harrisonfile "package" run blocks to reflect the
69
+ change of execution context.
70
+
71
+ - Allow multiple users to execute the "package" task for the same project
72
+ simultaneously.
73
+
74
+ - Added "rollback" command which will create a new deploy pointing to the
75
+ previously active release.
76
+
77
+ 0.2.0
78
+ -------------------
79
+ - Implemented the ability to purge old releases after a successful deploy.
80
+
81
+ 0.1.0
82
+ -------------------
83
+ - Renamed --pkg_dir option of 'package' task to --destination
84
+ - Implemented remote destinations for 'package' task.
85
+ - Implemented remote artifact sources for 'deploy' task.
86
+ - Added a default timeout of 10 seconds when establishing an SSH connection.
87
+
88
+ 0.0.1
89
+ -------------------
90
+ - Initial public release.
@@ -1,3 +1,3 @@
1
1
  module Harrison
2
- VERSION = "0.9.3"
2
+ VERSION = "0.9.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: harrison
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.3
4
+ version: 0.9.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jesse Scott
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-05 00:00:00.000000000 Z
11
+ date: 2023-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: trollop
@@ -158,13 +158,18 @@ executables:
158
158
  extensions: []
159
159
  extra_rdoc_files: []
160
160
  files:
161
+ - ".github/pull_request_template.md"
162
+ - ".github/workflows/labeller.yml"
163
+ - ".github/workflows/release.yml"
164
+ - ".github/workflows/release_prep.yml"
161
165
  - ".github/workflows/ruby-spec.yml"
162
166
  - ".gitignore"
163
167
  - ".rspec"
164
168
  - CHANGELOG
169
+ - CHANGELOG.md
165
170
  - CODEOWNERS
166
171
  - Gemfile
167
- - Gemfile.lock
172
+ - History.md
168
173
  - IDEAS
169
174
  - LICENSE.txt
170
175
  - README.md
data/Gemfile.lock DELETED
@@ -1,79 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- harrison (0.9.2)
5
- highline (~> 2.0.3)
6
- net-scp (~> 3.0)
7
- net-ssh (~> 6.1)
8
- trollop (~> 2.1.2)
9
-
10
- GEM
11
- remote: https://rubygems.org/
12
- specs:
13
- byebug (11.1.3)
14
- coderay (1.1.3)
15
- diff-lcs (1.5.0)
16
- docile (1.4.0)
17
- file-tail (1.2.0)
18
- tins (~> 1.0)
19
- highline (2.0.3)
20
- method_source (1.0.0)
21
- net-scp (3.0.0)
22
- net-ssh (>= 2.6.5, < 7.0.0)
23
- net-ssh (6.1.0)
24
- pry (0.13.1)
25
- coderay (~> 1.1)
26
- method_source (~> 1.0)
27
- pry-byebug (3.9.0)
28
- byebug (~> 11.0)
29
- pry (~> 0.13.0)
30
- rake (13.0.6)
31
- rspec (3.11.0)
32
- rspec-core (~> 3.11.0)
33
- rspec-expectations (~> 3.11.0)
34
- rspec-mocks (~> 3.11.0)
35
- rspec-core (3.11.0)
36
- rspec-support (~> 3.11.0)
37
- rspec-expectations (3.11.0)
38
- diff-lcs (>= 1.2.0, < 2.0)
39
- rspec-support (~> 3.11.0)
40
- rspec-mocks (3.11.0)
41
- diff-lcs (>= 1.2.0, < 2.0)
42
- rspec-support (~> 3.11.0)
43
- rspec-support (3.11.0)
44
- ruby2ruby (2.4.4)
45
- ruby_parser (~> 3.1)
46
- sexp_processor (~> 4.6)
47
- ruby_parser (3.18.1)
48
- sexp_processor (~> 4.16)
49
- sexp_processor (4.16.0)
50
- simplecov (0.21.2)
51
- docile (~> 1.1)
52
- simplecov-html (~> 0.11)
53
- simplecov_json_formatter (~> 0.1)
54
- simplecov-html (0.12.3)
55
- simplecov_json_formatter (0.1.4)
56
- sourcify (0.5.0)
57
- file-tail (>= 1.0.5)
58
- ruby2ruby (>= 1.2.5)
59
- ruby_parser (>= 2.0.5)
60
- sexp_processor (>= 3.0.5)
61
- sync (0.5.0)
62
- tins (1.31.0)
63
- sync
64
- trollop (2.1.3)
65
-
66
- PLATFORMS
67
- x86_64-darwin-18
68
-
69
- DEPENDENCIES
70
- bundler (~> 2.3)
71
- harrison!
72
- pry-byebug
73
- rake
74
- rspec (~> 3.0)
75
- simplecov
76
- sourcify
77
-
78
- BUNDLED WITH
79
- 2.3.7