#Set p4config export P4CONFIG=.p4config echo P4CONFIG=.p4config >> /etc/bash.bashrc #Install the package sudo echo "deb http://package.perforce.com/apt/ubuntu trusty release" >> /etc/apt/sources.list wget -qO - http://package.perforce.com/perforce.pubkey | sudo apt-key add - sudo aptitude update sudo aptitude -y install helix-git-connector sudo aptitude -y install helix-p4d sudo /opt/perforce/sbin/configure-helix-p4d.sh -n perforce1 -p ssl:192.168.2.72:1666 -r /opt/perforce/servers/perforce1 -u super -P REinforce --unicode #Create a workspace on the gconn machine echo REinforce > hws/passwd mkdir ws cd ws cp ../hws/p4_config ./.p4config p4 login < ../hws/passwd p4 client -i < ../hws/client #Configure gconn sudo /opt/perforce/git-connector/bin/configure-git-connector.sh -n --p4port ssl:192.168.2.72:1666 --super super --superpassword REinforce --graphdepot graph --gcuserp4password REinforce --https --gconnhost 192.168.2.72 --forcehttps --ssh --sshuser git --croninterval 5 --serverid gconn1 #Export the location of the gconn configuration file, necessary for enabling mirroring sudo su export GCONN_CONFIG=/opt/perforce/git-connector/gconn.conf echo GCONN_CONFIG=/opt/perforce/git-connector/gconn.conf >> /etc/bash.bashrc echo GCONN_CONFIG=/opt/perforce/git-connector/gconn.conf >> ~/.bashrc echo GCONN_CONFIG=/opt/perforce/git-connector/gconn.conf >> /home/vagrant/.bashrc #As we are using a self-signed cert for HTH, tell Git not to verify the certs git config --global http.sslverify false #setup the mirror hook. gconn --mirrorhooks add graph/repo1 http://admin:REinforce@192.168.2.71/hth/projects/testproj1/repositories/git/repo1 > secret
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#6 | 25880 | Jen Bottom | Integrating work on HTH setups from dev to main | ||
#5 | 25621 | Jen Bottom | Integrating sone fixes from dev to main | ||
#4 | 25132 | Jen Bottom | Copy up from dev to main | ||
#3 | 24615 | Jen Bottom | Cleaning up the combo directory | ||
#2 | 24457 | Jen Bottom | Copy up of changes to active_directory and HTH setups to main | ||
#1 | 24317 | Jen Bottom |
Making some changes to the .p4ignore file. Also adding some bash lines that setup the environment for HTH API (setup.sh). Have also moved separate_gconn to combo |
||
//guest/jen_bottom/vagrant/hth/separate_gconn/gconn.sh | |||||
#1 | 23695 | Jen Bottom | Adding some cluster configuration, and changing the location of the HTH setup with a separate Helix Core VM (combo) | ||
//guest/jen_bottom/vagrant/hth/gconn.sh | |||||
#6 | 23660 | Jen Bottom | Integrating from dev to main | ||
#5 | 23627 | Jen Bottom | Integrating gconn script fixes from dev to main | ||
#4 | 23550 | jenbottom | Adding different IP addresses for gconn and hth, so they won't conflict with other devices on network | ||
#3 | 23503 | Jen Bottom | Integrating some changes to HTH setup scripts from dev stream | ||
#2 | 23475 | Jen Bottom | Adding creation of self-signed SSL certs to the HTH provisioner script. | ||
#1 | 23051 | Jen Bottom | Adding work on the Vagrant Setup for HTH with one way mirroring |