mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 10:25:05 +03:00
226c3d07cc
new file: projects/aws.amazon.com/sam/template.yml
25 lines
526 B
YAML
25 lines
526 B
YAML
distributable:
|
|
url: https://github.com/aws/aws-sam-cli/archive/refs/tags/{{version.tag}}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
github: aws/aws-sam-cli
|
|
|
|
dependencies:
|
|
pkgx.sh: ^1
|
|
|
|
build:
|
|
dependencies:
|
|
python.org: ^3.11
|
|
rust-lang.org: '*'
|
|
script:
|
|
- bkpyvenv stage {{prefix}} {{version}}
|
|
- ${{prefix}}/venv/bin/pip install .
|
|
- bkpyvenv seal {{prefix}} sam
|
|
|
|
provides:
|
|
- bin/sam
|
|
|
|
test:
|
|
- sam --version | grep {{version}}
|
|
- sam validate --region us-east-1 2>&1 | grep 'is a valid SAM Template'
|