Closed shawaj closed 1 month ago
Not sure if this is just me seeing this - or whether it is across the board
(oops, closed accidentally)
From the docs page...
Note: Currently git submodules are not supported and will not build properly.
https://docs.balena.io/learn/deploy/deploy-with-balena-button/.
IMO this change should be reverted to re-enable deploy with balena as it's by far the easiest way for people to get started and to update their device.
Also, as a side point, having url = git@github.com:balena-os/wifi-connect.git
in the .gitmodules
file means that anyone trying to clone will require a configured SSH key for git. I would suggest better to use the non-SSH based cloning so this is not required
Balena push actually works on my side, but the deploy with balena indeed seems to be broken.
Balena push actually works on my side, but the deploy with balena indeed seems to be broken.
the balena push thing was due to me not having cloned recursive and/or it being an SSH github link in .gitmodules and me being on a machine currently where I don't have SSH key set up as per normal so get permission denied error when trying recursive clone:
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
Changing .gitmodules to the https URL and git submodule sync
and git submodule update --init
fixed it
Thanks for identifying and correcting this issue, guys! Unfortunately, I didn't test the blue button deployment before reviewing the previous PR. I guess this was why we didn't use a submodule when we implemented this.
I think maybe Deploy with Balena is broken on balena end.
Does it work for you now @Teko012 @ketilmo ?
For me it still doesn't, including this project but also from all on https://hub.balena.io/
Create a post here - https://forums.balena.io/t/deploy-with-balena-buttons-no-longer-work/371097
Deploy with Balena is working again 👍
Thanks for following up and getting this issue resolved, @shawaj. Great work!
Deploy with balena breaks due to #114
Also,
balena push
does not work...It seems to be due to submodules setup as far as i can tell
I realise the above can be solved by a recursive clone but I think maybe deploy with balena can't handle that?