ansible-bender
ansible-bender copied to clipboard
Add tekton config for build and push operations using ansible-bender
Fixes #55
Tasks:
- build
- push
I have used buildah's manifests as boilerplates.
Congratulations! The build has finished successfully. :champagne:
You can install the built RPMs by following these steps:
sudo yum install -y dnf-plugins-coreon RHEL 8sudo dnf install -y dnf-plugins-coreon Fedoradnf 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?
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.
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
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
FWIW, I would be happy to post this to the k8s slack community!! Thank you @kmehant and @TomasTomecek !!