Replies: 2 comments 2 replies
-
I came up with an approach. Here's an example Makefile. It took a while to get working. Unfortunately I haven't found a way to pass the authorization token string as an arg, do-fetch.sh is causing some weird escaping to happen. So, the technique here is to read the auth token as a var, write it to a temp file, and then have curl read it in. |
Beta Was this translation helpful? Give feedback.
2 replies
-
It's been suggested to define
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I use Poudriere to build both open-source and closed-source ports from a unified fork of the freebsd-ports repo. The closed-source ports are all stored in private Github repos and their distfiles are distributed as tags. But Poudriere builds run as user
nobody
, and that user doesn't have an SSH key that Github will allow.My hacky workaround is a shell script that cd's to each private port's directory and does
make fetch
for each, running as an allowed user, before invokingpoudriere bulk
. This works, but it's hacky and kind of slow. Is there a better way to supply Poudriere with the SSH key it needs to fetch from private GH repos?Beta Was this translation helpful? Give feedback.
All reactions