teamdfir / sift

SIFT
MIT License
492 stars 65 forks source link

[devel] continuous integration #137

Closed juju4 closed 7 years ago

juju4 commented 7 years ago

In the end, got it but it seems execution is too long for the maximum allowed by travis (50min bet it with docker or with lxd) Errors left were: https://travis-ci.org/juju4/sift-saltstack/builds/202262518#L4943 (regripper) https://travis-ci.org/juju4/sift-saltstack/builds/202262518#L5508 (wine) not the right order it seems. (docker run) https://travis-ci.org/juju4/sift-saltstack/builds/202285669 = probably mean sift as a unique salt play is too big...

ekristen commented 7 years ago

Thanks @juju4 I'll take a look at what you put together. After seeing the initial stuff last week I went ahead and put tests on each individual salt state as it changes using Travis. You can see the current work now in https://github.com/sans-dfir/sift-saltstack

SaltStack has a retcode passthrough option that my scripts take advantage of.

As for the timelimit, I hit that as well, I altered my script to basically only test the state files that change in the PR or that push to the repository.