• Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • Camel-K, QE
    • None
    • % %

      ${OPERATOR_IMAGE} = see parent Jira

      HOWTO:
      1) get `kamel` binary:

      $ chmod a+w . && docker run -it -v `pwd`:/client ${OPERATOR_IMAGE} cp /usr/local/bin/kamel /client/
      

      2) add `kamel` binary to your PATH
      3) set your kamel config:

      $ cat ~/.kamel/kamel-config.yaml
      $ kamel:
        install:
          olm: false #workaround ENTESB-12968
          maven-repositories: 'http://nexus.fuse-qe.eng.rdu2.redhat.com/repository/fuse7-all/'
          base-image: 'BASE_IMAGE' # <-- see parent JIRA
          operator-image: 'OPERATOR_IMAGE'  # <-- see parent JIRA
      

      4) oc login
      5) make sure that kamel install uses your kamel-config.yaml file and installs PROD version of camel-k

      $ oc new-project test
      $ kamel install
      $ oc get deployment camel-k-operator -o yaml | grep image
              image: ${OPERATOR_IMAGE}
              imagePullPolicy: IfNotPresent
      $ oc delete project test
      

      Manual testing:
      Go through all Didact steps in implemented quickstarts in https://github.com/openshift-integration/camel-k-example-api.

      YAKS:
      Execute YAKS tests on PROD build.

      1) download latest YAKS and extract yaks cli https://github.com/citrusframework/yaks/releases/
      2) ./yaks install
      3) execute all BDD tests

      ./yaks test /test/xxxxxxxx.feature
      

              jbouska@redhat.com Jan Bouska
              jbouska@redhat.com Jan Bouska
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: