Added 'containers' key

This commit is contained in:
Marcin-Ramotowski
2025-07-20 12:02:22 +02:00
parent d1ab2ef79c
commit 020a1255fb

View File

@ -3,7 +3,9 @@ pipeline:
event: push
branch: woodpecker
code-tests:
steps:
containers:
- name: code-tests
image: python:3.11.7-alpine
commands:
- cd api
@ -12,7 +14,7 @@ pipeline:
- pip install -r requirements.txt pytest
- python3 -m pytest --junit-xml=pytest_junit.xml
build-and-push:
- name: build-and-push
image: marcin00.azurecr.io/azure-cli-docker:slim-bookworm
environment:
ACR_NAME: marcin00
@ -27,7 +29,7 @@ pipeline:
kubernetes:
runtimeClassName: sysbox-runc
gitops-commit:
- name: gitops-commit
image: alpine/git
environment:
DEPLOY_REPO: ssh://git@srv22.mikr.us:20343/pikram/user-microservice-deploy.git