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: Use separate ModuleConfig files for the E2E tests #2013

Merged
merged 2 commits into from
Nov 6, 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
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,15 @@ runs:
kustomize edit add patch --path warning_patch.yaml --kind Deployment
popd
make build-manifests
modulectl create --module-config-file ./module-config.yaml --registry http://localhost:5111 --insecure
echo "name: kyma-project.io/module/template-operator
channel: regular
version: 1.0.1
security: sec-scanners-config.yaml
defaultCR: ./config/samples/default-sample-cr.yaml
manifest: template-operator.yaml
annotations:
operator.kyma-project.io/doc-url: https://kyma-project.io" >> warning-module-config.yaml
modulectl create --module-config-file ./warning-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 @@ -136,7 +144,15 @@ runs:
kustomize edit add patch --path warning_patch.yaml --kind StatefulSet
popd
make build-statefulset-manifests
modulectl create --module-config-file ./module-config.yaml --registry http://localhost:5111 --insecure
echo "name: kyma-project.io/module/template-operator
channel: regular
version: 1.0.1
security: sec-scanners-config.yaml
defaultCR: ./config/samples/default-sample-cr.yaml
manifest: template-operator.yaml
annotations:
operator.kyma-project.io/doc-url: https://kyma-project.io" >> warning-module-config.yaml
modulectl create --module-config-file ./warning-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
20 changes: 18 additions & 2 deletions .github/actions/deploy-template-operator/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,15 @@ runs:
kustomize edit add patch --path warning_patch.yaml --kind Deployment
popd
make build-manifests
modulectl create --module-config-file ./module-config.yaml --registry http://localhost:5111 --insecure
echo "name: kyma-project.io/module/template-operator
channel: regular
version: 1.0.1
security: sec-scanners-config.yaml
defaultCR: ./config/samples/default-sample-cr.yaml
manifest: template-operator.yaml
annotations:
operator.kyma-project.io/doc-url: https://kyma-project.io" >> warning-module-config.yaml
modulectl create --module-config-file ./warning-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 +101,15 @@ runs:
kustomize edit add patch --path warning_patch.yaml --kind StatefulSet
popd
make build-statefulset-manifests
modulectl create --module-config-file ./module-config.yaml --registry http://localhost:5111 --insecure
echo "name: kyma-project.io/module/template-operator
channel: regular
version: 1.0.1
security: sec-scanners-config.yaml
defaultCR: ./config/samples/default-sample-cr.yaml
manifest: template-operator.yaml
annotations:
operator.kyma-project.io/doc-url: https://kyma-project.io" >> warning-module-config.yaml
modulectl create --module-config-file ./warning-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
Loading