New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CI] Try with docker build OBS images #5257
Conversation
@hennevogel now I remember what the problem was with the user: In the kiwi build we set the frontend user Solution would be that we set root user in the frontend-base image and need to switch the user in the CI run to frontend. |
Or the other way around like we did in Dockerfile and Dockerfile.frontend-base:
|
This is what we do now, this is why the CI fails! The problem is that in CI we use the frontend-base container and not frontend (because we don't want to build). So nothing is switching it back to frontend. |
c1020d4
to
31817fa
Compare
because we changed to use Docker to build the images in OBS. Therefore we set now the root user for the frontend-base image to be similar to the development frontend-base image. Therefore we need to switch now to the frontend user in CircleCI to execute the tests not as root user.
as we changed how we build the docker images in OBS to include a bundle cache already. This bundle cache is now installed into the system bunde directory so we need to change the CircleCI cache as well.
I tested the images and they seem to work. They're still in my home directory but I will move them over to the O:S:U subproject now. As soon as they finished building, our CI most likely will start to fail. Not 100% sure if we can already merge this PR before. |
Because? |
I need to wait if CircleCI is complaining ... 😄 |
the circleci complaint is about the rename, so go ahead :) |
I built the docker images now with native docker and used the bundle gems service. Let's see if CI works.
https://build.opensuse.org/project/show/home:cbruckmayer:containers