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

chore: Rename modulectl usage in e2e #1998

Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ runs:
shell: bash
run: |
make build-manifests
module create --module-config-file ./module-config.yaml --registry http://localhost:5111 --insecure
modulectl create --module-config-file ./module-config.yaml --registry http://localhost:5111 --insecure
sed -i 's/localhost:5111/k3d-kcp-registry.localhost:5000/g' ./template.yaml
sed -i 's/template-operator-regular/template-operator-1.0.1/g' ./template.yaml
kubectl get crds
Expand Down Expand Up @@ -112,7 +112,7 @@ runs:
kustomize edit add patch --path warning_patch.yaml --kind Deployment
popd
make build-manifests
module create --module-config-file ./module-config.yaml --registry http://localhost:5111 --insecure
modulectl create --module-config-file ./module-config.yaml --registry http://localhost:5111 --insecure
sed -i 's/localhost:5111/k3d-kcp-registry.localhost:5000/g' ./template.yaml
sed -i 's/template-operator-regular/template-operator-1.0.1/g' ./template.yaml
kubectl get crds
Expand All @@ -135,7 +135,7 @@ runs:
kustomize edit add patch --path warning_patch.yaml --kind StatefulSet
popd
make build-statefulset-manifests
module create --module-config-file ./module-config.yaml --registry http://localhost:5111 --insecure
modulectl create --module-config-file ./module-config.yaml --registry http://localhost:5111 --insecure
sed -i 's/localhost:5111/k3d-kcp-registry.localhost:5000/g' ./template.yaml
sed -i 's/template-operator-regular/template-operator-1.0.1/g' ./template.yaml
kubectl get crds
Expand Down Expand Up @@ -184,7 +184,7 @@ runs:
kustomize edit add patch --path image_patch.yaml --kind Deployment
popd
make build-manifests
module create --module-config-file ./misconfigured-module-config.yaml --registry http://localhost:5111 --insecure
modulectl create --module-config-file ./misconfigured-module-config.yaml --registry http://localhost:5111 --insecure
sed -i 's/localhost:5111/k3d-kcp-registry.localhost:5000/g' ./template.yaml
sed -i 's/template-operator-misconfigured-regular/template-operator-misconfigured-1.1.1/g' ./template.yaml
kubectl get crds
Expand All @@ -203,7 +203,7 @@ runs:
kustomize edit add patch --path image_patch.yaml --kind StatefulSet
popd
make build-statefulset-manifests
module create --module-config-file ./misconfigured-module-config.yaml --registry http://localhost:5111 --insecure
modulectl create --module-config-file ./misconfigured-module-config.yaml --registry http://localhost:5111 --insecure
sed -i 's/localhost:5111/k3d-kcp-registry.localhost:5000/g' ./template.yaml
sed -i 's/template-operator-misconfigured-regular/template-operator-misconfigured-1.1.1/g' ./template.yaml
kubectl get crds
Expand All @@ -222,7 +222,7 @@ runs:
security: sec-scanners-config.yaml
annotations:
operator.kyma-project.io/doc-url: https://kyma-project.io" >> module-config-no-cr.yaml
module create --module-config-file ./module-config-no-cr.yaml --registry http://localhost:5111 --insecure
modulectl create --module-config-file ./module-config-no-cr.yaml --registry http://localhost:5111 --insecure
sed -i 's/localhost:5111/k3d-kcp-registry.localhost:5000/g' ./template.yaml
sed -i 's/template-operator-regular/template-operator-1.0.0/g' ./template.yaml
kubectl get crds
Expand Down Expand Up @@ -270,12 +270,7 @@ runs:
shell: bash
run: |
make build-manifests
module create --module-config-file ./module-config.yaml --registry http://localhost:5111 --insecure
modulectl create --module-config-file ./module-config.yaml --registry http://localhost:5111 --insecure
sed -i 's/localhost:5111/k3d-kcp-registry.localhost:5000/g' ./template.yaml
kubectl apply -f template.yaml
kubectl apply -f module-release-meta.yaml





12 changes: 6 additions & 6 deletions .github/actions/deploy-template-operator/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ runs:
shell: bash
run: |
make build-manifests
module create --module-config-file ./module-config.yaml --registry http://localhost:5111 --insecure
modulectl create --module-config-file ./module-config.yaml --registry http://localhost:5111 --insecure
sed -i 's/localhost:5111/k3d-kcp-registry.localhost:5000/g' ./template.yaml
kubectl get crds
kubectl apply -f template.yaml
Expand Down Expand Up @@ -72,7 +72,7 @@ runs:
kustomize edit add patch --path warning_patch.yaml --kind Deployment
popd
make build-manifests
module create --module-config-file ./module-config.yaml --registry http://localhost:5111 --insecure
modulectl create --module-config-file ./module-config.yaml --registry http://localhost:5111 --insecure
sed -i 's/localhost:5111/k3d-kcp-registry.localhost:5000/g' ./template.yaml
kubectl get crds
kubectl apply -f template.yaml
Expand All @@ -93,7 +93,7 @@ runs:
kustomize edit add patch --path warning_patch.yaml --kind StatefulSet
popd
make build-statefulset-manifests
module create --module-config-file ./module-config.yaml --registry http://localhost:5111 --insecure
modulectl create --module-config-file ./module-config.yaml --registry http://localhost:5111 --insecure
sed -i 's/localhost:5111/k3d-kcp-registry.localhost:5000/g' ./template.yaml
kubectl get crds
kubectl apply -f template.yaml
Expand Down Expand Up @@ -125,7 +125,7 @@ runs:
kustomize edit add patch --path image_patch.yaml --kind Deployment
popd
make build-manifests
module create --module-config-file ./misconfigured-module-config.yaml --registry http://localhost:5111 --insecure
modulectl create --module-config-file ./misconfigured-module-config.yaml --registry http://localhost:5111 --insecure
sed -i 's/localhost:5111/k3d-kcp-registry.localhost:5000/g' ./template.yaml
kubectl get crds
kubectl apply -f template.yaml
Expand All @@ -143,7 +143,7 @@ runs:
kustomize edit add patch --path image_patch.yaml --kind StatefulSet
popd
make build-statefulset-manifests
module create --module-config-file ./misconfigured-module-config.yaml --registry http://localhost:5111 --insecure
modulectl create --module-config-file ./misconfigured-module-config.yaml --registry http://localhost:5111 --insecure
sed -i 's/localhost:5111/k3d-kcp-registry.localhost:5000/g' ./template.yaml
kubectl get crds
kubectl apply -f template.yaml
Expand All @@ -160,7 +160,7 @@ runs:
security: sec-scanners-config.yaml
annotations:
operator.kyma-project.io/doc-url: https://kyma-project.io" >> module-config-no-cr.yaml
module create --module-config-file ./module-config-no-cr.yaml --registry http://localhost:5111 --insecure
modulectl create --module-config-file ./module-config-no-cr.yaml --registry http://localhost:5111 --insecure
sed -i 's/localhost:5111/k3d-kcp-registry.localhost:5000/g' ./template.yaml
kubectl get crds
kubectl apply -f template.yaml
Expand Down
1 change: 0 additions & 1 deletion .github/actions/install-modulectl/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,3 @@ runs:
chmod +x modulectl-linux
mv modulectl-linux /usr/local/bin/modulectl
echo "PATH=/usr/local/bin/modulectl" >> $GITHUB_OUTPUT
ln -s /usr/local/bin/modulectl /usr/local/bin/module
Loading