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 Mtping rock and tests #34

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Pepsiqqq
Copy link

@Pepsiqqq Pepsiqqq commented Feb 28, 2025

Changes

Added rock for Knative Eventing Mtping. 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  11:05:10+02:00

App                   Version  Status  Scale  Charm             Channel       Rev  Address         Exposed  Message
istio-ingressgateway           active      1  istio-gateway     latest/edge  1378  10.152.183.229  no       
istio-pilot                    active      1  istio-pilot       latest/edge  1321  10.152.183.84   no       
knative-eventing               active      1  knative-eventing                  0  10.152.183.247  no       
knative-operator               active      1  knative-operator                  0  10.152.183.233  no       
knative-serving                active      1  knative-serving                   0  10.152.183.47   no       

Unit                     Workload  Agent  Address       Ports  Message
istio-ingressgateway/0*  active    idle   10.1.224.121         
istio-pilot/0*           active    idle   10.1.224.101         
knative-eventing/0*      active    idle   10.1.224.122         
knative-operator/0*      active    idle   10.1.224.100         
knative-serving/0*       active    idle   10.1.224.96          

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   

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

============================================================================================= 7 passed in 1021.41s (0:17:01) ==============================================================================================
integration: 1023982 I exit 0 (1023.34 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=243173 [tox/execute/api.py:294]
  integration: OK (1023.48=setup[0.14]+cmd[1023.34] seconds)
  congratulations :) (1023.68 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