Dockerfile: update go-swagger to fix validation on Go1.16#42592
Dockerfile: update go-swagger to fix validation on Go1.16#42592AkihiroSuda merged 1 commit intomoby:masterfrom
Conversation
|
Relates to #42583 |
|
LOL... erm, so, 🤷♂️ |
|
Ah! sigh.. long live suppressing all output, I guess diff --git a/hack/validate/swagger-gen b/hack/validate/swagger-gen
index 0d000ea39b..f2bea7285e 100755
--- a/hack/validate/swagger-gen
+++ b/hack/validate/swagger-gen
@@ -8,7 +8,7 @@ files=($(validate_diff --diff-filter=ACMR --name-only -- 'api/types/' 'api/swagg
unset IFS
if [ -n "${TEST_FORCE_VALIDATE:-}" ] || [ ${#files[@]} -gt 0 ]; then
- "${SCRIPTDIR}"/../generate-swagger-api.sh 2> /dev/null
+ "${SCRIPTDIR}"/../generate-swagger-api.sh
# Let see if the working directory is clean
diffs="$(git diff -- api/types/)"
if [ "$diffs" ]; then |
57d5dd2 to
e9992b5
Compare
Signed-off-by: Sebastiaan van Stijn <[email protected]>
e9992b5 to
42d2048
Compare
^^ that's no longer true. Not editing the comment though, to prevent Jenkins form restarting the build (https://ci-next.docker.com/public/blue/organizations/jenkins/moby/detail/PR-42592/7/pipeline/333) |
tianon
left a comment
There was a problem hiding this comment.
LGTM (relevant stage in Jenkins appears to be passing)
|
@thaJeztah this seems to be solved right? |
|
The issue only affected the Dockerfile we used in our CI, and this PR fixed it yes |
|
Alright as my first contribution to Moby do you mind if I go through open issues that might have been solved and point you to them so you can close them. I noticed a couple of issues that might have been solved but they are still open, this would give first timers a lot of headaches. |
depends on kolyshkin/go-swagger#2
relates to #40353
temporarily using my fork to test this in CI