Skip to content
This repository has been archived by the owner on Aug 12, 2024. It is now read-only.

Commit

Permalink
feat(crdvalidator): add goreleaser support
Browse files Browse the repository at this point in the history
Signed-off-by: Tyler Slaton <tyslaton@redhat.com>
  • Loading branch information
Tyler Slaton committed Apr 13, 2022
1 parent 0b3a377 commit adfa290
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 24 deletions.
9 changes: 9 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,15 @@ builds:
- amd64
ldflags:
- -X {{ .Env.PKG }}.GitCommit={{ .ShortCommit }}
- id: crdvalidator
main: ./cmd/crdvalidator
binary: crdvalidator
goos:
- linux
goarch:
- amd64
ldflags:
- -X {{ .Env.PKG }}.GitCommit={{ .ShortCommit }}
dockers:
- image_templates:
- "{{ .Env.IMAGE_REPO }}:{{ .Tag }}-amd64"
Expand Down
23 changes: 0 additions & 23 deletions Dockerfile.crdvalidator

This file was deleted.

2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ test-e2e: ginkgo ## Run the e2e tests
$(GINKGO) -trace -progress $(FOCUS) test/e2e

e2e: KIND_CLUSTER_NAME=rukpak-e2e
e2e: build-container kind-cluster kind-load cert-mgr kind-load-bundles deploy test-e2e test-crdvalidator-e2e ## Run e2e tests against a kind cluster
e2e: build-container kind-cluster kind-load cert-mgr kind-load-bundles deploy test-e2e ## Run e2e tests against a kind cluster

kind-cluster: ## Standup a kind cluster for e2e testing usage
${KIND} delete cluster --name ${KIND_CLUSTER_NAME}
Expand Down

0 comments on commit adfa290

Please sign in to comment.