Skip to content

Commit

Permalink
fix: rekres to fix generate checksums step in CI
Browse files Browse the repository at this point in the history
Fix generating checksums thanks to the fix in siderolabs/kres#458.

Signed-off-by: Utku Ozdemir <[email protected]>
  • Loading branch information
utkuozdemir committed Nov 6, 2024
1 parent db39e41 commit e22099c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
#
# Generated on 2024-11-05T13:03:03Z by kres 398a599.
# Generated on 2024-11-06T14:42:38Z by kres 1fc767a.

name: default
concurrency:
Expand Down
11 changes: 10 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
#
# Generated on 2024-11-05T13:07:23Z by kres 398a599.
# Generated on 2024-11-06T14:42:38Z by kres 1fc767a.

# common variables

Expand Down Expand Up @@ -157,6 +157,15 @@ target-%: ## Builds the specified target defined in the Dockerfile. The build r

local-%: ## Builds the specified target defined in the Dockerfile using the local output type. The build result will be output to the specified local destination.
@$(MAKE) target-$* TARGET_ARGS="--output=type=local,dest=$(DEST) $(TARGET_ARGS)"
@PLATFORM=$(PLATFORM) ARTIFACTS=$(ARTIFACTS) bash -c '\
for platform in $$(tr "," "\n" <<< "$$PLATFORM"); do \
echo $$platform; \
directory="$${platform//\//_}"; \
if [[ -d "$$ARTIFACTS/$$directory" ]]; then \
mv "$$ARTIFACTS/$$directory/"* $$ARTIFACTS; \
rmdir "$$ARTIFACTS/$$directory/"; \
fi; \
done'

generate: ## Generate .proto definitions.
@$(MAKE) local-$@ DEST=./
Expand Down

0 comments on commit e22099c

Please sign in to comment.