Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Update perms #135

Merged
merged 25 commits into from
Oct 20, 2023
Merged

Update perms #135

merged 25 commits into from
Oct 20, 2023

Conversation

Heavybullets8
Copy link
Owner

No description provided.

Heavybullets8 and others added 25 commits May 12, 2023 01:53
CNPG deployments now get their own resource count tied to them, allowing them to be independently scaled
do not exit when update always is also called
Fixed text typo in backup menu.
- Stop/Start with new stopAll checkbox in Truecharts, charts.
- Improve message for heavyscript mount
- Suppress false error after exiting container shell
- Add in error message for when an applications fails to enter the desired state even after a rollback
- Fix restart app function to accept multiple deployments
- Start CNPG app if stopped during backup
- Correctly use the stopAll for cnpg applications
[Bugfixes]
- Suppress errors
- Better verbose message for time to become active in update function
- Abort "scale" jobs when starting applications
-  - Fixes errors when starting various applications
- Allow for --disable-apt to remove executable perms
- Add dpkg as a executable binary
With this update, we've made significant improvements to the App Handler in `heavyscript` to make multi-app operations more seamless:

- **Multi-App Support:** Users can now specify multiple app names or use the keyword 'ALL' for start, stop, and restart  operations.
- **Improved App Prompts:** When no app_name is provided, the script prompts users to select from available applications, making it more user-friendly.
- **Enhanced Help Function:** The help page has been updated to provide clear instructions on multi-app operations and using the 'ALL' keyword.
- **Error Handling:** The script is now more resilient with better error messaging, making it easier for users to understand any issues they might face.
- Introducing the ability for users to directly jump into viewing pod logs or accessing the shell using `heavyscript pod --shell/--logs APPNAME`.
[Features]
- Directly specify an application using `heavyscript app --mount/--unmount APPNAME`.
- Use `ALL` for unmounting all applications (not valid for `--mount`).

[Logic Updates]
- On command execution, all PVCs within a namespace will be mounted without individual selection, since the app remains inactive anyway.
- Refined unmounting: target a specific application or opt for `ALL` to unmount all.

[Examples]
heavyscript pvc --unmount photoprism
heavyscript pvc --unmount ALL
heavyscript pvc --mount photoprism

[Notes]
- Users can of course still see the menu if they decide not to pass an application name to --mount or --unmount or even pvc
[Bugfixes]
- Fix lifecycle operations during db dumps
- Better error handing for db dumps

[Misc]
- Change output of Backup Function to better differentiate between Snapshots and Database backups
[Features]
- Starting an app with HeavyScript will now unmount the app if it's mounted.
- CNPG database dumps no longer stop deployments by default, allowing for continuous operation.

[Refactor]
- The CNPG dump process has been refined to keep deployments running. 
- Opt-in to stop deployments during the dump using the `stop_before_dump` option in the `config.ini` file.
- Your config files should have automatically updated to have this new section.
@Heavybullets8 Heavybullets8 merged commit f1d7efa into perms Oct 20, 2023
4 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants