Skip to content

Commit

Permalink
Fixes .phony and whitespace
Browse files Browse the repository at this point in the history
Signed-off-by: Daneyon Hansen <[email protected]>
  • Loading branch information
danehans committed Dec 16, 2024
1 parent 085bf8e commit a669ad3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -1258,7 +1258,7 @@ conformance-%: $(TEST_ASSET_DIR)/conformance/conformance_test.go
go test -mod=mod -ldflags=$(LDFLAGS) -tags conformance -test.v $(TEST_ASSET_DIR)/conformance/... -args $(CONFORMANCE_ARGS) \
-run-test=$*

.PHONY: sync-gateway-crds
.PHONY: sync-gateway-api
sync-gateway-api: ## Syncronize the Gateway API version used by the repo with the provided $CONFORMANCE_VERSION.
@./ci/sync-gateway-api.sh

Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions ci/sync-gateway-api.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ SETUP_KIND_FILE="./ci/kind/setup-kind.sh"
# Function to source specific variables from the setup-kind.sh script
source_specific_vars() {
local vars_to_source=("CONFORMANCE_VERSION" "CONFORMANCE_CHANNEL")

for var in "${vars_to_source[@]}"; do
eval $(grep "^$var=" "$SETUP_KIND_FILE")
done
Expand Down Expand Up @@ -100,7 +100,7 @@ download_gateway_crd() {

echo "Downloading Gateway CRD from $url to $dest..."
curl -sLo "$dest.tmp" "$url"

if [ -f "$dest" ] && cmp -s "$dest" "$dest.tmp"; then
echo "No changes detected in $dest."
rm "$dest.tmp"
Expand All @@ -116,7 +116,7 @@ download_tcproute_crd() {

echo "Downloading TCPRoute CRD from $url to $dest..."
curl -sLo "$dest.tmp" "$url"

# Always create the temporary file with the header
echo "$HEADER" > "$dest.tmp.full"
cat "$dest.tmp" >> "$dest.tmp.full"
Expand Down

0 comments on commit a669ad3

Please sign in to comment.