I don’t have a pipeline setup, but, I simply took your 3 relevant commands and just tested them, and they worked fine for me…
balena preload balena.img --app 14
I did have to make an edit: I had to replace
curl and provide it with
Unzipping worked fine, of course.
A note on the
--app flag however, I could not use an Application ID number, I had to provide it with the friendly name of the application.
This ended up working fine on my machine, however:
david@david$ balena preload balena.img --app AppNameHere
Building Docker preloader image. [========================] 100%
| Checking that the image is a writable file
| Finding a free tcp port and getting balena settings
| Checking if the image is an edison zip archive
/ Creating preloader container
/ Starting preloader container
/ Fetching application AppNameHere
| Reading image information
? Select a release current
- Fetching application
- Resizing partitions and waiting for dockerd to start
Pulling 1 image [========================] 100%
| Cleaning up temporary files
Perhaps double check you are using the App friendly name, and, for testing purposes try running the commands on it’s their own on the target machine, perhaps there is an OS issue or the build machine doesn’t have all dependencies installed.