Repository navigation
Update docker integration tests to use golem - #1583
Conversation
9fbd701 to
3449065
Compare
Current coverage is
|
| fmt: | ||
| @echo "+ $@" | ||
| @test -z "$$(gofmt -s -l . 2>&1 | grep -v ^vendor/ | tee /dev/stderr)" || \ | ||
| @test -z "$$(gofmt -s -l . 2>&1 | grep -v ^vendor/ | grep -v /vendor/ | tee /dev/stderr)" || \ |
There was a problem hiding this comment.
isn't it contrib you want here?
There was a problem hiding this comment.
I was originally thinking that, but there is no reason we cannot enforce go files in contrib, we just want to ignore anything that has "/vendor/" in its path, I could try and include that into a single regexp, not sure if it would look like something like grep -v "(^|/)vendor/"
|
Is the idea that the distribution-specific tests and fixtures will move out of the golem repository into distribution? Makes sense, but if that's not the plan, I would prefer that CI check out golem to get these files so they are not duplicated. |
|
I guess my main feedback (from a very quick look :)) is: do we have to "vendor" all that? Or can we rely on a prebuilt malevolent image instead of having all the code here? |
|
I was just looking at the vendoring. We should at least remove |
|
@aaronlehmann I guess we are poking the same issue here :) |
|
No need to revendor logrus either. |
|
I am not opposed to splitting out malevolent, my feeling though when I originally wrote it is that it was highly specific to the tests. I agree it does bring in a lot of "cruft" by having another vendor directory, but I am not convinced that should not be allowed. |
3449065 to
9f7f84a
Compare
|
Can we remove |
|
@aaronlehmann yes we can remove it. These are only used for the v1 tests which don't need to be part of the distribution tests, it will also decrease startup time so it was already on the chopping block. |
Use registry example from golem repository. Use the golem test runner for the docker integration environment Signed-off-by: Derek McGowan <[email protected]> (github: dmcgowan)
Signed-off-by: Derek McGowan <[email protected]> (github: dmcgowan)
9f7f84a to
2ea61dc
Compare
|
Removed v1 tests (we can re-add something similar in the future if we have useful test cases). No more binaries. |
|
LGTM |
|
Could you add a HOWTO or some documentation explaining golem in the |
|
@RichardScothern I will in a follow up PR, you have my word |
|
You have my blessing, child 🙏 |
Use registry example from golem repository.
Use the golem test runner for the docker integration environment