Miah Johnson
549e3c196e
Merge pull request #4675 from inspec/mj/hab1101
...
Get artifact/habitat starting tests on both Windows and Linux
2019-11-07 12:13:31 -08:00
Miah Johnson
13a1c30ba6
Corret build scripts
...
correct path to hab artifact
Rather than throwing, lets try to install the version
Make sure hab is in the path
we use -b on windows. lets be consistent
export project_root too
picardface
fix regex
execute rake _through_ habitat
make test vrooom
test presence of inspec
strip out clixml bs
... no which on bk.
full path to which
export PATH
test exist on linux/windows
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-07 10:09:35 -08:00
Miah Johnson
9eff871be1
crossing fingers
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-06 14:20:27 -08:00
Ryan Davis
bbba778980
Tentative buildkite setup. Not activated yet.
...
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-11-05 16:05:18 -08:00
Ryan Davis
d608cc54b0
Merge pull request #4660 from inspec/zenspider/artifact-caching-fixes
...
Fix false positives on bundle caching check in buildkite.
2019-11-04 13:12:24 -08:00
Miah Johnson
8e4a00693f
lets try to reuse these?
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 18:32:54 -07:00
Miah Johnson
df113b92d2
comet
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
503ac7dd7d
are we getting our ps1 sourced?
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
388f761720
use $project_root in powershell
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
d4badc6ad3
set up binlink in shell script
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
c6b488c62f
the last_build.env script doesn't expor its variables..
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
26a46cc886
debug windows
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
a2122753f0
does it execute?
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
b8c96fb928
let sudo call a program instead of shell magic
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
10bce134e8
will probably need to quote this but...
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
155aa3ee1b
nightmare in /bin/sh
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
414a0df21e
sHELL scripts
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
cedc866d29
finish!
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
4ea5d4bfb1
quotes are hard
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
1d5ee76c75
timing
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
0619d85ba6
d
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
d26b43fdd2
c
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
df7b1a404f
bad
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
22735fa1b2
bad movies
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
85aa6d4142
.
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
9a04b34d2a
...
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
d2c823fae6
plah
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
f0fca98964
please
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
a79120900f
terrible movies
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
954815fc0f
i lost hab?
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
7caa1fb8d2
hi
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
1c93fba32c
import key from ci user
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
75a9692dbe
im lost
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
cbb1ae8593
Lets try importing our key
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
8e5a63bf6b
Make sure sudo passes our ENV
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
a96075cfe1
HAB_LICENSE too
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
f012c6438c
correct path on windows
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
ce16c93d97
accept license
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
e8dc525375
sudo make me a installed package
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
003972ed32
I thought I was in a priviledged environment:
...
```
but ✗✗✗ Permission denied (os error 13)
```
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
d09c5cb9aa
This should be .env
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
35fc664184
.sh -> .env
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
36763a6026
maybe?
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
f9a8fd84da
further debug
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
34c13c7732
don't have tree
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
32521c098c
debug a bit
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
af66adc6db
I think last_build.sh should be last_build.env..
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
44384b6c13
results is in /src/results; update path.
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
44aedcf3bd
Fix path to test scripts
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Ryan Davis
d6843db397
Fix false positives on bundle caching check in buildkite.
...
+ This adds RESET_BUNDLE_CACHE so we can forcibly reset.
+ Now computes the sha against the Gemfile.lock.
+ Other minor fixes as pointed out by shellcheck.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-10-31 16:53:20 -07:00