Packer: Add CI service OpenLab

Created on 18 Oct 2018  ยท  5Comments  ยท  Source: hashicorp/packer

Good day. I work with a project called OpenLab which I can explain most simply as free resources to perform various testing. Our primary goal is to establish baseline information/detail/reports for others to consume and understand about stacks of open source projects working together for a specific use case/industry/technology; LAMP is a good example of this.

We have been working to get more visibility and integration of open source projects with OpenStack in particular for the past year and have done quite well. In particular interest is our work with Kubernetes which has led us to provide CI for gophercloud, terraform (OpenStack provider), kubernetes (cloud-provider-openstack and cluster-api-provider-openstack).

We are interested in doing the same for the packer community (OpenStack builder) and I am opening this issue to start that conversation. We have a few options if the community is up for this but all require installing the GitHub App which basically allows us to receive a payload for every PR. Currently we report back status of pending, failure, or success which can be used as a gate for a PR or a signal for the PR in particular and the packer release at large.

buildeopenstack community-supported plugin

All 5 comments

Hello @mrhillsman,
I would love to have integration testing of the packer OpenStack builder.

I'm feeling too new to make that call on my own but I'll pass the info around; I think it would be very valuable to packer !

In the meantime, it would be nice to have usage examples; I found only this terraform-provider-openstack/.zuul.yaml file, which seems to be doing this; but I didn't really understand.

Also I was wondering who would do the PR for this.

Hey @azr thanks for the quick feedback. We have created some jobs for packer as well that run against devstack here and we have OpenStack based public clouds allowing us to run packer jobs which we have here. Of course much more can be done being that we use Ansible under the hood which offers a lot of flexibility in job definition.

Regarding setup we have a team who would help get it done as well as be willing to assist with ensuring the needed jobs are running. We worked very closely with a team at SAP to bring this to CloudFoundry's BOSH OpenStack CPI helping them run against newer versions of OpenStack which you can see here. I hope these examples help. Of course we are more than happy to work out what the packer community needs from us to make this happen.

Hi @mrhillsman,

First of all, thanks for the offer!

HashiCorp has a fairly nascent internal tools team that is working on a unified CI pipeline for all of our various projects. I spoke to them about this, and they've already settled on a CI provider. If you're offering an OpenStack platform that we could run builds against from our own CI service via a cloud token, we'd be interested in that, but we don't want to change CI platforms out from under our infrastructure team, and we don't want to set up an entirely separate GitHub integration for OpenStack than we're going to set up for our other builders. HashiCorp is pretty particular about adding GitHub apps to our projects, even our OSS ones, so I don't think we're going to be able to integrate with you in that manner.

Thanks again for reaching out, though!

Megan

Hi @SwampDragons

Thanks for the response. If the team based on their knowledge and roadmap of the project determine at some point our offer makes sense please let us know.

I'm going to lock this issue because it has been closed for _30 days_ โณ. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

DanielBo picture DanielBo  ยท  3Comments

mvermaes picture mvermaes  ยท  3Comments

craigsimon picture craigsimon  ยท  3Comments

brettswift picture brettswift  ยท  3Comments

wduncanfraser picture wduncanfraser  ยท  3Comments