-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
more doc updates and minor tui tweaks (#108)
* fix ruamel.yaml link * create an assets directory and move all images and videos there along with fonts * fix font * add our first video, resize the modify globals modal, and regenerate all the screenshots after screensize changes * add delete cluster tooltip * adding more videos * remove full_tour.mov as it's missing details * expand the kubevirt docs * update seaweedfs and add cnpg operator base * add seaweedfs diagrm fix missing files for kubevirt * tidy up mastodon * fix mastodon link * Create CONTRIBUTING.md - because we didn't have one before :O * clean up readme images * slimming the readme and linking docs * replace yes and no with check mark and x emojis * add more details on changed stuff * add more notes about upgrading * slimming down readme more * Update README.md - clean up grammar * cleanup kubevirt and add details to seaweedfs * bump pyproject version to 2.0.0b2 * lock poetry --------- Co-authored-by: cloudymax <[email protected]>
- Loading branch information
Showing
121 changed files
with
3,235 additions
and
2,875 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
# Contributing | ||
|
||
Please be nice. The maintainers are very soft. | ||
|
||
Otherwise, please feel free to contribute anything: Issues (bug reports and feature requests), Pull requests, and Discussions | ||
|
||
# Submitting Pull Requests | ||
|
||
If it's a doc fix, don't worry about testing, just explain what you're fixing and we're a-ok 👍 | ||
|
||
If it's a code fix, please: | ||
- don't forget to bump the version in [`pyproject.toml`](https://github.com/small-hack/smol-k8s-lab/blob/main/pyproject.toml#L3) | ||
- test your code before submitting it and explain how you tested it in the pull request | ||
|
||
## Development | ||
|
||
`smol-k8s-lab` is written in Python. You can check out the [`pyproject.toml`](./pyproject.toml) for the versions of each library we install below: | ||
|
||
- [bcrypt] (to pass a password to argocd and automatically update your Bitwarden) | ||
- [rich] (this is what makes all the pretty formatted text in logs and `--help`) | ||
- [textual] (this is the framework used for writing the TUI) | ||
- [ruamel.yaml] (to handle the k8s yamls and configs while maintaining comments) | ||
- [click] (handles arguments for the CLI) | ||
|
||
We also utilize the [Bitwarden cli], for a password manager so you never have to see/know your Argo CD password. | ||
|
||
NOTE: We're open to unit, integration, and ci testing btw! We just don't have any because we weren't stable enough to justify them yet. 🤦 | ||
|
||
### Prereqs | ||
|
||
- [poetry](https://python-poetry.org/docs/#installation) to manage our dependencies and virtual environments for python. | ||
- [pre-commit](https://pre-commit.com/index.html#install) to manage pre-commit hooks, mostly related to poetry | ||
|
||
```bash | ||
git clone [email protected]:small-hack/smol-k8s-lab.git | ||
cd smol-k8s-lab | ||
pre-commit install | ||
``` | ||
|
||
### virtual environment | ||
|
||
Install the project locally after cloning it. | ||
|
||
```bash | ||
# this installs a local version of smol-k8s-lab that points to your cloned repo directly | ||
poetry install | ||
``` | ||
|
||
And then you can do all your development in a virtual environment by running: | ||
|
||
```bash | ||
# this sources the virtual env for this project | ||
poetry shell | ||
|
||
# this will print your version you're working on | ||
smol-k8s-lab --version | ||
``` | ||
|
||
When you're done playing with your environment, you can just type `exit` to leave the shell :) | ||
|
||
<!-- smol-k8s-lab dependency lib link references --> | ||
[Bitwarden cli]: https://bitwarden.com/help/cli/ | ||
[bcrypt]: https://pypi.org/project/bcrypt/ | ||
[click]: https://pypi.org/project/click/ | ||
[rich]: https://github.com/Textualize/richP | ||
[ruamel.yaml]: https://pypi.org/project/ruamel.yaml/ | ||
[Poetry]: https://python-poetry.org/ | ||
[textual]: https://github.com/Textualize/textual |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
314 changes: 314 additions & 0 deletions
314
docs/assets/images/screenshots/add_k3s_option_screen.svg
Large diffs are not rendered by default.
Oops, something went wrong.
File renamed without changes
Large diffs are not rendered by default.
Oops, something went wrong.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
300 changes: 300 additions & 0 deletions
300
docs/assets/images/screenshots/distro_config_screen.svg
Large diffs are not rendered by default.
Oops, something went wrong.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
315 changes: 315 additions & 0 deletions
315
docs/assets/images/screenshots/modify_global_parameters_modal_screen.svg
Large diffs are not rendered by default.
Oops, something went wrong.
314 changes: 314 additions & 0 deletions
314
docs/assets/images/screenshots/new_app_modal_screen.svg
Large diffs are not rendered by default.
Oops, something went wrong.
File renamed without changes
Large diffs are not rendered by default.
Oops, something went wrong.
File renamed without changes
Large diffs are not rendered by default.
Oops, something went wrong.
228 changes: 115 additions & 113 deletions
228
docs/images/screenshots/tui_help_screen.svg → ...ts/images/screenshots/tui_help_screen.svg
Large diffs are not rendered by default.
Oops, something went wrong.
File renamed without changes
File renamed without changes
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
285 changes: 0 additions & 285 deletions
285
docs/images/screenshots/modify_global_parameters_modal_screen.svg
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
beepboop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.