oracle-cne / ocne

The Oracle Cloud Native Environment CLI
Universal Permissive License v1.0
1 stars 0 forks source link

Add catalog option to ocne application update (2) #13

Closed mgianatagh closed 1 month ago

mgianatagh commented 1 month ago

Added option to ocne application update to specify which catalog to use.

Test case to verify change worked:

ocne cluster start -u false
ocne catalog add --uri https://oracle.github.io/weblogic-kubernetes-operator --name "WebLogic Kubernetes Operator"
ocne application install -c "WebLogic Kubernetes Operator" --release weblogic-operator --namespace weblogic-operator --name weblogic-operator --version 4.2.3
ocne application update --release weblogic-operator --namespace weblogic-operator --version 4.2.7 --catalog "WebLogic Kubernetes Operator"

I also verified the application tests passed:

make integration-test TEST_PATTERN=default TEST_FILTERS="--filter-tags APPLICATION"