Skip to content

Commit

Permalink
fix: release script for validating webhook (#860)
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Wang <whynowy@gmail.com>
  • Loading branch information
whynowy committed Jul 18, 2023
1 parent d0df669 commit 9478e30
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,8 @@ update-manifests-version:
mv /tmp/base_kustomization.yaml config/advanced-install/namespaced-controller/kustomization.yaml
cat config/advanced-install/numaflow-server/kustomization.yaml | sed 's/newTag: .*/newTag: $(VERSION)/' | sed 's@value: quay.io/numaproj/numaflow:.*@value: quay.io/numaproj/numaflow:$(VERSION)@' > /tmp/base_kustomization.yaml
mv /tmp/base_kustomization.yaml config/advanced-install/numaflow-server/kustomization.yaml
cat config/extensions/webhook/kustomization.yaml | sed 's/newTag: .*/newTag: $(VERSION)/' | sed 's@value: quay.io/numaproj/numaflow:.*@value: quay.io/numaproj/numaflow:$(VERSION)@' > /tmp/base_kustomization.yaml
mv /tmp/base_kustomization.yaml config/extensions/webhook/kustomization.yaml
cat Makefile | sed 's/^VERSION?=.*/VERSION?=$(VERSION)/' | sed 's/^BASE_VERSION:=.*/BASE_VERSION:=$(VERSION)/' > /tmp/ae_makefile
mv /tmp/ae_makefile Makefile

3 changes: 2 additions & 1 deletion config/extensions/webhook/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ namespace: numaflow-system

images:
- name: quay.io/numaproj/numaflow
newTag: latest
newTag: latest

0 comments on commit 9478e30

Please sign in to comment.