-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(main): Make LFC development environment installable with one com…
…mand (#138) Signed-off-by: Thomas Schuetz <[email protected]>
- Loading branch information
Showing
5 changed files
with
64 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,3 +17,7 @@ | |
.idea | ||
|
||
.dccache* | ||
|
||
manifests/ | ||
/scheduler/config/rendered/release.yaml | ||
/operator/config/rendered/release.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Image URL to use all building/pushing image targets | ||
CERT_MANAGER_VERSION ?= v1.8.0 | ||
TAG ?= "$(shell date +%Y%m%d%s)" | ||
TAG := $(TAG) | ||
|
||
# RELEASE_REGISTRY is the container registry to push | ||
# into. | ||
RELEASE_REGISTRY?=ghcr.io/keptn-sandbox | ||
ARCH?=amd64 | ||
|
||
.PHONY: build-and-push-dev-images | ||
build-and-push-dev-images: | ||
RELEASE_TAG=$(TAG) | ||
$(MAKE) -C operator release-local.$(ARCH) TAG=$(TAG) | ||
$(MAKE) -C scheduler release-local.$(ARCH) TAG=$(TAG) | ||
$(MAKE) -C operator push-local TAG=$(TAG) | ||
$(MAKE) -C scheduler push-local TAG=$(TAG) | ||
|
||
.PHONY: build-dev-manifests | ||
build-dev-manifests: | ||
$(MAKE) -C operator release-manifests TAG=$(TAG) ARCH=$(ARCH) | ||
$(MAKE) -C scheduler release-manifests TAG=$(TAG) ARCH=$(ARCH) | ||
if [[ ! -d manifests ]]; then mkdir manifests; fi | ||
cat operator/config/rendered/release.yaml > manifests/dev.yaml | ||
echo "---" >> manifests/dev.yaml | ||
cat scheduler/config/rendered/release.yaml >> manifests/dev.yaml | ||
|
||
.PHONY: build-deploy-dev-environment | ||
build-deploy-dev-environment: build-and-push-dev-images build-dev-manifests | ||
kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/$(CERT_MANAGER_VERSION)/cert-manager.yaml | ||
kubectl apply -f manifests/dev.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters