Skip to content
Samuel Tauil edited this page Dec 18, 2017 · 3 revisions

GitLab

  1. Import the GitLab template with this command:

    oc create -f https://raw.githubusercontent.com/samueltauil/cloud-notes/master/gitlab-openshift-template.json
  2. Open Openshift webconsole and navigate to Add to Project → Browse Catalog → Continuous Integration & Deployment.

  3. Select gitlab-ce template.

  4. Add a root password for gitlab in the GitLab Root User Password.

  5. Click Create.

  6. Give the anyuid permission to the gitlab ServiceAccount:

oc adm policy add-scc-to-user anyuid -z gitlab-user

Clone this wiki locally