Add GitLab CI
This commit is contained in:
parent
22e66cf8a5
commit
8a677f9546
|
@ -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
|
|
@ -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
|
Loading…
Reference in New Issue