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

Provide a simple way to check the spacegun configuration #32

Open
priegger opened this issue Sep 6, 2018 · 1 comment
Open

Provide a simple way to check the spacegun configuration #32

priegger opened this issue Sep 6, 2018 · 1 comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@priegger
Copy link
Collaborator

priegger commented Sep 6, 2018

Is your feature request related to a problem? Please describe.
In case feature branches and merges are used to update the spacegun configuration, it might be nice to have an automated way to "lint" the new spacegun config before submitting it.

Describe the solution you'd like
A command line switch for one of the spacegun tools (probably standalone) should exist, that makes spacegun read the complete config (either from the filesystem or from a given git branch). The command terminates as soon as possible and the return value indicates, wether the config is ok or not.

Describe alternatives you've considered
It might be possible so start spacegun and parse the (log) output, but this is messy. So there's no real alternative.

Additional context

  • This should be usable from CI (e.g. Jenkins).
  • It might be nice to have more advanced checks, probably later on: Is the k8s config ok? Do the mentioned config maps and secrets exist?
@priegger priegger added the help wanted Extra attention is needed label Sep 6, 2018
@dvallin
Copy link
Owner

dvallin commented Sep 6, 2018

Shouldn't be too hard. Have a look at
spacegun/src/config/index.ts

@dvallin dvallin added good first issue Good for newcomers conceptual This issue is just a draft yet and needs more conceptual work and removed conceptual This issue is just a draft yet and needs more conceptual work labels Sep 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants