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.6.0

27 Oct 18:09
eda6485
Compare
Choose a tag to compare

[Features]

  • Allow one-liner-scipt install for non-root users closes #118 #94
  • Asks users to run certain root-requiring functions as root/sudo
  • Create symbolic link in /usr/local/bin for heavyscript wrapper, for the sudo environment

[Notes]
We have removed the patches function along with its corresponding menu option. This change comes in response to iXsystems discontinuing support for all HeavyScript users, irrespective of their use case. It appears that any issues raised on systems with HeavyScript installed are being closed by iXsystems, citing "HeavyScript modifies core files" as the reason.

We suspect that the discontinuation of support might be due to the patches function, which was operative only on a specific version of TrueNAS SCALE. This function was designed to implement a patch that was scheduled to be included in the subsequent release of TrueNAS SCALE. It's important to note that HeavyScript included a version check to ensure the patches function would only run on the EXACT version it was intended for.

The specific version of TrueNAS SCALE, 22.12.0, was released nearly a year ago. Given that HeavyScript had a built-in check to prevent the patches function from running on any other version, it is perplexing why iXsystems has only now chosen to withdraw support, especially when this functionality has been irrelevant for almost a year.

v2.5.0

20 Oct 21:41
6277335
Compare
Choose a tag to compare

[Features]

  • Implemented helm command for starting Truecharts applications (official apps still utilize IX's API)
    • Resolves slow startup issues and ensures correct replica count on startup (CNPG Apps)
  • Verify apps existence prior to starting, stopping, restarting, and mounting (if app name was supplied by user)

[Bugfixes]

  • Resolved issue where applications occasionally entered post-processing in the STOPPED state, triggering a rollback
    • Now validates STOPPED state and attempts to start the application if necessary (Impact mainly on non-Truecharts Apps)

v2.4.1

15 Oct 03:01
Compare
Choose a tag to compare

[Bugfixes]

  • Increase timeout for stopping apps to 250 seconds, from 150
  • Properly handle stopping and starting non-truecharts applications
  • Expand pull_replicas function to properly grab replicas from all application types

v2.4.0

13 Oct 05:01
2acab94
Compare
Choose a tag to compare

[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.

v2.3.1

21 Aug 05:36
b3d9a98
Compare
Choose a tag to compare

[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

v2.3.0

20 Aug 02:01
2e9cb91
Compare
Choose a tag to compare

[Features]

  • Directly specify an application using heavyscript pvc --mount/--unmount APPNAME.
  • Use ALL for unmounting all applications (not valid for --mount).
  • Unmount individual applications

[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.
  • Removed the option to choose a pool, since that made no difference anyway, and caused unnecessary complications.

[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

[Bugfix]

v2.2.0

17 Aug 01:47
Compare
Choose a tag to compare

[Bugfixes]

  • DB Dump Handling: Introduced fixes to manage spaces in pool names for database dumps. #123.
  • Fixed --restart not producing an error when the application does not exist, or was not actually restarted

[Features]

  • Snapshot Management: Automated removal of snapshots that block updates. #124.
  • APT Flag Update: Create a --disable-apt flag to close down permissions of whats enabled in --apt #125.
  • App Handler Enhancement: Improved the app handler for simultaneous operations on multiple apps. EX: heavyscript app --stop ALL / heavyscript app --start nextcloud prometheus sonarr radarr #126.
  • Pod Interaction Upgrade: Introduced direct shell access and log viewing for pods. EX: heavyscript pod --shell nextcloud #127.

v2.1.3

15 Jul 22:31
Compare
Choose a tag to compare

[Bugfixes]

  • Add CNPG condition to filtered apps check.
    • Fixes attempted rollbacks on CNPG applications during updates

v2.1.2

12 Jun 02:30
2a3bbcc
Compare
Choose a tag to compare

[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

[Contributions]
@malcolmcdixon

  • Helped me solve the lifecycle issues and handle abort operations logic

Lockszmith (on Discord)

  • Provided insight into the API and useful commands for finding the correct jobs to properly abort

v2.1.1

01 Jun 04:09
8789410
Compare
Choose a tag to compare

[Bug Fix]

  • Start CNPG app if stopped during backup
  • Correctly use the stopAll for cnpg applications