Difference: SharedFactoryConf (2 vs. 3)

Revision 32016/05/04 - Main.JeffreyDost

Line: 1 to 1
 
META TOPICPARENT name="GlideinFactoryFAQ"

Shared Factory Config

Line: 48 to 48
  This allows factory operators to push changes to the repo without needing to forward their own credentials, or registering with the OSG github group.
Changed:
<
<
(more details to be written)
>
>
To set up a deploy key:
  1. For the desired factory user you plan to push to the repo with, run the following keygen command and just hit enter to set an empty passphrase:
    ssh-keygen -t rsa
    
  2. Send Jeff the newly generated id_rsa.pub to register with the repo in github
  In addition, in order to log commits with the correct identity, the git author name and email has to properly be propagated. The following environment variables can be set to do this:
Line: 71 to 75
 SendEnv? GIT_*
  1. In the machine you ssh from export GIT_AUTHOR_NAME and GIT_AUTHOR_EMAIL in your bash profile
Changed:
<
<
(more details to be written)
>
>
To retain env vars across sudo (b):
  1. Ensure GIT_AUTHOR_NAME and GIT_AUTHOR_EMAIL are exported in your bash profile, or forwarded via ssh as described above
  2. Use the -E flag when running sudo, e.g.:
    sudo -E /bin/bash
 

Notes on Deployment

 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback