diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2082805a5..41ef3fc81 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -74,7 +74,7 @@ jobs: strategy: fail-fast: false matrix: - platform: [linux/amd64, linux/arm64] + platform: [linux/amd64, linux/arm64, linux/s390x] helmVersion: ${{ fromJson(needs.determine-versions.outputs.HELM_VERSIONS) }} pluginVersion: ${{ fromJson(needs.determine-versions.outputs.HELM_PLUGIN_VERSIONS) }} steps: diff --git a/CHANGELOG.md b/CHANGELOG.md index bea4d42b6..d332a72d1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,9 @@ - Fix assertion does not match when using camelcase function (resolves #359) - Fix templating multi document Helm file with trims break YAML parsing (resolves #403) - Fix lookup of resources defined in kubernetesProvider without any objects (resolves #380) +- Improvement support for linux x390x +- Update packages to latest patch versions +- Update documentation 0.6.1 / 2024-09-01 ================== diff --git a/Makefile b/Makefile index 06dd4c08a..e16bdb0d7 100644 --- a/Makefile +++ b/Makefile @@ -61,6 +61,8 @@ build: unittest ## Compile packages and dependencies .PHONY: dist dist: mkdir -p $(DIST) + CGO_ENABLED=0 GOOS=linux GOARCH=s390x go build -o untt -ldflags $(LDFLAGS) ./cmd/helm-unittest + tar -zcvf $(DIST)/helm-unittest-linux-s390x-$(VERSION).tgz untt README.md LICENSE plugin.yaml CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -o untt -ldflags $(LDFLAGS) ./cmd/helm-unittest tar -zcvf $(DIST)/helm-unittest-linux-arm64-$(VERSION).tgz untt README.md LICENSE plugin.yaml CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o untt -ldflags $(LDFLAGS) ./cmd/helm-unittest @@ -71,7 +73,6 @@ dist: tar -zcvf $(DIST)/helm-unittest-macos-arm64-$(VERSION).tgz untt README.md LICENSE plugin.yaml CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o untt.exe -ldflags $(LDFLAGS) ./cmd/helm-unittest tar -zcvf $(DIST)/helm-unittest-windows-amd64-$(VERSION).tgz untt.exe README.md LICENSE plugin.yaml - shasum -a 256 -b $(DIST)/* > $(DIST)/helm-unittest-checksum.sha tar -zcvf $(DIST)/helm-unittest-windows_nt-amd64-$(VERSION).tgz untt.exe README.md LICENSE plugin.yaml shasum -a 256 -b $(DIST)/* > $(DIST)/helm-unittest-checksum.sha diff --git a/install-binary.sh b/install-binary.sh index a3691d730..22e7a3e34 100755 --- a/install-binary.sh +++ b/install-binary.sh @@ -61,7 +61,7 @@ initOS() { # verifySupported checks that the os/arch combination is supported for # binary builds. verifySupported() { - local supported="linux-arm64\nlinux-amd64\nmacos-amd64\nwindows-amd64\nwindows_nt-amd64\nmacos-arm64" + local supported="linux-amd64\nlinux-arm64\nlinux-s390x\nmacos-amd64\nmacos-arm64\nwindows-amd64\nwindows_nt-amd64" if ! echo "$supported" | grep -q "$OS-$ARCH"; then echo "No prebuild binary for $OS-$ARCH." exit 1