mirror of
https://gitlab.com/skobkin/home-assistant-config.git
synced 2024-10-13 03:33:12 +00:00
Trying to add config testing pipeline to Gitlab CI.
This commit is contained in:
parent
911bdc66d2
commit
9a43aad240
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -2,6 +2,7 @@
|
|||
*
|
||||
|
||||
# Excluding these files
|
||||
!.gitlab-ci.yml
|
||||
!*.yaml
|
||||
!.gitignore
|
||||
!*.md
|
||||
|
|
12
.gitlab-ci.yml
Normal file
12
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,12 @@
|
|||
image: 'python:3.5-slim'
|
||||
|
||||
before_script:
|
||||
- cp ci_secrets.yaml secrets.yaml
|
||||
- apt-get install -y libudev-dev
|
||||
- pip3 install homeassistant
|
||||
|
||||
check_config:
|
||||
script:
|
||||
- hass -c . --script check_config
|
||||
|
||||
|
27
ci_secrets.yaml
Executable file
27
ci_secrets.yaml
Executable file
|
@ -0,0 +1,27 @@
|
|||
xiaomi_vacuum1_ip: 0.0.0.0
|
||||
xiaomi_vacuum1_token: token
|
||||
|
||||
xiaomi_gateway1_mac: 00:00:00:00:00:00
|
||||
xiaomi_gateway1_key: key
|
||||
|
||||
mikrotik_router1_ip: 0.0.0.0
|
||||
mikrotik_router1_username: login
|
||||
mikrotik_router1_password: password
|
||||
|
||||
emby_media_ip: 0.0.0.0
|
||||
emby_media_api_key: key
|
||||
|
||||
samsung_tv_media_name: tv1_name
|
||||
samsung_tv_media_ip: 0.0.0.0
|
||||
samsung_tv_media_mac: 00:00:00:00:00:00
|
||||
|
||||
lg_tv_media_name: tv2_name
|
||||
lg_tv_media_ip: 0.0.0.0
|
||||
|
||||
transmission_torrent_host: 0.0.0.0
|
||||
transmission_torrent_username: login
|
||||
transmission_torrent_password: password
|
||||
|
||||
telegram_bot_key: key
|
||||
telegram_bot_chat_id: 0000000
|
||||
|
Loading…
Reference in a new issue