forked from kyverno/kyverno
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove arm from goreleaser (kyverno#903)
* Feature : Added complete release cycle and created install bash script for kyverno-cli
- Loading branch information
Showing
10 changed files
with
496 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ ratings: | |
|
||
exclude_paths: | ||
- documentation/ | ||
- charts | ||
- definitions | ||
- gh-pages | ||
- samples | ||
- scripts | ||
- scripts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
## Related issue | ||
|
||
<!-- | ||
Please link the GitHub issue this pull request resolves in the format of `#1234`. If you discussed this change | ||
with a maintainer, please mention her/him using the `@` syntax (e.g. `@JimBugwadia`). | ||
If this change neither resolves an existing issue nor has sign-off from one of the maintainers, there is a | ||
chance substantial changes will be requested or that the changes will be rejected. | ||
You can discuss changes with maintainers in the [Kyvrno Slack Channel](https://kubernetes.slack.com/). | ||
--> | ||
|
||
**What type of PR is this?** | ||
<!-- | ||
> Uncomment only one ` /kind <>` line, hit enter to put that in a new line, and remove leading whitespaces from that line: | ||
> | ||
> /kind api-change | ||
> /kind bug | ||
> /kind cleanup | ||
> /kind design | ||
> /kind documentation | ||
> /kind failing-test | ||
> /kind feature | ||
--> | ||
|
||
## Proposed changes | ||
|
||
<!-- | ||
Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request. | ||
--> | ||
|
||
## Checklist | ||
|
||
<!-- | ||
Put an `x` in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of | ||
them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code. | ||
--> | ||
|
||
- [ ] I have read the [contributing guidelines](../blob/master/CONTRIBUTING.md). | ||
- [ ] I have added tests that prove my fix is effective or that my feature | ||
works. | ||
- [ ] I have added or changed [the documentation](documentation/). | ||
|
||
## Further comments | ||
|
||
<!-- | ||
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution | ||
you did and what alternatives you considered, etc... | ||
--> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
titleOnly: true | ||
commitsOnly: false | ||
titleAndCommits: false | ||
|
||
types: | ||
- feat | ||
- fix | ||
- revert | ||
- docs | ||
- style | ||
- refactor | ||
- test | ||
- build | ||
- autogen | ||
- security | ||
- ci | ||
- chore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,11 @@ jobs: | |
uses: actions/setup-go@v2 | ||
with: | ||
go-version: 1.14 | ||
- uses: azure/docker-login@v1 | ||
with: | ||
login-server: index.docker.io | ||
username: ${{ secrets.DOCKERIO_USERNAME }} | ||
password: ${{ secrets.DOCKERIO_PASSWORD }} | ||
- | ||
name: Run GoReleaser | ||
uses: goreleaser/goreleaser-action@v2 | ||
|
@@ -28,4 +33,5 @@ jobs: | |
args: release --rm-dist | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }} | ||
- uses: creekorful/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
project_name: kyverno | ||
project_name: kyverno-cli | ||
before: | ||
hooks: | ||
- go mod download | ||
builds: | ||
- id: kyverno | ||
- id: kyverno-cli | ||
main: cmd/cli/kubectl-kyverno/main.go | ||
binary: kyverno | ||
binary: kyverno-cli | ||
env: | ||
- CGO_ENABLED=0 | ||
goos: | ||
|
@@ -14,20 +14,36 @@ builds: | |
- windows | ||
goarch: | ||
- amd64 | ||
- arm | ||
- arm64 | ||
goarm: [6, 7] | ||
- id: kyverno | ||
main: cmd/kyverno/main.go | ||
binary: kyverno | ||
env: | ||
- CGO_ENABLED=0 | ||
goos: | ||
- linux | ||
goarch: | ||
- amd64 | ||
- id: kyvernopre | ||
main: cmd/initContainer/main.go | ||
binary: kyvernopre | ||
env: | ||
- CGO_ENABLED=0 | ||
goos: | ||
- linux | ||
goarch: | ||
- amd64 | ||
archives: | ||
- id: kyverno-archive | ||
- id: kyverno-cli-archive | ||
name_template: |- | ||
kyverno_{{ .Tag }}_{{ .Os }}_{{ .Arch -}} | ||
kyverno-cli_{{ .Tag }}_{{ .Os }}_{{ .Arch -}} | ||
{{- with .Arm -}} | ||
{{- if (eq . "6") -}}hf | ||
{{- else -}}v{{- . -}} | ||
{{- end -}} | ||
{{- end -}} | ||
builds: | ||
- kyverno | ||
- kyverno-cli | ||
replacements: | ||
386: i386 | ||
amd64: x86_64 | ||
|
@@ -40,3 +56,49 @@ checksum: | |
algorithm: sha256 | ||
release: | ||
prerelease: auto | ||
changelog: | ||
sort: asc | ||
filters: | ||
# commit messages matching the regexp listed here will be removed from | ||
# the changelog | ||
exclude: | ||
- '^docs:' | ||
- typo | ||
brews: | ||
- github: | ||
owner: nirmata | ||
name: homebrew-kyverno-cli | ||
goarm: 6 | ||
ids: | ||
- kyverno-cli-archive | ||
homepage: https://www.kyverno.io | ||
commit_author: | ||
name: kyverno | ||
email: [email protected] | ||
scoop: | ||
bucket: | ||
owner: nirmata | ||
name: scoop-kyverno-cli | ||
homepage: https://www.kyverno.io | ||
commit_author: | ||
name: kyverno | ||
email: [email protected] | ||
dockers: | ||
- dockerfile: ./cmd/initContainer/Dockerfile | ||
binaries: | ||
- kyvernopre | ||
image_templates: | ||
- "nirmata/kyvernopre:v{{ .Major }}" | ||
- "nirmata/kyvernopre:v{{ .Major }}.{{ .Minor }}" | ||
- "nirmata/kyvernopre:v{{ .Major }}.{{ .Minor }}.{{ .Patch }}" | ||
- "nirmata/kyvernopre:{{ .Tag }}" | ||
- "nirmata/kyvernopre:latest" | ||
- dockerfile: ./cmd/kyverno/Dockerfile | ||
binaries: | ||
- kyverno | ||
image_templates: | ||
- "nirmata/kyverno:v{{ .Major }}" | ||
- "nirmata/kyverno:v{{ .Major }}.{{ .Minor }}" | ||
- "nirmata/kyverno:v{{ .Major }}.{{ .Minor }}.{{ .Patch }}" | ||
- "nirmata/kyverno:{{ .Tag }}" | ||
- "nirmata/kyverno:latest" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.