-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GitHub Actions e2e tests #3320
GitHub Actions e2e tests #3320
Conversation
1540ef7
to
f36c075
Compare
Codecov Report
@@ Coverage Diff @@
## master #3320 +/- ##
=======================================
Coverage 58.02% 58.02%
=======================================
Files 302 302
Lines 21761 21761
=======================================
Hits 12626 12626
Misses 8214 8214
Partials 921 921 |
b7135b4
to
cb6ba55
Compare
There seems to be some issues with the tests while using the
Will try a replay to see if it's something on the GitHub Runner. Otherwise will revert to use Edit: Revert to |
96f76f8
to
ea7ff41
Compare
Not related to these changes but |
d989020
to
f4f9644
Compare
77afbca
to
cd1fd87
Compare
baf747a
to
381a047
Compare
RUN curl -fsSL https://github.com/docker/compose/releases/download/${COMPOSE_VERSION}/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose && \ | ||
chmod +x /usr/local/bin/docker-compose |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a pity we need the uname -m
here, but we can probably get rid of that if (in a follow-up) we switch to compose v2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep looking forward for that :)
TARGET="${TARGET}.exe" | ||
TARGET="${TARGET}.exe" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like #2993 messed up formatting of out scripts and changed tabs to spaces for indentation 😞
We should probably fix that again (perhaps add a shfmt
check somewhere https://github.com/moby/moby/blob/d9e3d383f56119b0ba64ed63c6d5a265fbf35f7d/Dockerfile#L204-L209
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah yes indeed, we should add shfmt in a follow-up, good idea.
6e7d368
to
93d4540
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
left one minor nit (but let me know if you prefer doing in a follow-up)
06f6a2d
to
2e59cdb
Compare
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
@thaJeztah Was trying to solve issues with the
Seems to occur in https://github.com/moby/moby/blob/459d0dfbbb51fb2423a43655e6c62368ec0f36c9/plugin/fetch_linux.go#L206. Any idea @cpuguy83? Linked test Line 34 in a32cd16
|
Reading from my phone, but I recall the "unknown type" error from moby/moby#42889 (haven't found the time to look into that one). Looks like we also need to add the local registry as "insecure registry" (?) |
Follow-up #3234
Switch To GitHub Actions for e2e tests:
binary
andplugins
scriptsGO_STRIP
varplugins-windows
andplugins-osx
merged to plugins scriptalpine
andbuster
base variantsAlso use20.10-dind
instead ofstable-dind
because it has not been updated for 10 months (19.03.15).Signed-off-by: CrazyMax crazy-max@users.noreply.github.com