From 41a59464b566591515d4f79f3d5c0cca377c07d2 Mon Sep 17 00:00:00 2001 From: David Kirwan Date: Wed, 21 Sep 2022 12:11:07 +0100 Subject: [PATCH] Communishift: sop for building/releasing CAO Signed-off-by: David Kirwan --- modules/ocp4/pages/sop_communishift.adoc | 3 ++- ...unishift_authorization_operator_build.adoc | 23 +++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 modules/ocp4/pages/sop_communishift_authorization_operator_build.adoc diff --git a/modules/ocp4/pages/sop_communishift.adoc b/modules/ocp4/pages/sop_communishift.adoc index 037d279..93a0a62 100644 --- a/modules/ocp4/pages/sop_communishift.adoc +++ b/modules/ocp4/pages/sop_communishift.adoc @@ -5,4 +5,5 @@ The following SOPs are related to the administration of the Communishift Cluster - [1] Cluster: https://console-openshift-console.apps.fedora.cj14.p1.openshiftapps.com - [2] Install the CommunishiftAuthorization operator xref:sop_communishift_authorization_operator.adoc - [3] Testing the CommunishiftAuthorization operator xref:sop_communishift_authorization_operator_testing.adoc -- [4] Onboarding a Communishift tenant xref:sop_communishift_onboard_tenant.adoc +- [4] Building/releasing the CommunishiftAuthorization operator xref:sop_communishift_authorization_operator_build.adoc +- [5] Onboarding a Communishift tenant xref:sop_communishift_onboard_tenant.adoc diff --git a/modules/ocp4/pages/sop_communishift_authorization_operator_build.adoc b/modules/ocp4/pages/sop_communishift_authorization_operator_build.adoc new file mode 100644 index 0000000..51e41fb --- /dev/null +++ b/modules/ocp4/pages/sop_communishift_authorization_operator_build.adoc @@ -0,0 +1,23 @@ += Build/release the CommunishiftAuthorization Operator + +== Resources +- [1] Code: https://pagure.io/cpe/communishift/blob/main/f/CommunishiftAuthorization +- [2] Quay: https://quay.io/repository/fedora/communishift-authorization-operator + +== Installation +To build the operator and tag it with version `v0.0.30` as an example: + +- First ensure that you are logged into quay.io and have access to the repository at [2]. +- Check out the code at [1], and change directory into the `CommunishiftAuthorization` directory. +- Update the version mentioned in the Deployment for the operator at `config/manager/manager.yml` + +---- +podman build -t quay.io/fedora/communishift-authorization-operator:v0.0.30 . +---- + +Push the operator to the quay.io catalog then with the following: + +---- +podman push quay.io/fedora/communishift-authorization-operator:v0.0.30 +---- +