i am totally new to CI, decided to try it actually just to build a small cortex-m4 firmware.
Found some examples, using “dind”, and not sure if it’s the right way, but at least this solution seems not requiring to install anything on a server.
Issues i am having now are:
- once docker in docker is executed (docker run) gitlab project files are located in /builds/spectrum70/zion-firmware but seems i can access them only after a “ls -al /”
(so have to do something like docker run image ls -al /; /builds/spectrum70/zion-firmware/script.sh), otherwise i get a file not found. This seems strange.
- even if make command should be installed in the final docker, seems it’s not there
/builds/spectrum70/zion-firmware/scripts/test.sh: line 13: make: not found
Every help really appreciated. Thanks !
You can check dockerfile and https://gitlab.com/spectrum70/zion-firmware/-/blob/master/.gitlab-ci.yml