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

Nebari cli: Add files _init.py and main.py #1423

Merged
merged 2 commits into from
Sep 2, 2022
Merged

Conversation

asmijafar20
Copy link
Contributor

Fixes | Closes | Resolves #

Please remove anything marked as optional that you don't need to fill in.
Choose one of the keywords preceding to refer to the issue this PR solves, followed by the issue number (e.g Fixes # 666).
If there is no issue, remove the line. Remove this note after reading.

Changes introduced in this PR:

Types of changes

What types of changes does your PR introduce?

Put an x in the boxes that apply

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds a feature)
  • Breaking change (fix or feature that would cause existing features to not work as expected)
  • Documentation Update
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no API changes)
  • Build related changes
  • Other (please describe):

Testing

Requires testing

  • Yes
  • No

In case you checked yes, did you write tests?

  • Yes
  • No

Documentation

Does your contribution include breaking changes or deprecations?
If so have you updated the documentation?

  • Yes, docstrings
  • Yes, main documentation
  • Yes, deprecation notices

Further comments (optional)

If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered and more.

Copy link
Member

@iameskild iameskild left a comment

Choose a reason for hiding this comment

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

Thanks for this @asmijafar20 :)

We'll need to write callback functions for many of the options (see _init.py:check_cloud_provider_creds) but we can do that in a later PR.

Feel free to open new PRs again this same branch (typer_cli) as often you have new code to contribute. I'll make sure to review them within 24 hours!

cc @trallard

@iameskild iameskild merged commit 731bc14 into typer_cli Sep 2, 2022
@iameskild iameskild deleted the typer_cli_asmi branch September 2, 2022 23:21
viniciusdc added a commit that referenced this pull request Oct 7, 2022
* Initial typer CLI implmentation

* edit logic

* Nebari cli: Add files _init.py and main.py (#1423)

* Nebari cli: Add files _init.py and main.py

* run pre-commit

Co-authored-by: iameskild <eskild@doublee.io>

* Order CLI commands

* Nebari typer cli commands (#1432)

* Nebari typer cli commands

* add validate command

* Change validate command

* add precommit

* Nebari Render Command (#1433)

* Nebari Render Command

* add render_template

* Add dry-run

* Updates to init

* More work on init

* Nebari deploy and destroy commands (#1436)

* Nebari deploy and destroy commands

* Add typer confirm to destroy command

* Run pre-commit

Co-authored-by: eskild <42120229+iameskild@users.noreply.github.com>
Co-authored-by: iameskild <eskild@doublee.io>

* Add guided-init

* Add deploy flags and change repository default value (#1441)

* Nebari deploy and destroy commands

* Add typer confirm to destroy command

* Add deploy arguments and change repository default value

* Add rendre design

* Run pre-commit

Co-authored-by: eskild <42120229+iameskild@users.noreply.github.com>
Co-authored-by: iameskild <eskild@doublee.io>

* Nebari Typer CLI

* Add pre-commit

* Add disable_checks in deploy command

* Combine guided-init and init, part 1

* Remove `dotenv` work. (#1472)

* Remove Usage: dotenv [OPTIONS] COMMAND [ARGS]
* Remove pathlib

* guided-init clean up

* Added `support`, `cost`, `upgrade` and `keycloak` commands. (#1468)

* Add , ,  and  commands.

* Add pre-commit

* Add pre-commit

* Add pre-commit

* Add rich print

* Change do_keycloak function

* Create two keycloak subcommands

Co-authored-by: iameskild <eskild@doublee.io>
Co-authored-by: eskild <42120229+iameskild@users.noreply.github.com>

* clean up

* update help messages

* Update qhub/cli/_init.py

Co-authored-by: Pavithra Eswaramoorthy <pavithraes@outlook.com>

* Update qhub/cli/_init.py

Co-authored-by: Pavithra Eswaramoorthy <pavithraes@outlook.com>

* Changes from review, part 1

* Update qhub/cli/_init.py

Co-authored-by: Pavithra Eswaramoorthy <pavithraes@outlook.com>

* Update qhub/cli/_init.py

Co-authored-by: Pavithra Eswaramoorthy <pavithraes@outlook.com>

* Update qhub/cli/_init.py

Co-authored-by: Tania Allard <taniar.allard@gmail.com>

* Update qhub/cli/_init.py

Co-authored-by: Tania Allard <taniar.allard@gmail.com>

* Update qhub/cli/_init.py

Co-authored-by: Tania Allard <taniar.allard@gmail.com>

* Update qhub/cli/_init.py

Co-authored-by: Tania Allard <taniar.allard@gmail.com>

* Update qhub/cli/_init.py

Co-authored-by: Tania Allard <taniar.allard@gmail.com>

* Update qhub/cli/main.py

Co-authored-by: Tania Allard <taniar.allard@gmail.com>

* Changes from review, part 2

* Update env, clean up

* Changes from review, part 3

* Minor update

* Changes based review, part 4

* more clean up

* Add `version` options to Nebari CLI (#1476)

* Add version Options to Nebari

* Add pre-commit

Co-authored-by: eskild <42120229+iameskild@users.noreply.github.com>

* Change colour from blue1 to green and spring_green to blue

* Add suggested changes, Remove extra spaces

* Add pre-commit

* change kubernetes msg

* Update CI to use new nebari cli entrypoint (#1480)

* Update CI to use new nebari cli entrypoint

* Add --disable-prompt to nebari init

* Update name of keycloak subcommands

* Reorder command

* Update command

* Minor update to test_e2e

* Update hostname used for test_deployment

* Another minor update to the tests_e2e

* Add --disable-prompt to nebari destroy

* use --disable-prompt in ci test

* Update .github/workflows/kubernetes_test.yaml

Co-authored-by: Vinicius D. Cerutti <51954708+viniciusdc@users.noreply.github.com>

* Update kubernetes_test.yaml

* Update .github/workflows/kubernetes_test.yaml

Co-authored-by: Tania Allard <taniar.allard@gmail.com>

* Update qhub/cli/main.py

Co-authored-by: Tania Allard <taniar.allard@gmail.com>

* Fix yaml

* Fix yaml again

Co-authored-by: Vinicius D. Cerutti <51954708+viniciusdc@users.noreply.github.com>
Co-authored-by: Tania Allard <taniar.allard@gmail.com>

Co-authored-by: iameskild <eskild@doublee.io>
Co-authored-by: eskild <42120229+iameskild@users.noreply.github.com>
Co-authored-by: Pavithra Eswaramoorthy <pavithraes@outlook.com>
Co-authored-by: Tania Allard <taniar.allard@gmail.com>
Co-authored-by: Vinicius D. Cerutti <51954708+viniciusdc@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants