Skip to content

Commit

Permalink
🔨 Moved configuration stubs into different location, keepig configs c…
Browse files Browse the repository at this point in the history
…lean
  • Loading branch information
frenck committed Jun 24, 2018
1 parent d15f314 commit ddc01de
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .gitignore
@@ -1,4 +1,4 @@
.uuid
*.log
*.db
secrets.yaml
config/secrets.yaml
8 changes: 6 additions & 2 deletions .gitlab-ci.yml
Expand Up @@ -18,9 +18,13 @@ stages:
PYTHONPATH: "/usr/src/app:$PYTHONPATH"
before_script:
- python -m homeassistant --version
- mv config/fake_secrets.yaml config/secrets.yaml
- cp -R ./.stubs/* ./config
script:
- python -m homeassistant --config ./config/ --script check_config --info all
- |
python -m homeassistant \
--config ./config/ \
--script check_config \
--info all
tags:
- test

Expand Down
2 changes: 2 additions & 0 deletions .stubs/secrets.yaml
@@ -0,0 +1,2 @@
---
http_api_password: password
2 changes: 0 additions & 2 deletions config/fake_secrets.yaml

This file was deleted.

0 comments on commit ddc01de

Please sign in to comment.