Add instructions for macOS. #70
No reviewers
Labels
No Label
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
Copied from Github
Kind/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cerc-io/hosting#70
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "telackey/osx"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Add instructions for deploying an action runner on macOS. Also fix a small script bug on macOS that prevents deployment with SO.
@ -10,2 +10,3 @@
secure_password() {
cat /dev/urandom | tr -dc A-Za-z0-9~_- | head -c 10 && echo
# extra bytes so that even if we delete some chars we will still have plenty
openssl rand -base64 32 | tr -d '\/+=' | head -c 10 && echo
Should also change the comment in line 9 since it no longer pertains?
(but probably this change should be in a separate PR?)
Done
Was the change necessary because macos doesn't have
/dev/urandom
?No, it has /dev/urandom, but
tr
is not able to consume it without explicitly settingLC_CTYPE=C
, otherwise it complains about invalid input. Once you get past that hurdle, the options do not behave the same way, and '-dc' ends up selecting the complement of the set rather than deleting it, so you end up with only unprintable characters.Might be worthwhile adding a comment saying openssl used because it's available and works on both macos and Linux?
Added