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