Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update aws-cli v1 and add v2 #3884

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions aws-cli.yaml → aws-cli-v1.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package:
name: aws-cli
strongjz marked this conversation as resolved.
Show resolved Hide resolved
version: 1.27.165
name: aws-cli-v1
version: 1.29.10
epoch: 0
description: "Universal Command Line Interface for Amazon Web Services"
copyright:
Expand Down Expand Up @@ -33,7 +33,7 @@ pipeline:
- uses: fetch
with:
uri: https://github.com/aws/aws-cli/archive/${{package.version}}.tar.gz
expected-sha256: 7af88c427d70b17bdf521cf8f588e67fe422d9bfd86f880d3f2ca8038040af7e
expected-sha256: 0b043e420838a3e979acf73da4e2becb7179e9034f37a61b8d6091dd1b138dfa

- runs: |
python3 setup.py build
Expand All @@ -48,4 +48,4 @@ update:
github:
identifier: aws/aws-cli
use-tag: true
tag-filter: "1.27"
tag-filter: "1"
51 changes: 51 additions & 0 deletions aws-cli-v2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
package:
name: aws-cli-v2
version: 2.13.3
epoch: 0
description: "Universal Command Line Interface for Amazon Web Services"
copyright:
- license: Apache-2.0
dependencies:
runtime:
- python3
- py3-setuptools
- py3-yaml
- py3-botocore
- py3-docutils
- py3-jmespath
- py3-rsa
- py3-s3transfer
- py3-colorama
- groff

environment:
contents:
packages:
- wolfi-base
- busybox
- ca-certificates-bundle
- build-base
- python3
- python3-dev
- py3-setuptools

pipeline:
- uses: fetch
with:
uri: https://github.com/aws/aws-cli/archive/${{package.version}}.tar.gz
expected-sha256: c3940fdf8d4ca20aa8b1736e075dd68cef2c2581f6dbac93d1c41d149490a13b

- runs: |
python3 setup.py build

- runs: |
python3 setup.py install --prefix=/usr --root="${{targets.destdir}}"

- uses: strip

update:
enabled: true
github:
identifier: aws/aws-cli
use-tag: true
tag-filter: "2"