10-01-2019 11:35 AM
Trying to setup Petalinux in gitlab so that it builds on every push.
I have created a docker container with Petalinux 2018.1 installed in it and I am using it in my .gitlab-ci.yml file to run petalinux-build command.
The images get built successfully in my local virtual machine when I use the docker image.
But when I run in gitlab it is always stuck in generating Kconfig for project step and it never goes beyond that stage.
Please help me to setup the build in gitlab.
11-12-2019 01:33 PM
I am also having trouble with this using petalinux 2018.2 on an ubuntu 16.04 base.
I can successfully run
echo E | petalinux-config --get-hw-description=../mypathtoHDF/
to generate the config when I am running docker locally. e.g.
docker run -it petalinux:2018.2
However, when the job is run through a gitlab runner it hangs on "[INFO] generating Kconfig for project"
I think that it might have something to do with the fact that gitlab-runner is starting docker with the env variable
I have tried manually setting that to `export TERM=xterm` (which is what it shows when I run docker locally) , but that doesn't seem to have any effect.
Please let me know if you solve this issue. I'll do the same.