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