| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Christopher A. Snapp <csnapp@chef.io>
|
|
|
|
| |
Signed-off-by: Christopher A. Snapp <csnapp@chef.io>
|
|
|
|
|
|
| |
Test on what we ship
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: Bryan McLellan <btm@loftninjas.org>
|
|
|
|
| |
Signed-off-by: Christopher A. Snapp <csnapp@chef.io>
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
|
| |
Rubygems is built into ruby and we're not updating it anymore in our
builds. We get the version that ships in Ruby
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
| |
It seems odd that we install ruby over ruby
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
| |
There's no need to do this
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
| |
We need to cache them in the project root not the TK root
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
|
|
| |
The original implementation--written by me--was incredibly naive in only
testing the minor version. This is much better in using a Version class
that knows how to compare actual version numbers.
Signed-off-by: Robb Kidd <robb@thekidds.org>
|
|
|
|
|
|
|
| |
Need these so the PowerShell scripts will exit when bare commands fail.
Otherwise the build just keeps truckin' and the errors just pile up.
Signed-off-by: Robb Kidd <robb@thekidds.org>
|
|
|
|
|
|
| |
Let's see all the warnings
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\
| |
| | |
Cache gems in the verify pipeline to speed up tests
|
| |
| |
| |
| | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| |
| |
| |
| | |
This should reduce or remove race conditions while downloading the same
file on multiple container instances.
Signed-off-by: Bryan McLellan <btm@loftninjas.org>
|
|/
|
|
|
|
|
|
|
|
| |
Adds more error checking and avoids trying to download Ruby if for some
reason it already exists on disk and matches the SHA256 hash.
The primary issue discovered when troubleshooting this script was that
aws.exe was running asynchronous. That was 'fixed' with '| Out-Null'.
Signed-off-by: Bryan McLellan <btm@loftninjas.org>
|
|
|
|
|
|
| |
The drive root has more restrictive permissions
Signed-off-by: Bryan McLellan <btm@loftninjas.org>
|
|
|
|
|
|
|
|
| |
This resolves 2 CVEs in Ruby
https://www.ruby-lang.org/en/news/2020/03/31/ruby-2-7-1-released/
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
|
| |
We're failing a lot when we try to remove this file. Just move on with
life.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: Ryan Davis <zenspider@chef.io>
|
|
|
|
|
|
| |
Make this easier to debug in the future
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\
| |
| | |
Set env vars in the container setup script
|
| |
| |
| |
| |
| |
| | |
We're setting the same env vars in each job. Seems entirely pointless.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|/
|
|
|
|
| |
This should fix our busted windows tests
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
| |
This shaves 5 seconds off the non-functional / berkshelf times
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
| |
We have these baked into the containers now
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
|
| |
This should prevent failures when we get throttled pulling it from
Github
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
| |
bumps to bundler 2.1.2 and rubygems 3.1.2 because ruby 2.7 comes with those
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
And use it in both the verify/habitat and habitat/test pipelines.
verify/habitat needs hab >= 0.85 to both build with environment
variables that don't include the studio path[1] and to binlink the runtime
with stubs that include the package and system environment.[2]
habitat/test needs hab >= 0.85 to binlink the runtime with stubs that
include the package and system environment.
[1] https://github.com/habitat-sh/habitat/pull/6850
[2] https://github.com/habitat-sh/habitat/pull/6826
Signed-off-by: Robb Kidd <robb@thekidds.org>
|
|
|
|
|
|
|
|
| |
The PowerShell scripts calling PowerShell scripts was apparently
swallowing the errors being thrown from inner layers. Check the error
level of those scripts and throw another error if need be.
Signed-off-by: Robb Kidd <robb@thekidds.org>
|
|
|
|
| |
Signed-off-by: Robb Kidd <robb@thekidds.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adds a test PowersShell script to habitat/tests/ to run some simple
tests on executable version output and then run the functional specs
suite like the omnibus_test script does.
scripts/ci/verify-plan.ps1 will perform a throwaway build of
the plan under a "ci" origin and then run the test script upon the built
package.
The habitat/verify pipeline was updated to run the verify-plan.ps1 script.
Signed-off-by: Robb Kidd <robb@thekidds.org>
add Windows plan verification to verify-hab pipeline
Signed-off-by: Robb Kidd <robb@thekidds.org>
|
|
|
|
| |
Signed-off-by: Christopher A. Snapp <csnapp@chef.io>
|
|
|
|
|
|
| |
Also skip the docs installs here to speed things up
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
|
|
|
| |
* Use default windows 2019 image
* Skip 8dot3name tests as default disabled on 2019
* Use windows privileged executor for functional tests
* Use windows docker image for chocolatey tests
Signed-off-by: Jaymala Sinha <jsinha@chef.io>
|
|
|
|
| |
Signed-off-by: Jaymala Sinha <jsinha@chef.io>
|
|
|
|
|
|
| |
It's in the container now
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
| |
This should speed things up a bit
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
| |
Cross your fingers
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: Jaymala Sinha <jsinha@chef.io>
|
|
|
|
| |
Signed-off-by: Jaymala Sinha <jsinha@chef.io>
|
|
|
|
| |
Signed-off-by: Jaymala Sinha <jsinha@chef.io>
|