Skip to content

Commit

Permalink
Merge branch 'release/v7.13.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
kahoona77 committed Sep 1, 2023
2 parents d3fceb6 + 8789ab2 commit 6cb0f7a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [v7.13.1](https://github.com/cloudogu/makefiles/releases/tag/v7.13.1) 2023-09-01
### Fixed
- [#139] Use `yq` from `bin` instead of the host machine to fix pipeline errors.

## [v7.13.0](https://github.com/cloudogu/makefiles/releases/tag/v7.13.0) 2023-08-31
### Fixed
- [#137] Package generated chart-dependencies in helm-chart
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
ARTIFACT_ID=
VERSION=

MAKEFILES_VERSION=7.11.0
MAKEFILES_VERSION=7.13.1

.DEFAULT_GOAL:=help

Expand Down
4 changes: 2 additions & 2 deletions build/make/k8s.mk
Original file line number Diff line number Diff line change
Expand Up @@ -147,11 +147,11 @@ ${K8S_HELM_RELEASE_TGZ}: ${BINARY_HELM} ${K8S_HELM_TARGET}/templates/$(ARTIFACT_
@${BINARY_HELM} package ${K8S_HELM_TARGET} -d ${K8S_HELM_TARGET} ${BINARY_HELM_ADDITIONAL_PACK_ARGS}

.PHONY: k8s-helm-create-temp-dependencies
k8s-helm-create-temp-dependencies: ${K8S_HELM_TARGET}/Chart.yaml
k8s-helm-create-temp-dependencies: ${BINARY_YQ} ${K8S_HELM_TARGET}/Chart.yaml
# we use helm dependencies internally but never use them as "official" dependency because the namespace may differ
# instead we create empty dependencies to satisfy the helm package call and delete the whole directory from the chart.tgz later-on.
@echo "Create helm temp dependencies (if they exist)"
@for dep in `yq -e '.dependencies[].name // ""' ${K8S_HELM_TARGET}/Chart.yaml`; do \
@for dep in `${BINARY_YQ} -e '.dependencies[].name // ""' ${K8S_HELM_TARGET}/Chart.yaml`; do \
mkdir -p ${K8S_HELM_TARGET}/${K8S_HELM_TARGET_DEP_DIR}/$${dep} ; \
sed "s|replaceme|$${dep}|g" $(BUILD_DIR)/make/k8s-helm-temp-chart.yaml > ${K8S_HELM_TARGET}/${K8S_HELM_TARGET_DEP_DIR}/$${dep}/Chart.yaml ; \
done
Expand Down

0 comments on commit 6cb0f7a

Please sign in to comment.