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

Allow availability to be updated in a project #287

Open
seanhamlin opened this issue Aug 21, 2023 · 2 comments
Open

Allow availability to be updated in a project #287

seanhamlin opened this issue Aug 21, 2023 · 2 comments

Comments

@seanhamlin
Copy link
Collaborator

Is your feature request related to a problem? Please describe.

I would like Lagoon CLI to be able to update a Lagoon project for the availability flag.

mutation updateProject {
  updateProject(input: {id: 1238, patch: {availability: HIGH}}) {
    id
  }
}

Describe the solution you'd like

A new option in lagoon update project

Describe alternatives you've considered

@tobybellwood
Copy link
Member

Given lagoon doesn't utilise this field currently (and may not in the future), I'd be hesitant to implement a specific command for it?

Future direction for setting and defining workloads needs to be more flexible than the current ENUM.

@Schnitzel
Copy link
Contributor

the cli should not judge what is useful or not, the lagoon api has the field so it should be exposed via the CLI. The CLI is exposing other data that is way less used in the API (like the meta data fields) and they are still in the CLI.

So I vote to add support for it asap and create a documentation in lagoon that explains what the field is used for and what not.

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

No branches or pull requests

3 participants