Skip to content

Latest commit

 

History

History
54 lines (35 loc) · 1.87 KB

File metadata and controls

54 lines (35 loc) · 1.87 KB

DAGGER

PY LINT

daggervers [module-code]https://github.com/act3-ai/dagger/blob/python/v0.1.4/python/main.go

dagger call --src dagger/python-webapp \
-m github.com/act3-ai/dagger/python@python/v0.1.4 lint

dagger call --src dagger/python-webapp \
-m github.com/act3-ai/dagger/python@python/v0.1.4 lint \
--skip "ruff-check,pyright,ruff-format,pylint"

dagger call --src dagger/python-webapp \
-m github.com/act3-ai/dagger/python@python/v0.1.4 lint \
--ignore-error=true

BUILD IMAGE

dagger call -m https://github.com/stuttgart-things/dagger/docker@v0.31.1 \
build-and-push \
--source dagger/python-webapp \
--repository-name dagger/python-webapp \
--registry-url ttl.sh \
--tag 1.2.3 \
-vv --progress plain

SCAN IMAGE

dagger call -m https://github.com/stuttgart-things/dagger/trivy@v0.31.1 scan-image \
--image-ref ttl.sh/dagger/python-webapp:1.2.3 \
--progress plain -vv \
export --path=/tmp/python-webapp-trivy.json

dagger call -m . run-pr-check --policy /home/sthings/projects/bosch/platform-engineering-showcase/kyverno/policies --source /tmp/platform-engineering-showcase/ -vv --progress plain

dagger call -m . kyverno-validation --policy /home/sthings/projects/bosch/platform-engineering-showcase/kyverno/policies --resource /home/sthings/projects/bosch/platform-engineering-showcase/crossplane/postgres-db/backstage/resources -vv --progress plain

dagger call -m . get-changed-files --source /tmp/platform-engineering-showcase -vv --progress plain

dagger call -m github.com/stuttgart-things/dagger/kyverno@v0.31.2 validate --policy /home/sthings/projects/bosch/platform-engineering-showcase/kyverno/policies --resource /home/sthings/projects/bosch/platform-engineering-showcase/crossplane/postgres-db/backstage/resources -vv --progress plain