Skip to content
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

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

kmehant
Copy link
Member

@kmehant kmehant commented Nov 26, 2019

Fixes #55

Tasks:

  • build
  • push

I have used buildah's manifests as boilerplates.

@ansible-zuul
Copy link
Contributor

ansible-zuul bot commented Nov 26, 2019

Build succeeded.

@packit-as-a-service
Copy link

Congratulations! The build has finished successfully. 🍾

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.

@TomasTomecek
Copy link
Collaborator

nice, looks good!

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

@kmehant
Copy link
Member Author

kmehant commented Nov 27, 2019

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.

@TomasTomecek
Copy link
Collaborator

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

@kmehant
Copy link
Member Author

kmehant commented Nov 27, 2019

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

@blaisep-vgs
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

write a tekton build template for bender
3 participants