Newer
Older
kind: pipeline
name: default
platform:
os: linux
arch: amd64
disable: true
steps:
- name: hg
pull: default
image: plugins/hg
- name: flake8
pull: always
image: alpine/flake8
commands:
- flake8
- name: isort
pull: always
image: xcgd/isort:odoo
commands:
- isort -c -df
- name: docker
pull: default
image: plugins/docker
settings:
dockerfile: Dockerfile.docker_build_copy
environment:
DOCKER_PASSWORD:
from_secret: docker_password
DOCKER_USERNAME:
from_secret: docker_username
- name: mattermost
pull: default
image: plugins/slack
settings:
environment:
SLACK_WEBHOOK:
from_secret: slack_webhook
when:
status:
- failure
- success