OpenShift Gogs: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
(17 intermediate revisions by the same user not shown)
Line 3: Line 3:
* [[OpenShift Auxiliary Tools Operations#Operations|OpenShift Auxiliary Tools Operations]]
* [[OpenShift Auxiliary Tools Operations#Operations|OpenShift Auxiliary Tools Operations]]


=Installation=
=Subjects=


The installation assumes that a Postgres instance was deployed already following the procedure specified here [[OpenShift Postgres#Installation|OpenShift Postgresql Installation]] and it is functional.
* [[OpenShift Gogs Concepts|Concepts]]
 
* <span id='Installation'></span><span id='Uninstallation'></span>[[OpenShift Gogs Installation|Installation]]
The following command line should have been used:
* [[OpenShift Gogs Configuration| Configuration]]
 
 
 
* Use the template https://github.com/NovaOrdis/playground/blob/master/openshift/auxiliary-tools/gogs/gogs.yaml. It is based on https://github.com/OpenShiftDemos/openshift-cd-demo/blob/ocp-3.6/cicd-template.yaml
 
The template will create the OpenShift objects required by a Gogs repository and the Postgres dependency pod.
 
* Replace the conventional password value in the template with something safer:
 
...
parameters:
- description: Password for the Gogs user.
  displayName: Gogs Password
  value: <font color=DarkOrange>password</font>
  name: GOGS_PASSWORD
  required: true
...

Latest revision as of 00:22, 7 December 2017