diff --git a/aws-cli.yaml b/aws-cli-v1.yaml similarity index 85% rename from aws-cli.yaml rename to aws-cli-v1.yaml index 4e3d611b7d1..b44e6ccf277 100644 --- a/aws-cli.yaml +++ b/aws-cli-v1.yaml @@ -1,6 +1,6 @@ package: - name: aws-cli - version: 1.27.165 + name: aws-cli-v1 + version: 1.29.10 epoch: 0 description: "Universal Command Line Interface for Amazon Web Services" copyright: @@ -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 @@ -48,4 +48,4 @@ update: github: identifier: aws/aws-cli use-tag: true - tag-filter: "1.27" + tag-filter: "1" diff --git a/aws-cli-v2.yaml b/aws-cli-v2.yaml new file mode 100644 index 00000000000..9c96c26ef2a --- /dev/null +++ b/aws-cli-v2.yaml @@ -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"