Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Knative Eventing Mtchannel_broker rock and tests #35

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Pepsiqqq
Copy link

Changes

Added rock for Knative Eventing Mtchannel_broker. See source

Files

  • Add rockcraft.yaml
  • Add tests
  • Add tox.ini

Testing

I uploaded rock to local microk8s. Then I activated it through config.yaml in knative-eventing charm from here and then run integration tests.

Status of juju status after testing

Model     Controller          Cloud/Region        Version  SLA          Timestamp
kubeflow  microk8s-localhost  microk8s/localhost  3.6.3    unsupported  12:08:57+02:00

App                   Version  Status  Scale  Charm             Channel       Rev  Address         Exposed  Message
istio-ingressgateway           active      1  istio-gateway     latest/edge  1378  10.152.183.134  no       
istio-pilot                    active      1  istio-pilot       latest/edge  1321  10.152.183.72   no       
knative-eventing               active      1  knative-eventing                  0  10.152.183.161  no       
knative-operator               active      1  knative-operator                  0  10.152.183.168  no       
knative-serving                active      1  knative-serving                   0  10.152.183.114  no       

Unit                     Workload  Agent  Address       Ports  Message
istio-ingressgateway/0*  active    idle   10.1.224.113         
istio-pilot/0*           active    idle   10.1.224.88          
knative-eventing/0*      active    idle   10.1.224.105         
knative-operator/0*      active    idle   10.1.224.94          
knative-serving/0*       active    idle   10.1.224.124         

Integration provider     Requirer                          Interface          Type     Message
istio-pilot:istio-pilot  istio-ingressgateway:istio-pilot  k8s-service        regular  
istio-pilot:peers        istio-pilot:peers                 istio_pilot_peers  peer 

Below is images of the pod microk8s kubectl get pod *pod* --namespace knative-eventing -o jsonpath="{..image}"

docker.io/library/knative-eventing-mtchannel-broker:1.16.1 docker.io/library/knative-eventing-mtchannel-broker:1.16.1

Logs of passed integration tests tox -vve integration -- --model kubeflow --keep-models

============================================================================================= 7 passed in 1008.72s (0:16:48) ==============================================================================================
integration: 1011302 I exit 0 (1010.81 seconds) /home/pepsiqqq/Projects/knative-operators> pytest --show-capture=no --log-cli-level=INFO -vvs --tb=native --model kubeflow --keep-models tests/test_bundle.py pid=487748 [tox/execute/api.py:294]
  integration: OK (1010.92=setup[0.12]+cmd[1010.81] seconds)
  congratulations :) (1011.08 seconds)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant