Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-1146

Add an automated test of upgrade using a trusted SSL certificate

XMLWordPrintable

      This may already exist, but if not we definitely need a concise process documented and scripted for performing automated install-and-upgrade tests of CRW 2.y to 2.y+1

      One suggested path forward here is to use a Subscription to the nightly CRW application in Quay, but point to an older release, eg.,

      install old release in nightly application (2.2.0.GA), then update to latest (2.3.0.CI)
      apiVersion: operators.coreos.com/v1alpha1
      kind: Subscription
      metadata:
        name: codeready-workspaces
        namespace: crw
      spec:
        channel: latest
        installPlanApproval: Automatic
        name: codeready-workspaces
        source: crw
        sourceNamespace: openshift-marketplace
        startingCSV: crwoperator.v2.2.0

      For testing updates from one RELEASED GA version to another:

      install old release in GA application (2.1.0.GA), then update to latest (2.2.0.GA)
      apiVersion: operators.coreos.com/v1alpha1
      kind: Subscription
      metadata:
        name: codeready-workspaces
        namespace: crw
      spec:
        channel: latest
        installPlanApproval: Automatic
        name: codeready-workspaces
        source: redhat-operators
        sourceNamespace: openshift-marketplace
        startingCSV: crwoperator.v2.1.0

      then

       oc apply -f subscription.yaml

      Additional notes:

      Here are the application registries in Quay to use in your Subscriptions. Note that the VERSIONS to not align to anything in reality, so 9.0.0 = 2.2.0, and 9.9.* = CI/nightly

              dnochevn Dmytro Nochevnov
              nickboldt Nick Boldt
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: