CreatingAccounts GettingAccess-Week0
CreatingAccounts GettingAccess-Week0
3) Register to Github5
a. To register to github5, login to https://ctgbuild.cisco.com/cerebro7/#! and raise a ticket
b. Click on CTGBuild Ticket System >> Create a new Ticket
c. Select Product Type and click Next
d. Select ‘Action Request’ and click Next
e. Select Request as ‘General Request’ and fill in Brief Subject and Comment line. (Refer
Ticket #113819)
f. If still not able to access github, raise a ticket here
-https://engit.cisco.com/ci/#/request/question , else go to step 4
g. Select Service Offering as ‘Github’ and Category as ‘New User Access’. Fill the remaining
details and submit
4) Access to Repository
a. To gain access to repository, get yourself added to respective teams by raising another
ticket here - https://ctgbuild.cisco.com/cerebro7/#!
b. Follow the same steps as done previously and give appropriate Subject and Comment.
(refer Ticket #113784)
6) Setting up Workspace
a. Upload .bash_profile, .bashrc, .gitconfig under /users/<username>. And update
username details in all files.
These files are present in this location : \\bgl11-netapp-ns\local\evvbu\evvbu\
CUCM_Training\New_Joinee_Induction\Week_0\Files.zip
b. Generate a SSH key and copy it to git
i. To do this, run ‘ssh-keygen’ in Command Prompt
ii. Confirm the default path .ssh/id_rsa
iii. Leave the PassPhrase blank
iv. Open id_rsa.pub (vi .ssh/id_rsa.pub) and copy the entire key
v. Go to https://github5.cisco.com/orgs/CUCM/ >> Profile (on right top
corner) >> Settings >> SSH and GPG keys >> New SSH key
vi. Give the Title as SSH and paste the SSH key below
c. Download and launch MobaXterm
i. Download MobaXterm from here - https://mobaxterm.mobatek.net/download-
home-edition.html
ii. Launch MobaXterm and click on Sessions in top left corner
iii. Click on SSH, enter Remote host as ‘bgl-citg62’ and specify your
username
d. Update .gitconfig file
i. Make sure you are in /users/<username> directory
ii. Run ‘vi .gitconfig’
iii. Update fields for email, mail, name and username
e. Update .bash_profile
i. Make sure you are in /users/<username> directory
ii. Run export USERSCRIPTS_DIR=/auto/ipcbu-builds/Published/UserScripts_git/
iii. Run export PATH=$USERSCRIPTS_DIR:$PATH
iv. Open .bash_profile (vi .bash_profile) and make sure the path is
updated to /auto/ipcbu-builds/Published/UserScripts_git/
g. Create Workspace
i. Run ‘createworkspace ccm -b cc_mainline -t 15mainline -v /ws/ameeahme-bgl’
after replacing highlighted part with your username (This will take some time)
ii. If you get Permission Denied, run ‘vi .ssh/id_rsa.pub’ and paste ssh in github
again after deleting the existing ssh, else goto step iii
iii. You will notice process stuck at updating files, press enter and type your
password
iv. Wait for successful creation and you are done 😊