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
easy script for self building #74
Conversation
Thanks @elichai ! This would be an awesome addition when we begin our CI efforts! |
I can write a Travis script just to test building in Android if it helps :) |
@@ -0,0 +1,38 @@ | |||
FROM ubuntu:18.04 |
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.
why not use alpine
and apk
?
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.
yeah, this was prototyping to allow myself to compile the apk so I won't need to install from the google play and I could skip one trust hop.
I didn't put too much effort into improving this afterwards because I wasn't sure if you guys are even interested. if you are I can do that :)
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.
not part of the team 🙌 so I can't really approve in their name.
Just wanted to start contributing by helping with open PRs
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.
regardless, alpine is 10 times lighter than ubuntu which is pretty optimal for creating containers
IMAGE_TAG_FILE="image.tag" | ||
ALIAS="magen" | ||
|
||
GUES_PATH=/magen/hamagen-react-native |
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.
what does GUES
stand for?
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.
typo from GUEST :)
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.
Notify me once you push and I'll resolve
40e095f
to
880c5c4
Compare
Codecov Report
@@ Coverage Diff @@
## master #74 +/- ##
======================================
Coverage 8.69% 8.69%
======================================
Files 57 57
Lines 1887 1887
Branches 376 376
======================================
Hits 164 164
Misses 1576 1576
Partials 147 147 Continue to review full report at Codecov.
|
This script has many problems:
I think it should be closed, as there is issue #243 to cover for it. |
Yep, a lot has changed since this script was written. |
Hi,
It's probably not a priority for you, but still an issue for security conscious people is that I want to know that the code in google-play is the same as in the code I've reviewed.
The ideal solution would be reproducible deterministic builds, and a way to easily compare the hashes.
But for now self compiling is also a great option. so this scripts abstract out all the weird complexities android sdk has and all the environment variables.
and it also provides a persistent self generated keystore.