Skip to content
Snippets Groups Projects
Commit 1f24b9bc5c62 authored by Houzefa Abbasbhay's avatar Houzefa Abbasbhay :slight_smile:
Browse files

Drone file: Convert via "drone convert"

& get isort from the "odoo" branch of xcgd/isort.
parent a78769292191
No related branches found
No related tags found
No related merge requests found
kind: pipeline
name: default
platform:
os: linux
arch: amd64
clone:
......@@ -1,4 +8,14 @@
clone:
hg:
image: plugins/hg
disable: true
steps:
- name: hg
pull: default
image: plugins/hg
- name: flake8
pull: always
image: alpine/flake8
commands:
- flake8
......@@ -4,14 +21,13 @@
pipeline:
linter:
image: alpine/flake8
commands:
- flake8
isort:
image: xcgd/isort
commands:
- isort -c -df
docker:
image: plugins/docker
secrets: [docker_username, docker_password]
- 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
repo: xcgd/odoo_scripts-docker_build_copy
......@@ -17,3 +33,2 @@
repo: xcgd/odoo_scripts-docker_build_copy
dockerfile: Dockerfile.docker_build_copy
tag: latest
......@@ -19,5 +34,13 @@
tag: latest
mattermost:
image: plugins/slack
environment:
DOCKER_PASSWORD:
from_secret: docker_password
DOCKER_USERNAME:
from_secret: docker_username
- name: mattermost
pull: default
image: plugins/slack
settings:
channel: dev
username: drone
......@@ -22,6 +45,9 @@
channel: dev
username: drone
secrets: [ slack_webhook ]
when:
status: [ failure, success ]
environment:
SLACK_WEBHOOK:
from_secret: slack_webhook
when:
status:
- failure
- success
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment