-
-
Notifications
You must be signed in to change notification settings - Fork 30.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build hassfest docker image and pushlish it on beta/stable releases #124706
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks @edenhaus 👍
8483b76
to
04bb36a
Compare
Test run successfully: https://github.com/home-assistant/core/actions/runs/10597687168 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, but it would be great with a second opinion from someone more familiar with Docker
Please take a look at the requested changes, and use the Ready for review button when you are done, thanks 👍 |
run: docker run --rm -v ${{ github.workspace }}/homeassistant:/github/workspace/homeassistant ${{ env.HASSFEST_IMAGE_TAG }} --core-integrations-path=/github/workspace/homeassistant/components | ||
|
||
- name: Push Docker image | ||
if: needs.init.outputs.channel != 'dev' && needs.init.outputs.publish == 'true' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we did not target dev for this because there was no ":dev" tag.
As we are now inside the builder that also builds dev, is there still a reason to not update this on dev?
As this is used by custom integration authors, its better to get a new version of hassfest out to them as soon as possible right?
Breaking change
Proposed change
Build hassfest docker images when build workflow runs and test that the hassfest docker image successfully validates core.
On beta/stable releases the hassfest docker image will also be publish
Required for home-assistant/actions#111
Type of change
Additional information
Checklist
ruff format homeassistant tests
)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest
.requirements_all.txt
.Updated by running
python3 -m script.gen_requirements_all
.To help with the load of incoming pull requests: