Just running the standard "make" command off of a forked tkl-apps repository (magento)

Getting this error.


[FATAL] GITHUB_USER not set!
+ RELEASES=
/usr/share/fab/product.mk:535: recipe for target 'build/stamps/root.patched' failed
make: *** [build/stamps/root.patched] Error 1
++ gh_releases magento/magento2
Usage: gh_releases.sh <user>/<repo>
Note: requires GITHUB_USER and GITHUB_USER_TOKEN
      environment variables to be set.
For debugging, set DEBUG=y.

[FATAL] GITHUB_USER not set!
 

I can probably do a ./bt-iso without the Make process before and just pull from a Repo, but it would be good to go through the full process it seems to me.

Thoughts?

thank you for your help Jeremy and team.

Replies (5)

I'll put this to the my TKLDEV Magento folder directly

Reply 1

I thought I could do it globaly for my whole TKLDev installation, but I will apply my git global profile to the Magento folder and try again.

 

Didn't work

Reply 2

Got this at break point:


fab-chroot build/root.patched --script conf.d/main
++ gh_releases magento/magento2
Usage: gh_releases.sh <user>/<repo>
Note: requires GITHUB_USER and GITHUB_USER_TOKEN
      environment variables to be set.
For debugging, set DEBUG=y.
 

I just set up a key, but that seems different (slightly) than a password token.  I'll work on that.

Almost seemed to work by killing the local directory

Reply 3

I couldn't specify the whole version-stretch-amd64 name

but

.bt-iso magento seems to be working.  
... but nope.

Now it is the Magento/Magento 2 credentials.  I will see if I can register there.


Fetching releases from github for "magento/magento2"...
[FATAL] Bad GitHub credentials
+ RELEASES=
/usr/share/fab/product.mk:535: recipe for target 'build/stamps/root.patched' failed
make: *** [build/stamps/root.patched] Error 1
FATAL [bt-iso]: build failed...
 

 

Magento Access Keys

Reply 4

Should be a way to veil the keys but I need to see how.

This is a placeholder for now.

https://devdocs.magento.com/guides/v2.3/install-gde/prereq/connect-auth.html

Might be good to put a "input" call in the Make Scripts that prompt for

MAGEID:TOKEN  in the Curl command.

Something like (yes it would need the correct syntax):

(Set MageID:setmageid)  (set MageTOKEN:setmagetoken) 

The person running TKLDEV would set that as part of their process.

Just downloaded mirror ISO to /mnt/isos

Reply 5

I think this is working directly from Mirror ISO.
Slow process on this one.  I'll check when I get home.  Not very verbose.

Dir in another session shows it complete, but I think my session did go to sleep.

All good.