cvs-proxy/.drone.yml
Juan José Gutiérrez de Quevedo Pérez 0ac072c6ce
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
simplify pipeline
2025-11-22 08:28:18 +01:00

29 lines
646 B
YAML

kind: pipeline
type: docker
name: default
steps:
# Test stage
- name: test
image: python:3-bookworm
commands:
- pip install --no-cache-dir -r requirements.txt
- pip install --no-cache-dir -e .
- python -m unittest discover cvs_proxy
# Docker build and push stage
- name: docker-build-push
image: plugins/docker
settings:
registry: docker.gutierrezdequevedo.com
repo: docker.gutierrezdequevedo.com/ps/cvs-proxy
tags:
- latest
- ${DRONE_COMMIT_SHA:0:7}
dockerfile: Dockerfile
context: .
when:
status:
- success
depends_on:
- test