Skip to content

Commit

Permalink
minor: remove armv7 support
Browse files Browse the repository at this point in the history
  • Loading branch information
jpts committed Aug 30, 2022
1 parent 29ea924 commit cc65157
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ builds:
- amd64
- arm
- arm64
goarm: [6, 7]
goarm: 6
archives:
- builds:
- kubectl-execws
Expand Down
4 changes: 1 addition & 3 deletions .krew/architectures.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ bins:
- os: linux
arch: arm64
- os: linux
arch: armv7
- os: linux
arch: armv6
arch: arm
- os: darwin
arch: amd64
- os: darwin
Expand Down
2 changes: 0 additions & 2 deletions .krew/custom.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ def alter_context(context):
context['tag'] = os.environ['GITHUB_REF_NAME']
return context



def extra_filters():
""" Declare some custom filters.
Returns: dict(name = function)
Expand Down
5 changes: 3 additions & 2 deletions .krew/template.j2
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@ spec:
bypassess the apiserver by design.
platforms:
{% for bin in bins -%}
{% set tarball = ("kubectl-execws_" ~ tag ~ "_" ~ bin.os ~ "_" ~ bin.arch) -%}
- selector:
matchLabels:
os: {{ bin.os }}
arch: {{ bin.arch }}
uri: "https://github.com/jpts/kubectl-execws/releases/download/{{ tag }}/kubectl-execws_{{ tag }}_{{ bin.os }}_{{ bin.arch }}.tar.gz"
sha256: {{ (bin.os ~ "_" ~ bin.arch) |sha256 }}
uri: "https://github.com/jpts/kubectl-execws/releases/download/{{ tag }}/{{ tarball }}{% if bin.arch == "arm" %}v6{% endif %}.tar.gz"
sha256: {{ tarball | sha256 }}
bin: kubectl-execws
{% endfor %}

0 comments on commit cc65157

Please sign in to comment.