Add GitLab CI

This commit is contained in:
Correl Roush 2018-06-08 17:12:12 -04:00
parent 22e66cf8a5
commit 8a677f9546
2 changed files with 24 additions and 0 deletions

12
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,12 @@
image: alpine:latest
before_script:
- apk update
- apk add python3
- pip3 install homeassistant==$(cat .HA_VERSION)
test:config:
script:
- cp secrets.example.yaml secrets.yaml
- touch zones.yaml
- hass -c . --script check_config --files

12
secrets.example.yaml Normal file
View File

@ -0,0 +1,12 @@
# Use this file to store secrets like usernames and passwords.
# Learn more at https://home-assistant.io/docs/configuration/secrets/
home_latitude: 25.700819
home_longitude: 139.771893
home_elevation: 93
http_password: secret
aws_access_key_id: secret
aws_secret_access_key: secret
darksky_api_key: secret
notifymyandroid_api_key: secret