ha-testing/.drone.yml
sthope 35892c831d
Some checks failed
continuous-integration/drone/push Build is failing
Update '.drone.yml'
2021-09-02 12:35:01 +02:00

50 lines
1.0 KiB
YAML

---
kind: pipeline
name: default
steps:
- name: Test HA stable
pull: always
image: homeassistant/home-assistant:latest
commands:
- mv mock_secrets.yaml secrets.yaml
- cp -r . /config/
- hass -c /config --script check_config
- name: Test HA rc
pull: always
image: homeassistant/home-assistant:rc
commands:
- mv mock_secrets.yaml secrets.yaml
- cp -r . /config/
- hass -c /config --script check_config
- name: Test HA dev
pull: always
image: homeassistant/home-assistant:dev
commands:
- mv mock_secrets.yaml secrets.yaml
- cp -r . /config/
- hass -c /config --script check_config
- name: discord
pull: always
image: appleboy/drone-discord:1
avatar_url: "https://git.sthope.dev/sthope/drone_test/raw/branch/master/rick.png"
environment:
DISCORD_WEBHOOK_ID:
from_secret: discord_webhook_id
DISCORD_WEBHOOK_TOKEN:
from_secret: discord_webhook_token
when:
event:
- push
- tag
- pull_request
- deployment
status:
- changed
- failure
- success