Skip to content

Commit

Permalink
Merge pull request #279 from austincunningham/add-cpaas-to-readme
Browse files Browse the repository at this point in the history
MGDAPI-3315 changes to Update_CRO_integreatly-operator.md doc
  • Loading branch information
austincunningham authored Jan 24, 2022
2 parents 56693e4 + 1309460 commit 717a88b
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 6 deletions.
31 changes: 25 additions & 6 deletions Update_CRO_integreatly-operator.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,20 @@ must contain "0.24.0,0.23.0" - where 0.23.0 is the initial bundle version for CR
- cloud-resources.v0.26.0
version: 0.27.0
```
- Once the package manifests are ready and merged to master run CRO release pipeline with default params. The pipeline will do the following:
a) Build and push new Cloud Resource Operator image with a tag that matches the VESION field.
b) Build and push new bundle and index based on the PREVIOUS_VERSION and VERSION fields
- Once the image, bundle and index are pushed, tag the CRO repo.
- Once the package manifests are ready and merged to master run CRO [release pipeline](https://master-jenkins-csb-intly.apps.ocp4.prod.psi.redhat.com/job/Delorean/job/release/job/cro/) with default params.
![release pipeline](img/pipeline.png?raw=true)
>**NOTE**: You have to be on the internal Red Hat network to access the pipeline
- The pipeline will do the following:
- a) Build and push new Cloud Resource Operator image with a tag that matches the VESION field.
- b) Build and push new bundle and index based on the PREVIOUS_VERSION and VERSION fields
- Once the image, bundle and index are pushed, [tag the CRO repo](https://github.com/integr8ly/cloud-resource-operator#releasing).
## Update the CSV in CRO manifest for the Integreatly-operator
To update Integreatly Operator to use the releases bundle of CRO, navigate to [installation file](https://github.com/integr8ly/integreatly-operator/blob/master/products/installation.yaml#L64)
To update Integreatly Operator to use the releases bundle of CRO, navigate to [products/installation.yaml file](https://github.com/integr8ly/integreatly-operator/blob/master/products/installation.yaml#L64)
for the Integreatly Operator and ensure that using the `index` format is selected.

Update the image of the index to point to the newly created index. For example:
Expand All @@ -39,11 +45,24 @@ Update the image of the index to point to the newly created index. For example:
index: "quay.io/integreatly/cloud-resource-operator:index-v0.25.0"
```

You need to change the [products/installation-cpaas.yaml file](https://github.com/integr8ly/integreatly-operator/blob/master/products/installation-cpaas.yaml#L80-L84)
for the Integreatly Operator and ensure that using the `index` format is selected.

Update the image of the index to point to the newly created index. For example:

```yaml
cloud-resources:
channel: "rhmi"
installFrom: "index"
package: "rhmi-cloud-resources"
index: "quay.io/integreatly/cloud-resource-operator:index-v0.25.0"
```

You need to change the [products.yaml](https://github.com/integr8ly/integreatly-operator/blob/master/products/products.yaml)
file to point at your new version
```yaml
- name: cloud-resource-operator
version: v0.26.0 # replace this with your latest version
version: v0.25.0 # replace this with your latest version
url: "https://github.com/integr8ly/cloud-resource-operator"
installType: "rhoam/rhmi"
manifestsDir: "integreatly-cloud-resources"
Expand Down
Binary file added img/pipeline.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 717a88b

Please sign in to comment.