This repository has been archived on 2021-12-24. You can view files and clone it, but cannot push or open issues/pull-requests.
jos/.woodpecker.yml

51 lines
1015 B
YAML

pipeline:
# =====TESTING=====
test-backend:
# Alpine version doesn't have make
image: python:3.8
pull: true
group: test
commands:
- make test
when:
event: push
test-frontend:
# Alpine version doesn't have make
image: node:16
pull: true
group: test
commands:
- make fbuild ftest
when:
event: push
# =====LINTING=====
lint-backend:
image: python:3.8
group: lint
commands:
- make lint
when:
event: push
lint-frontend:
image: node:16
group: lint
commands:
- make flint
when:
event: push
# =====PUBLISHING=====
publish-dev:
image: plugins/docker
repo: chewingbever/jos
tag: [ dev ]
secrets: [ docker_username, docker_password ]
when:
branch: develop
event: push