Skip to content

Commit

Permalink
ci: add hauler manifest to release-please + manual bump
Browse files Browse the repository at this point in the history
Signed-off-by: Tyler Gillson <tyler.gillson@gmail.com>
  • Loading branch information
TylerGillson committed Jul 11, 2024
1 parent e6ad360 commit 881cb22
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:

haul:
if: needs.call-release.outputs.releases_created == 'true'
needs: call-release
runs-on: [self-hosted, Linux, X64, validator]
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ CHART_NAME=validator
docker-build-certs-init: ## Build validator-certs-init docker image.
$(CONTAINER_TOOL) build -f hack/validator-certs-init.Dockerfile -t ${CERTS_INIT_IMG} . --platform linux/$(GOARCH)

PLATFORMS ?= linux/amd64 darwin/arm64
HAUL_PLATFORMS ?= linux/amd64 darwin/arm64
.PHONY: haul
haul: hauler ## Generate Hauls for latest release
$(foreach platform,$(PLATFORMS),\
$(foreach platform,$(HAUL_PLATFORMS),\
$(eval GOOS=$(word 1,$(subst /, ,$(platform)))) \
$(eval GOARCH=$(word 2,$(subst /, ,$(platform)))) \
echo "Building Haul for $(GOOS)/$(GOARCH)..."; \
Expand Down
3 changes: 2 additions & 1 deletion release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"extra-files": [
"chart/validator/Chart.yaml",
"chart/validator/README.md",
"chart/validator/values.yaml"
"chart/validator/values.yaml",
"hauler-manifest.yaml"
],
"changelog-sections": [
{
Expand Down

0 comments on commit 881cb22

Please sign in to comment.