Please note that the internal Git repository has been by default enabled in the EC2 setup.
Follow the steps mentioned below to enable the internal Git repository service in OpenStack:
Enable the following setting in the
SC/repository/conf/cartridge-config.properties
file.feature.internalrepo.enabled=true
Download Gitblit GO from http://gitblit.com/.
Unzip the Gitblit to the/
opt/GitBlit
folder.Please download internal_repo_service.zip file from the following location dist.wso2.org/downloads/stratos/2.0.0/ga/.
Unzip the file and copy the following files to the mentioned locations:Copy
wso2carbon.jks
into /opt/GitBlit folder.Copy
s2.gitblit.plugin-0.0.1-jar-with-dependencies.jar
into the/opt/GitBlit/ext
folder.
Configure the following in Gitblit:
Set the following in the
gitblit.properties
file that is found in/opt/GitBlit/data
folder:realm.userService=org.wso2.carbon.s2.gitblit.service.GitAuthService web.enableRpcMa nagement = true server.httpsPort = 8443 server.httpsBindInterface =
By default server.httpsBindInterface=<localhost>. We need to remove the <localhost> value and keep it empty so that thehttps
interface will consider all the interfaces and not only the localhost.
Enable the 8443 port in your security group.
It is assumed that GitBlit https is running on 8443.