-
Notifications
You must be signed in to change notification settings - Fork 441
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
docker: add the architecture #1994
Conversation
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 good!
docker/bin/snapcraft-wrapper
Outdated
@@ -1,3 +1,7 @@ | |||
#!/bin/sh | |||
export SNAP_VERSION="$(awk '/^version:/{print $2}' '/snap/snapcraft/current/meta/snap.yaml')" | |||
export SNAP=/snap/snapcraft/current | |||
export SNAP_NAME=export SNAP_VERSION="$(awk '/^name:/{print $2}' $SNAP/meta/snap.yaml)" |
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.
Too many exports, here.
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.
good catch
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 good now, thanks. Tests don't look so hot, though. Your adding of the armhf line may have thrown the other patch lines off.
Setup the correct SNAP_ARCH for our docker images. Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
(still +1 by the way) |
Setup the correct SNAP_ARCH for our docker images, also blow up in a more
obvious way if it is missing.
Signed-off-by: Sergio Schvezov sergio.schvezov@canonical.com
./runtests.sh static
?./runtests.sh unit
?