mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
parent
d64877c52a
commit
45280ada36
1 changed files with 12 additions and 3 deletions
|
@ -1,21 +1,30 @@
|
||||||
distributable:
|
distributable:
|
||||||
url: https://github.com/bridgecrewio/checkov/archive/refs/tags/{{version}}.tar.gz
|
url: https://github.com/bridgecrewio/checkov/archive/refs/tags/{{version}}.tar.gz
|
||||||
strip-components: 1
|
strip-components: 1
|
||||||
|
|
||||||
versions:
|
versions:
|
||||||
url: https://pypi.org/project/checkov/#history
|
url: https://pypi.org/project/checkov/#history
|
||||||
match: /checkov\/\d+\.\d+\.\d+/
|
match: /checkov\/\d+\.\d+\.\d+/
|
||||||
strip: /^checkov\//
|
strip: /^checkov\//
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
python.org: ^3.12
|
pkgx.sh: ^1
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
dependencies:
|
||||||
|
python.org: ^3.12
|
||||||
script:
|
script:
|
||||||
- python-venv.sh {{prefix}}/bin/checkov
|
- bkpyvenv stage {{prefix}} {{version}}
|
||||||
|
- ${{prefix}}/venv/bin/pip install .
|
||||||
|
- bkpyvenv seal {{prefix}} checkov
|
||||||
env:
|
env:
|
||||||
linux:
|
linux:
|
||||||
# error: incompatible pointer to integer conversion initializing 'int' with an expression of type 'void *'
|
# error: incompatible pointer to integer conversion initializing 'int' with an expression of type 'void *'
|
||||||
CFLAGS: -Wno-int-conversion
|
CFLAGS: -Wno-int-conversion
|
||||||
|
|
||||||
provides:
|
provides:
|
||||||
- bin/checkov
|
- bin/checkov
|
||||||
|
|
||||||
test:
|
test:
|
||||||
- checkov --version | grep {{version}}
|
- checkov --version | grep {{version}}
|
||||||
- checkov -f test.tf > output.log
|
- checkov -f test.tf > output.log
|
||||||
|
|
Loading…
Reference in a new issue