forked from brazil-data-cube/bdc-stac
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.drone.yml
40 lines (35 loc) · 767 Bytes
/
.drone.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
kind: pipeline
type: docker
name: default
steps:
- name: test
image: python:3.7
commands:
- pip install --upgrade pip
- pip install --upgrade setuptools
- pip install -e.[all]
- ./run-tests.sh
- name: discord-notify
image: brazildatacube/bdc-drone-discord
settings:
webhook:
from_secret: discord_webhook
when:
status:
- failure
- success
- name: docker-registry
image: plugins/docker
settings:
repo: registry.dpi.inpe.br/${DRONE_REPO}
registry: registry.dpi.inpe.br
username:
from_secret: registry_user
password:
from_secret: registry_pass
auto_tag: true
custom_dns: 150.163.2.4
services:
- name: database
image: brazildatacube/bdc-catalog-sample
pull: always