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

Fix e2e test by disabling eventing #967

Merged
merged 1 commit into from
Dec 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/create-ocp-project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ jobs:
- name: Deploy sonataflow-operator
run: |
helm repo add orchestrator https://parodos-dev.github.io/orchestrator-helm-chart
helm install orchestrator orchestrator/orchestrator-k8s
helm install orchestrator orchestrator/orchestrator-k8s --set platform.eventing.broker.name=""


kubectl get sfp -A
kubectl wait --for=condition=Ready=true pods -l "app.kubernetes.io/name=backstage" --timeout=10m
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/extendable-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ jobs:
- name: Deploy sonataflow-operator
run: |
helm repo add orchestrator https://parodos-dev.github.io/orchestrator-helm-chart
helm install orchestrator orchestrator/orchestrator-k8s
helm install orchestrator orchestrator/orchestrator-k8s --set platform.eventing.broker.name=""


kubectl get sfp -A
kubectl wait --for=condition=Ready=true pods -l "app.kubernetes.io/name=backstage" --timeout=10m
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/greeting.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ jobs:
- name: Deploy sonataflow-operator
run: |
helm repo add orchestrator https://parodos-dev.github.io/orchestrator-helm-chart
helm install orchestrator orchestrator/orchestrator-k8s
helm install orchestrator orchestrator/orchestrator-k8s --set platform.eventing.broker.name=""


kubectl get sfp -A
kubectl wait --for=condition=Ready=true pods -l "app.kubernetes.io/name=backstage" --timeout=10m
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/modify-vm-resources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ jobs:
- name: Deploy sonataflow-operator
run: |
helm repo add orchestrator https://parodos-dev.github.io/orchestrator-helm-chart
helm install orchestrator orchestrator/orchestrator-k8s
helm install orchestrator orchestrator/orchestrator-k8s --set platform.eventing.broker.name=""


kubectl get sfp -A
kubectl wait --for=condition=Ready=true pods -l "app.kubernetes.io/name=backstage" --timeout=10m
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/move2kube-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ jobs:
- name: Deploy sonataflow-operator
run: |
helm repo add orchestrator https://parodos-dev.github.io/orchestrator-helm-chart
helm install orchestrator orchestrator/orchestrator-k8s
helm install orchestrator orchestrator/orchestrator-k8s --set platform.eventing.broker.name=""


kubectl get sfp -A
kubectl wait --for=condition=Ready=true pods -l "app.kubernetes.io/name=backstage" --timeout=10m
Expand Down Expand Up @@ -64,7 +65,7 @@ jobs:
}
)" charts/move2kube/templates/0?-sonataflow_m2k.yaml

K8S_INSTALL=1 PRIV_ID_RSA_PATH=id_rsa PUB_ID_RSA_PATH=id_rsa.pub M2K_HELM_REPO=charts/move2kube/ TARGET_NS=default ./docs/main/move2kube/install_m2k.sh
K8S_INSTALL=1 M2K_HELM_REPO=charts/move2kube/. PRIV_ID_RSA_PATH=id_rsa PUB_ID_RSA_PATH=id_rsa.pub M2K_HELM_REPO=charts/move2kube/ TARGET_NS=default ./docs/main/move2kube/install_m2k.sh

- name: Run e2e script
run: |
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/mta-v7.x-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ jobs:
- name: Deploy sonataflow-operator
run: |
helm repo add orchestrator https://parodos-dev.github.io/orchestrator-helm-chart
helm install orchestrator orchestrator/orchestrator-k8s
helm install orchestrator orchestrator/orchestrator-k8s --set platform.eventing.broker.name=""


kubectl get sfp -A
kubectl wait --for=condition=Ready=true pods -l "app.kubernetes.io/name=backstage" --timeout=10m
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/mtv-migration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ jobs:
- name: Deploy sonataflow-operator
run: |
helm repo add orchestrator https://parodos-dev.github.io/orchestrator-helm-chart
helm install orchestrator orchestrator/orchestrator-k8s
helm install orchestrator orchestrator/orchestrator-k8s --set platform.eventing.broker.name=""


kubectl get sfp -A
kubectl wait --for=condition=Ready=true pods -l "app.kubernetes.io/name=backstage" --timeout=10m
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/mtv-plan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ jobs:
- name: Deploy sonataflow-operator
run: |
helm repo add orchestrator https://parodos-dev.github.io/orchestrator-helm-chart
helm install orchestrator orchestrator/orchestrator-k8s
helm install orchestrator orchestrator/orchestrator-k8s --set platform.eventing.broker.name=""


kubectl get sfp -A
kubectl wait --for=condition=Ready=true pods -l "app.kubernetes.io/name=backstage" --timeout=10m
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/request-vm-cnv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ jobs:
- name: Deploy sonataflow-operator
run: |
helm repo add orchestrator https://parodos-dev.github.io/orchestrator-helm-chart
helm install orchestrator orchestrator/orchestrator-k8s
helm install orchestrator orchestrator/orchestrator-k8s --set platform.eventing.broker.name=""


kubectl get sfp -A
kubectl wait --for=condition=Ready=true pods -l "app.kubernetes.io/name=backstage" --timeout=10m
Expand Down
9 changes: 2 additions & 7 deletions docs/main/move2kube/install_m2k.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
#!/bin/bash
CLUSTER_CLIENT=$(which oc >/dev/null 2>&1 && echo oc || echo kubectl)

if [[ "${CLUSTER_CLIENT}" == "oc" ]]; then
echo "Deploying on OCP cluster"
else
echo "Deploying on k8s cluster"
fi
CLUSTER_CLIENT=oc

if [[ -z "${PRIV_ID_RSA_PATH}" ]]; then
echo 'PRIV_ID_RSA_PATH env variable must be set to the path of the private id_rsa file to use. I.e: ${HOME}/.ssh/id_rsa'
Expand All @@ -24,6 +18,7 @@ fi

if [[ ! -z "${K8S_INSTALL}" ]]; then
echo "Running on k8s, adapting the script"
CLUSTER_CLIENT=kubectl
fi

if [[ -z "${M2K_HELM_REPO}" ]]; then
Expand Down
Loading