Comments (3)
Let me think about this a little, it might be out of scope for this tool and better suited for some form of configuration management/scripting... although presumably you have the test suite already there.... What's the use case you're hoping to address?
from packer-plugin-goss.
So, I'm building buildkite agents via packer, bash and ansible.
For local iteration, I'm using the https://github.com/indusbox/goss-ansible role to download and install goss
to the system (/usr/local/bin
).
During packer builds, I'm using your module to run my tests (so I get 2 test runs, since I haven't bothered making the ansible goss run conditional on "is-packer").
We've had a myriad of problems with people remoting onto build agents in the past to debug builds, then not cleaning up after themselves. Shifting to buildkite is new for us, and so we're going to be treating the infrastructure much more like cattle.
The idea of setting up goss as a health check, then having a load-balancer continuously ping it, and trigger the node to be burned if it fails too many health checks in a row is a really compelling idea.
I think, that said, it's a problem better solved by config management.
That said, since I'm installing goss via config management, it would be convenient to be able to tell the plugin to use the goss
that I install, rather than going out to fetch it. I had a look and didn't see that that was currently possible; is it?
from packer-plugin-goss.
closing old issues, reopen if still interested 👍
from packer-plugin-goss.
Related Issues (20)
- Debug option is invalid for `goss validate` HOT 1
- Need automated build for binaries HOT 9
- Set HTTP_PROXY gets ignored for goss binary download HOT 2
- Issue when using HCL2 for packer templates HOT 11
- Documentation not displayed on pkg.go.dev due to missing LICENSE file HOT 8
- Update plugin protocol
- Packer throwing error while provisioning goss during cicd. HOT 1
- No test error details during packer build HOT 2
- packer validate breaks with unknown configuration key HOT 3
- Running into issue while Testing Windows AMI HOT 2
- [Feature Request] Add support for usage of required_plugins HOT 5
- Please re-add arm64 binaries to release
- PR Proposal: update to latest Packer SDK and modern plugin support HOT 1
- Provision with Packer and Chef HOT 1
- Packer is grumpy about repo name. HOT 2
- Rename repository to support packer init HOT 1
- Add dependabot for github workflow and go dependencies HOT 1
- Passing ENV variable to goss plugin HOT 4
- Ability to download goss cli from somewhere else rather than github.com HOT 2
- amd64 for linux missing on the release HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from packer-plugin-goss.