Comments (4)
A neat little trick / workaround is to put those folders into your secrets file. While not a secret, they can be swapped out during CI using a secrets stub file
from home-assistant_config.
OK, I've been fighting with this for some time now...
The problem is paths...
/usr/bin/docker run --name homeassistanthomeassistantstable_b54071 --label aac2aa --workdir /github/workspace --rm -e INPUT_ARGS -e HOME -e GITHUB_JOB -e GITHUB_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_REPOSITORY_OWNER -e GITHUB_RUN_ID -e GITHUB_RUN_NUMBER -e GITHUB_ACTOR -e GITHUB_WORKFLOW -e GITHUB_HEAD_REF -e GITHUB_BASE_REF -e GITHUB_EVENT_NAME -e GITHUB_SERVER_URL -e GITHUB_API_URL -e GITHUB_GRAPHQL_URL -e GITHUB_WORKSPACE -e GITHUB_ACTION -e GITHUB_EVENT_PATH -e GITHUB_PATH -e GITHUB_ENV -e RUNNER_OS -e RUNNER_TOOL_CACHE -e RUNNER_TEMP -e RUNNER_WORKSPACE -e ACTIONS_RUNTIME_URL -e ACTIONS_RUNTIME_TOKEN -e ACTIONS_CACHE_URL -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/Home-Assistant_Config/Home-Assistant_Config":"/github/workspace" homeassistant/home-assistant:stable python -m homeassistant --config ./ --script check_config --info all
Testing configuration at /github/workspace/./
Failed config
homeassistant:
- not a directory @ data['allowlist_external_dirs'][0]
- allowlist_external_dirs: [source /github/workspace/./configuration.yaml:10]
- /config/tmp
Tried following:
sudo mkdir -p /config/tmp
sudo mkdir -p config/tmp
sudo mkdir -p ./config/tmp
And none of that is working.
The "easy" fix would be to completely redo my Home Assistant and GitHub repository, change all paths, move everything to /config folder... But that's easy in theory in practice I would have to redo all from scratch.
Probably easy fix, but I have no clue what to do next...
from home-assistant_config.
Wow, that really is a great trick! Never thought of that!
from home-assistant_config.
Thanks to the great tip, this is now fixed. Added a bit of complexity, but now both Travis CI and GitHub CI are working, with GitHub one also checking against Beta and Dev versions!
from home-assistant_config.
Related Issues (20)
- Seeed Studio XIAO 32C3 and mmWave sensor HOT 2
- Smart Doorbel by Marcel Zuidwijk HOT 1
- Command Line changes in 2023.6 HOT 1
- Support for roon in music assistant?? HOT 6
- HACS Room Card Examples HOT 5
- Log error: Shellies Discovery name fix HOT 2
- Log error: GitHub notification has error HOT 1
- Log error: Erathquake zone trigger issue HOT 1
- Bubble Card Examples HOT 5
- Linptech ES1 presence sensor automation example
- Low battery themplate HOT 1
- Media Control device Apple TV) refresh issue HOT 2
- GTFS examples HOT 1
- OpenEPaper Link code examples.
- Google Sheets integration HOT 1
- Smart Solar Inverter HOT 5
- Music Assistant HOT 5
- HASS.Agent implementation HOT 3
- ILI9488 display with ESPHome HOT 1
- Support for Lilygo T5-4.7 e-paper device HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from home-assistant_config.