Hi,
Where can I see the Dockerfile that is used to create "zuul/zuul-executor' image?
In the source tree I can see zuul/.zuul.yaml and there is a job 'zuul-build-image' but I don't see how it actually builds the image
I did 'sudo docker image inspect zuul-executor' in order to find what is the command line for the zuul/zuul-executor docker image
sudo docker image inspect zuul/zuul-executor
"Cmd": [ "/usr/local/bin/zuul-executor", "-f" ],
Thanks, Yaniv
Yaniv Levy yaniv.levy@broadcom.com writes:
Hi,
Where can I see the Dockerfile that is used to create "zuul/zuul-executor' image?
In the source tree I can see zuul/.zuul.yaml and there is a job 'zuul-build-image' but I don't see how it actually builds the image
I did 'sudo docker image inspect zuul-executor' in order to find what is the command line for the zuul/zuul-executor docker image
sudo docker image inspect zuul/zuul-executor
"Cmd": [ "/usr/local/bin/zuul-executor", "-f" ],
Thanks, Yaniv
It's the Dockerfile in the root of the Zuul repo:
https://opendev.org/zuul/zuul/src/branch/master/Dockerfile#L81
The job is based on the build-docker-image job and related roles in zuul-jobs: https://zuul-ci.org/docs/zuul-jobs/docker-jobs.html
They are fairly complex, since they handle a lot of cases.
-Jim
Thank you Jim. I will have a look. using Zuul to build, test and deploy Zuul. Who said recursion is bad? ;)
On Wed, Aug 11, 2021 at 5:54 PM James E. Blair jim@acmegating.com wrote:
Yaniv Levy yaniv.levy@broadcom.com writes:
Hi,
Where can I see the Dockerfile that is used to create
"zuul/zuul-executor'
image?
In the source tree I can see zuul/.zuul.yaml and there is a job 'zuul-build-image' but I don't see how it actually builds the image
I did 'sudo docker image inspect zuul-executor' in order to find what is the command line for the zuul/zuul-executor docker image
sudo docker image inspect zuul/zuul-executor
"Cmd": [ "/usr/local/bin/zuul-executor", "-f" ],
Thanks, Yaniv
It's the Dockerfile in the root of the Zuul repo:
https://opendev.org/zuul/zuul/src/branch/master/Dockerfile#L81
The job is based on the build-docker-image job and related roles in zuul-jobs: https://zuul-ci.org/docs/zuul-jobs/docker-jobs.html
They are fairly complex, since they handle a lot of cases.
-Jim
On Thu, Aug 12, 2021 at 06:47:09PM +0300, Yaniv Levy wrote:
Thank you Jim. I will have a look. using Zuul to build, test and deploy Zuul. Who said recursion is bad? ;)
I recently wrote a more introductory overview of the process of testing containers with Zuul in [1]. If this is something you're bootstrapping yourself on, it might be handy and also feedback welcome! You can view a preview at [2]
-i
[1] https://review.opendev.org/c/zuul/zuul-jobs/+/798969 [2] https://72d3dd63c0813b824403-2ba736dcd595b4165a27967d8f6d1521.ssl.cf2.rackcd...
participants (3)
-
Ian Wienand
-
James E. Blair
-
Yaniv Levy