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

Releases: Heavybullets8/heavy_script

v2.1.0

27 May 19:46
1e13073
Compare
Choose a tag to compare
  • 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
  • Typo @ctag

v2.0.2

13 May 19:44
6fbeeef
Compare
Choose a tag to compare

[Bugfix]

  • Do not exit if always auto update is set in the config and no other arguments are called.

v2.0.1

12 May 09:19
3f59b41
Compare
Choose a tag to compare

[Hotfix]
-Independently assign replica values to each deployment in a namespace

    • Fixes CNPG that have multiple deployments, which returned multiple values when the current_replicas function was called

v2.0.0

11 May 17:13
0bf1321
Compare
Choose a tag to compare

[Breaking Changes]

  • Command line was changed, meaning all cron jobs will need to be changed.
    • I understand the inconvenience of breaking changes, but this was necessary to break apart the large script.
  • Checkout the Github README for the new command line
  • Alternatively, type heavyscript --help to see the new sub functions, you can also type --help on any sub-function
    • heavyscript update -h
    • This will show the help page specific to the update sub function

[Features]

  • New config file for storing defaults of the script.
  • CNPG apps databases are backed up
  • Enable apt, kube API, helm, have all been added
  • Start, Stop, Restart have been updated to accept app names as an argument E.g.
    • heavyscript app --start authelia
  • All Flags now have long and short options
  • Show app/chart versions when an application has a pending major update

[Bugfixes]

  • pod shell and logs now can handle multi-replica applications
  • Stop app function can now handle CNPG applications
    • CNPG applications deployments will be scaled down, but still show ACTIVE in the GUI.

v1.10.0

31 Mar 22:20
7f60f93
Compare
Choose a tag to compare

[Feature]

  • Restrict major version updates with --self-update unless --major is specified

To prepare for the upcoming major update, I have modified the --self-update behavior. Now, updating to a new major HeavyScript version requires the explicit use of the --major flag.

The new CLI is under development and can be found on the "args" branch. It will remain there until it's fully developed and tested. Feel free to test it out.

v1.9.0

26 Mar 04:25
264b64b
Compare
Choose a tag to compare

[Feature]

  • Add --dns -v option to show all pods of a namespace rather than just the main.

[Misc]

  • Add in allowed.sh file for possible future solution to cnpg and operator pods

v1.8.1

22 Mar 23:02
7f659b9
Compare
Choose a tag to compare

(#88)

  • Introduce timeouts for CLI commands in the update function to prevent infinite execution when an app is unstoppable.

  • Fix the replica count variable in the start app function for better accuracy.

  • Exclude stopping Prometheus instances as they have proven to be impossible to stop during testing.

    • Prometheus cannot be mounted, stopped during an update, or rolled back
    • If you have the knowledge to fix this, reach out to me.
  • Force the script to finish downloading, then start executing (#87) @stdedos

  • heavyscript script updates (#86) @stdedos

v1.8.0

20 Mar 03:47
abc78de
Compare
Choose a tag to compare

[Features]

  • Add pool capacity in mount selection
    • Not that it really matters
  • Add Truenas SCALE v23 version of cli prune command
  • Add support for new Truecharts Postgres back-end

[Improvements]

  • Refactor DNS
  • Add a Utils folder where common function calls will be placed
  • Add a To-Do list to the Readme
  • Pressing "Enter" defaults to "No" for the "would you like to ... again" prompt
  • Replica count determines whether an application is submitted to post processing now
    • It is a better way to future proof more "external services"/"Cert Manager" type applications that cannot be scaled.

[Bugfixes]

v1.7.0

15 Feb 01:10
b8552ec
Compare
Choose a tag to compare

[Features]

  • Add color to DNS and Mount headers
  • Alternate colors in mount selection
  • Add Start app function
    • This does properly scale to the chosen replica amount in your chart config.

[Refactor]

  • Refactor app management file

[Bugfix]

  • Fetch all git information when entering self update function
    • Solves the issue where if a branch is deleted, it will only change to the latest local branch, rather than remote branch

v1.6.1

09 Feb 17:48
24d09a2
Compare
Choose a tag to compare

[Bugfix]

  • Change to a proper gray color for the $gray variable, and the alternated color in DNS output (#69)