ansible-bender icon indicating copy to clipboard operation
ansible-bender copied to clipboard

Add tekton config for build and push operations using ansible-bender

Open kmehant opened this issue 6 years ago • 7 comments

Fixes #55

Tasks:

  • build
  • push

I have used buildah's manifests as boilerplates.

kmehant avatar Nov 26 '19 11:11 kmehant

Build succeeded.

ansible-zuul[bot] avatar Nov 26 '19 11:11 ansible-zuul[bot]

Congratulations! The build has finished successfully. :champagne:

You can install the built RPMs by following these steps:

  • sudo yum install -y dnf-plugins-core on RHEL 8
  • sudo dnf install -y dnf-plugins-core on Fedora
  • dnf copr enable packit/ansible-community-ansible-bender-209
  • And now you can install the packages.

Please note that the RPMs should be used only in a testing environment.

nice, looks good!

the question is: how do we make this available to everyone and make sure it works?

TomasTomecek avatar Nov 27 '19 09:11 TomasTomecek

nice, looks good!

the question is: how do we make this available to everyone and make sure it works?

@TomasTomecek I guess, If one uses their own kubernetes cluster for a project, they can use this as a microservice in that cluster to build playbooks and push the final images to registry which we can automate the process using this Tekton pipelines service and some shell scripts. I am not of sure of how we can extend this to everyone without their own K8s cluster, may be we should pull a kubernetes service provider. Apart from this to use ansible-bender for CI/CD I suppose a dockerfile would be enough where we can mount playbooks and perform the build by getting this done on VMs on cloud similar to packit, Travis and CircleCI if I am not wrong.

kmehant avatar Nov 27 '19 12:11 kmehant

yes, it's expected that people have a k8s cluster on their own: my question was mainly around of fact that how do people even discover that they can use bender and ansible playbooks to build images in their tekton pipeline

I'd say that we should ask the tekton devs about this

TomasTomecek avatar Nov 27 '19 14:11 TomasTomecek

yes, it's expected that people have a k8s cluster on their own: my question was mainly around of fact that how do people even discover that they can use bender and ansible playbooks to build images in their tekton pipeline

I'd say that we should ask the tekton devs about this

@TomasTomecek I am little aware of this however I am doubting if there is any library for Tekton manifests so that devs can directly pull and use them.
Perhaps we can push it to their GitHub repo containing configs

kmehant avatar Nov 27 '19 15:11 kmehant

FWIW, I would be happy to post this to the k8s slack community!! Thank you @kmehant and @TomasTomecek !!

blaisep-vgs avatar Jun 11 '20 07:06 blaisep-vgs