Skip to content

Commit

Permalink
remove templatize build caching
Browse files Browse the repository at this point in the history
we don't have good cache invalidation for the templatize build cache.
so people end up with potential stale binaries and get errors :(

Signed-off-by: Gerd Oberlechner <[email protected]>
  • Loading branch information
geoberle committed Nov 14, 2024
1 parent 65de40a commit 8f80c80
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions templatize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,7 @@ else
REGION_STAMP="${CLEAN_DEPLOY_ENV}"
fi

TEMPLATIZE=${PROJECT_ROOT_DIR}/tooling/templatize/templatize
if [ ! -f "${TEMPLATIZE}" ] || [ -n "${REBUILD_TEMPLATIZE}" ]; then
go build -o "$TEMPLATIZE" ${PROJECT_ROOT_DIR}/tooling/templatize
fi
TEMPLATIZE="go run ${PROJECT_ROOT_DIR}/tooling/templatize"

CONFIG_FILE=${PROJECT_ROOT_DIR}/config/config.yaml
if [ -n "$INPUT" ] && [ -n "$OUTPUT" ]; then
Expand Down

0 comments on commit 8f80c80

Please sign in to comment.