Removed redundant spaces
All checks were successful
ci/woodpecker/push/build Pipeline was successful
All checks were successful
ci/woodpecker/push/build Pipeline was successful
This commit is contained in:
parent
cefb8eba4d
commit
b10f70cf65
@ -3,6 +3,7 @@ when:
|
||||
branch: woodpecker
|
||||
|
||||
steps:
|
||||
# Run Pytest tests
|
||||
- name: code-tests
|
||||
image: python:3.11.7-alpine
|
||||
commands:
|
||||
@ -12,6 +13,7 @@ steps:
|
||||
- pip install -r requirements.txt pytest
|
||||
- python3 -m pytest --junit-xml=pytest_junit.xml
|
||||
|
||||
# Build, test and push Docker image to ACR
|
||||
- name: build
|
||||
image: docker:dind
|
||||
privileged: true
|
||||
@ -20,9 +22,9 @@ steps:
|
||||
ACR_PASSWORD:
|
||||
from_secret: acr_password
|
||||
commands:
|
||||
- dockerd-entrypoint.sh &
|
||||
- sleep 10 # czas na uruchomienie usługi Docker
|
||||
|
||||
- dockerd-entrypoint.sh & # start Docker service in the background
|
||||
- sleep 10 # waiting for Docker start
|
||||
|
||||
- DOCKER_IMAGE=marcin00.azurecr.io/user-microservice:$CI_COMMIT_SHA
|
||||
|
||||
- echo "===> Building Docker image"
|
||||
|
Loading…
x
Reference in New Issue
Block a user