-
Notifications
You must be signed in to change notification settings - Fork 92
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
Allow overriding OS_TYPE and ARCH. This will allow signing locally on e.g. mac #595
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.
Makes sense.
Codecov Report
@@ Coverage Diff @@
## develop #595 +/- ##
========================================
Coverage 47.55% 47.55%
========================================
Files 25 25
Lines 3863 3863
========================================
Hits 1837 1837
Misses 1745 1745
Partials 281 281 Continue to review full report at Codecov.
|
Since this is for signing, would this change only affect our team? Also, would we get a help message or some doc so we know we can pass in these new variables as described in the test plan |
Correct, this is internal only. I am updating the release doc right now. |
Summary
To execute
make sign
you need to be able to issue the signing command. There is a script for this, but it presumes that the architecture you're signing for is the same as what you're running.This is problematic if you are on mac, as OS_TYPE will register as darwin. To override this, we allow you to override OS_TYPE, e.g. set it to linux. We will also allow overriding ARCH, since this may be set to arm64 on newer macs.
Test Plan
Verify signing works with these new changes, e.g.:
ARCH=amd64 OS_TYPE=linux make sign