Give it a private key from a public/private key pair that has access to your gitolite. Once created, click "Set Credential" on the rightĬlick "Add New Credential". Go to the URIs list again and click Add New URI on the right side of the page, click edit, then set it to Observe and Visible. Give the repository a name and a callsign with onlyalphanumeric characters (just the name in all caps works).Ĭlick on each URI that's already there, click edit, and set it to no I/O and hidden. # where is a release version from dev/phabricator/restart.shĬreate a repository andselect git as the vcs cd sourcegraph/infrastructure/kubernetes/toolingįor this using Bitnami. Setup KubernetesĬreate the phabricator pods by navigating to the infrastructure repository and applying the Phabricatorconfig. If staging areas aren't enabled, Sourcegraph takes the patchset fromthe diff and attempts to apply them to therepository. If thisis the case, Sourcegraph simply takes changes from the staging area,which is itself a git repository. Ideally, staging areas (cmd+f for "stagingarea")Īre enabled for each repository and accessible by Sourcegraph. Because of this, Sourcegraphmust get the changes a user is viewing from somewhere else. This means that it doesn't have to uploadchanges to the git remote of a repository. my-new-feature) as is thecase with pull requests. Phabricator's codereviews are of patches from a changeset rather than a diff between atarget (e.g. Phabricator is primarily used as a code review tool. Once your changes in gitolite-admin are done, commit and pushto the remote. RW+ = create a new repository, add a new entry in this file andgitolite will provision a new repository once you push theupdate to the remote. If you'd like to create a new private/public key pair forPhabricator, add the public key to gitolite-admin/keydir andmodify gitolite-admin/conf/nf to look the following repo gitolite-admin You simply clone it, commit configuration changesand push back to the remote and gitolite will apply any changesyou made. Managing your gitolite instance is done via the gitolite-admin docker run -p 22:22 -e SSH_KEY = " $(cat ~/.ssh/id_rsa.pub ) " elsdoerfer/gitolite I suggest just using because it can messygetting your gitolite docker container to talk to yourPhabricator docker container. cd sourcegraph/infrastructure/kubernetes/toolingĪlternatively, you can run gitolite via dockerlocally. Spin up in the tooling cluster if it does not yet exist.Ĭreate the gitolite pods by navigating to the infrastructure repository and applying the Gitolite config.You can't use it with IPv6 addresses or to configure HTTPS certificates for NGINX web servers.Configuring a test instance of Phabricator and Gitolite Gitolite Setup Kubernetes
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |