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

Disable provisioning of new nomad apps #2287

Merged
merged 1 commit into from May 16, 2023
Merged

Conversation

alichay
Copy link
Contributor

@alichay alichay commented May 16, 2023

note: turboku is untested. it used to force nomad, and now it doesn't.

  1. removes the --machines flag on fly apps create, hides the --nomad flag for apps create (and if it's specified, throws an error).
  2. hides the --force-nomad and --force-machines flags for deploy/launch. they are now unused, but I didn't want to potentially break pipelines that use these flags. (and --force-nomad being specified can throw more helpful errors than just unknown flag)
  3. deploy pulls which platform to use solely from the existing app (assumes machines if the platform version != "nomad")
  4. fly launch always uses machines and throws an error if --force-nomad is specified.

@alichay
Copy link
Contributor Author

alichay commented May 16, 2023

should have addressed everything. squashed the commits though because it was getting a bit unruly for such a small change haha

Copy link
Member

@dangra dangra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Does it pass preflight tests?

@alichay alichay merged commit 2b0aff7 into master May 16, 2023
9 checks passed
@alichay alichay deleted the feat/all-apps-are-v2 branch May 16, 2023 19:23
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.

None yet

3 participants