Skip to content

Commit

Permalink
Merge pull request #468 from kwiatekus/k3d-upgrade-test-wo-lfm-1.2
Browse files Browse the repository at this point in the history
K3d upgrade test wo lfm 1.2
  • Loading branch information
kwiatekus authored Nov 29, 2023
2 parents 8d430ea + 3054430 commit c13b8ab
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions components/operator/hack/ci/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -74,23 +74,19 @@ remove-serverless: ## Remove Serverless CR
.PHONY: install-latest-serverless
install-latest-serverless:
@make -C ${PROJECT_COMMON} kyma create-k3d
curl -LJ -s https://github.com/kyma-project/serverless-manager/releases/latest/download/moduletemplate.yaml > ${PROJECT_ROOT}/moduletemplate-latest.yaml
@cat ${PROJECT_ROOT}/moduletemplate-latest.yaml | sed -e 's/enableInternal: true/enableInternal: false/g' > ${PROJECT_ROOT}/moduletemplate-k3d.yaml
@make -C ${PROJECT_COMMON} install-kyma-with-lm patch-mod-mgr-role install-module-template enable-module verify-kyma
kubectl apply -f https://github.com/kyma-project/serverless-manager/releases/latest/download/serverless-operator.yaml
kubectl apply -f https://github.com/kyma-project/serverless-manager/releases/latest/download/default-serverless-cr-k3d.yaml -n kyma-system
@make -C ${PROJECT_COMMON} verify-serverless

.PHONY: reinstall-serverless
reinstall-serverless:
@make -C ${PROJECT_COMMON} kyma \
module-image \
module-build \
fix-template \
install-module-template
@make -C ${PROJECT_COMMON} run-without-lm-on-cluster

# wait some time to make sure lm starts the reconciliation first
sleep 5

@make -C ${PROJECT_COMMON} verify-kyma

# double check that serverless controller has progressed
kubectl wait --for condition=Available -n kyma-system deployment serverless-ctrl-mngr --timeout=60s
.PHONY: provision-gardener
provision-gardener:
@make -C ${PROJECT_COMMON} provision-gardener
Expand Down

0 comments on commit c13b8ab

Please sign in to comment.