Commit graph

13 commits

Author SHA1 Message Date
Jared Quick
37f5920be3
Add 1.x and 2.x release branches (#2651)
* Add 1.x and 2.x release branches

Signed-off-by: Jared Quick <jquick@chef.io>
2018-02-15 14:50:24 -05:00
Adam Leff
6ccc8aad26
Update expeditor version-update script (#2312)
PR #2311 updated the Rubocop engine to use Ruby 2.3 to evaluate, and
the default behavior is to no longer require `.freeze` to be added
to string literals that are treated like constants. This caused the
pattern match used in the Expeditor version update script to no longer
work.

Also manually fixing the `lib/inspec/version.rb` file to be correct.

Signed-off-by: Adam Leff <adam@leff.co>
2017-11-16 11:59:00 -05:00
Adam Leff
01b65db6c7 Habitat build works for all versions, eliminates rake (#2301)
The Habitat plan has been modified to support building from the repo
rather than relying on a gem being pushed to RubyGems. This allows
us to build current packages at every merge rather than only pushing to
Habitat Builder when we promote to stable.

This change also enables Expeditor to perform builds for us and removes
the dependency on the rake task as it is no longer needed.

Signed-off-by: Adam Leff <adam@leff.co>
2017-11-14 05:01:51 +01:00
Tom Duffield
54136ac408 Use new docker_images config (#2229)
Signed-off-by: Tom Duffield <tom@chef.io>
2017-10-09 12:09:21 -04:00
Adam Leff
79ad513a39 Build and tag docker image via Expeditor (#2144)
* Build and tag docker image via Expeditor

In order to provide Docker images of all unstable, current, and stable
builds of InSpec, and to avoid having to manually publish Docker images
each time we release InSpec, Expeditor will now take care of this for us.

Signed-off-by: Adam Leff <adam@leff.co>
2017-09-14 15:16:29 -04:00
Adam Leff
dbf1d8a889 Fix merge_actions in expeditor config, add create_github_release (#2130)
merge_actions must now be an array rather than a hash. Also adding
the ability for Expeditor to create a GitHub Release entry when
an artifact is promoted to stable.

Signed-off-by: Adam Leff <adam@leff.co>
2017-09-11 11:28:09 -04:00
Tom Duffield
c1e5ed2c61 Update Expeditor config to meet 0.5.0 requirements (#2126)
Signed-off-by: Tom Duffield <tom@chef.io>
2017-09-06 18:14:33 -04:00
Adam Leff
37e68d437d Add expeditor configuration for rubygems (#2090)
This config section was missed and is required in order to properly
push gems during an artifact action.

Signed-off-by: Adam Leff <adam@leff.co>
2017-08-18 13:21:32 -04:00
Adam Leff
b09d572624 Publish rubygem via expeditor (#2084)
* Publish rubygem via expeditor

When InSpec is promoted to the `stable` channel, Expeditor will take care of the gem publishing!

Signed-off-by: Adam Leff <adam@leff.co>
2017-08-17 10:53:39 -04:00
Adam Leff
a60071b920 Add changelog categories to expeditor configuration (#2079)
This will allow for four different changelog categories (in addition to the default)
that will be used based on PR label.

Signed-off-by: Adam Leff <adam@leff.co>
2017-08-15 17:32:14 -04:00
Adam Leff
15cff043f0 Add label to skip all Expeditor tasks (#2050)
In the event we have a docs-only change or similar which does not necessitate a
version bump, changelog update, or omnibus build, a single label named
`Expeditor: Skip All` can be used rather than adding individual labels.

Signed-off-by: Adam Leff <adam@leff.co>
2017-08-04 01:35:15 +02:00
Adam Leff
279fcb5cff Add changelog rollover on stable promotion (#2033)
With this configuration change, expeditor will add a "latest stable"
section to the changelog automatically whenever we promote InSpec
to the stable channel. All existing changelog entries will remain,
and any additional changelog entries that have been made in newer
versions that are newer than the artifact being promoted will
remain intact.

Signed-off-by: Adam Leff <adam@leff.co>
2017-07-27 18:41:42 -04:00
Seth Chisamore
e06c943599 [JEX-608] Use Expeditor to bump version and trigger release build (#2015)
This change updates this repo to begin using the following standard
behavior from Expeditor following a merge to the master branch:

* Automatically bump the `PATCH` version in the `VERSION` file (see https://git.io/vQQYR)
* Create a git tag for the new version (see https://git.io/vQQYR)
* Trigger a release build on manhattan.ci.chef.co using the new tag (see https://git.io/vQQY1)
* Automatically update CHANGELOG (coming soon...the `built_in:update_changelog` merge action is in development)

More details on Expeditor can be found at:
https://github.com/chef/es-lita/tree/master/lita-expeditor

Signed-off-by: Seth Chisamore <schisamo@chef.io>
2017-07-24 12:11:25 -04:00