Skip to content

Commit

Permalink
Delete Lifecycle Manager Tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
muralov committed Jan 15, 2024
1 parent e1fde36 commit 7b73ca4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 28 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/push-e2e-upgrade-test.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: push-with-lifecycle-manager
name: push-e2e-upgrade-test

env:
DOCKER_IMAGE: "europe-docker.pkg.dev/kyma-project/prod/nats-manager"
Expand Down Expand Up @@ -34,6 +34,7 @@ jobs:
- name: Install the latest released NATS manager
run: |
make -C hack/ci/ create-kyma-system-ns
make -C hack/ci/ install-nats-manager
- name: Setup & test NATS CR
Expand Down
27 changes: 0 additions & 27 deletions hack/ci/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,45 +23,18 @@ module-build: ## Build the Module, push it to a registry and print it based on t
@cat ${ARTIFACTS}/module-template.yaml
@echo "\n~~~~~~~~~~~~~~~END OF MODULE TEMPLATE~~~~~~~~~~~~~~~~"

.PHONY: download-module-template
download-module-template: ## Downloads the module-template from the module-build prow job.
export PROJECT_ROOT="${PROJECT_ROOT}" \
&& ../get_module_template_from_build_job.sh

.PHONY: install-latest-module-template-fast
install-latest-module-template-fast: ## Downloads and applies the latest released module-template from fast channel.
kubectl apply -f https://github.com/kyma-project/nats-manager/releases/latest/download/module-template.yaml

.PHONY: create-kyma-system-ns
create-kyma-system-ns: ## Create kyma-system namespace.
kubectl create ns kyma-system

.PHONY: install-module-template
install-module-template: ## Apply NATS moduletemplate.
kubectl apply -f ${PROJECT_ROOT}/module-template.yaml

.PHONY: enable-module-without-default-cr
enable-module-without-default-cr: ## Enable NATS module without creating default NATS CR.
"${KYMA_CLI}" alpha enable module nats -c fast -n kyma-system -p Ignore

.PHONY: install-nats-manager
install-nats-manager: ## Install nats-manager only.
kubectl apply -f https://github.com/kyma-project/nats-manager/releases/latest/download/nats-manager.yaml

.PHONY: install-lifecycle-manager
install-lifecycle-manager: ## Deploys lifecycle-manager.
"${KYMA_CLI}" alpha deploy \
--ci \
--force-conflicts

.PHONY: create-k3d
create-k3d: ## Create k3d with kyma CRDs.
"${KYMA_CLI}" provision k3d -p 8081:80@loadbalancer -p 8443:443@loadbalancer --registry-port ${REGISTRY_PORT} --name ${CLUSTER_NAME} --ci

.PHONY: verify-kyma
verify-kyma: ## Wait for Kyma CR to be in Ready state.
../verify_kyma_status.sh

.PHONY: install-k3d-tools
install-k3d-tools: ## Create k3d with kyma CRDs.
curl -s https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | TAG=${K3D_VERSION} bash

0 comments on commit 7b73ca4

Please sign in to comment.