-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
Added automation for light hotspots #414
Added automation for light hotspots #414
Conversation
i think it is useful to keep these, so we can easily see from github the latest version (as well as the fact we need to push that to the relevant balena openfleets directories) also, i think we need to keep device arch (the reason we added that is to support 5g in here further down the line which uses amd64) the only way around that would be to put arch in hm-pyhelper and use it as part of the workflows in this repo as per #336 |
I'm against keeping any automated output files in the repo. IMHO these are just unnecessary steps making things complicated. Also they include old information (previous commit). If any developer changes something locally and pushes manually to a fleet, the information would be incorrect. Without a compose file, any of a new developer would understand the necessity to create one and refer to readme. Long story short, I'm still on the remove side.
As of now nothing was referencing to the architecture. So removing the extra information from settings.ini made things a lot simpler. If we'd need an architecture variation some day, we'd solve it like your suggestion (#336) |
1d10365
to
585e062
Compare
We shouldn't be pushing manually to testnet or production fleets IMO. Also, having a quick reference for debugging rather than having to generate one from a python script is very useful when errors arise. And we need them for the other balena OpenFleets repos so I don't see any way around keeping them.
Sure, for lights it's maybe not relevant as it won't be referenced. We will need the arch stuff for 5g very soon though so we should bump that up. |
20b1970
to
938dcd2
Compare
I also think build time access to arch might come in handy with dockerfiles down the line. |
The main idea is, add more complexity when it's needed. Not upfront. |
The next stop is changing the start script to full python and implement all of these with the help of hm-pyhelper. But this ticket is long overdue, it will be nice to move it to testnet and then tackle with all of those in the next step. |
…y for every device type. Removed necessity for upfront I2C device report. Now a single release could be used for all of the devices. (#399)
938dcd2
to
6f85b8b
Compare
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.
@MuratUrsavas - looks good to me.
Looking again now. Sorry for delay |
Yeah makes sense. We can always change before merging gateway-rs stuff to mainline. @MuratUrsavas all looks good to me other than the failing unit tests |
The test failures showed up after the rebase. Those additions belong to @pritamghanghas so I didn't touch them to not to break anything. |
@MuratUrsavas has to related to version change. It was working till about a couple of days back. |
@@ -93,4 +87,3 @@ networks: | |||
ipam: | |||
driver: default | |||
config: | |||
- subnet: 172.20.0.0/16 |
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.
@MuratUrsavas removal of this line broke docker-compose. Please add it back.
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.
Arghh. @pritamghanghas it should be left as like this while testing. Didn't mean to remove that. Will open a quick PR.
Also removed necessity for upfront I2C device report. Now a single release could be used for all of the devices.
Issue
(#399)
How
Checklist