pantry/projects/nike.com/gimme-aws-creds/package.yml
Kevin Chen fd5653b2eb
+gimme-aws-creds -- A CLI that utilizes Okta IdP via SAML to acquire temporary AWS credentials (#5496)
* +gimme-aws-creds -- A CLI that utilizes Okta IdP via SAML to acquire temporary AWS credentials

* pip install .

* use --help flag instead, since --version is prompting for a config file

* touch config file so --version runs

---------

Co-authored-by: Jacob Heider <jacob@pkgx.dev>
2024-03-11 09:54:30 -04:00

24 lines
538 B
YAML

distributable:
url: https://github.com/Nike-Inc/gimme-aws-creds/archive/refs/tags/v{{version}}.tar.gz
strip-components: 1
versions:
github: Nike-Inc/gimme-aws-creds
dependencies:
pkgx.sh: ^1
build:
dependencies:
python.org: ^3.11
script:
- bkpyvenv stage {{prefix}} {{version}}
- ${{prefix}}/venv/bin/pip install .
- bkpyvenv seal {{prefix}} gimme-aws-creds
provides:
- bin/gimme-aws-creds
test:
- touch ~/.okta_aws_login_config
- test "$(gimme-aws-creds --version)" = "gimme-aws-creds {{version}}"