Of course, I had changed my code… lol
This is my command:
balena deploy testPOC --nocache -b -s ./
Anything wrong?
And I’ve just found another issue…
If we execute balena deploy
, this will be built on the machine that I’ve executed.
The target device has GPU board, so I have to install nvidia driver.
But the local PC where the balena deploy
command is executed does not have the gpu board…
So I am getting this error when building:
root@plextreme-UP-WHL01:~/BalenaPOC# balena deploy testPOC --nocache -b -s ./
[Info] Compose file detected
[Info] Building for amd64/intel-nuc
[Build] Built 5 services in 2:47
[Build] redis Image is up to date for redis:latest
[Build] mqtt Image is up to date for eclipse-mosquitto:latest
[Build] node-red Successfully tagged balenapoc_node-red:latest
[Build] object-detector [==========> ] 50% Step 11/22: 2 upgraded, 61 newly installed, 0 to remove and 45 not upgraded.
[Build] camera-feeder Successfully tagged balenapoc_camera-feeder:latest
[Error] Deploy failed
The command '/bin/bash -c apt-get install -y nvidia-driver-435' returned a non-zero code: 100
Additional information may be available by setting a DEBUG=1 environment
variable: "set DEBUG=1" on a Windows command prompt, or "export DEBUG=1"
on Linux or macOS.
If you need help, don't hesitate in contacting our support forums at
https://forums.balena.io
For bug reports or feature requests, have a look at the GitHub issues or
create a new one at: https://github.com/balena-io/balena-cli/issues/
Do I have to execute balena deploy
command on the one with GPU?
Cheers.