Commit Graph

1578 Commits

Author SHA1 Message Date
Heavybullets8
5d872c952f commit to beta 2022-06-10 13:36:13 -06:00
Heavybullets8
3317a1fb33 fix mounting regex 2022-06-09 13:56:28 -06:00
Heavybullets8
addef531db
cleanup
remove "continue" in unmount feature. Was no longer needed after previous commit.
2022-06-07 00:17:58 +00:00
Heavybullets8
dbfe7f2bb8 regex improvements 2022-06-06 18:10:39 -06:00
Heavybullets8
b013b09204
Update Readme 2022-06-05 21:50:10 +00:00
Heavybullets8
334a22ea1d
Remove redundant lines in -h 2022-05-18 03:43:24 +00:00
Heavybullets8
e34c913651
Merge pull request #5 from Heavybullets8/testing
various fixes/optimizations
2022-05-18 03:36:12 +00:00
Heavybullets8
920ec3c631 various fixes/optimizations 2022-05-17 21:31:55 -06:00
Heavybullets8
b03925de10
Merge pull request #4 from Heavybullets8/testing
Tested Changes
2022-05-16 23:52:48 +00:00
Heavybullets8
b4a53bcddb misc changes 2022-05-16 17:49:48 -06:00
Heavybullets8
dc10af1798 minor bugfixes 2022-05-14 12:25:00 -06:00
Heavybullets8
71a2a49cc0
remove ascii from updates. Looked awful in email :( 2022-05-14 00:09:35 +00:00
Heavybullets8
7657fea1e0
Merge pull request #3 from Heavybullets8/testing
fix various issues
2022-05-13 23:46:17 +00:00
Heavybullets8
0176e2c319 fix various issues 2022-05-13 17:40:15 -06:00
Heavybullets8
68839dac67
Merge pull request #2 from Heavybullets8/testing
Changes from testing to main
2022-05-13 17:05:30 +00:00
Heavybullets8
22c454c326
close update functino if no updates 2022-05-13 16:46:15 +00:00
Heavybullets8
fb7b631693 remove need to rev sort 2022-05-12 08:54:48 -06:00
Heavybullets8
62f1e0a9c2 fix out of order deletion 2022-05-12 08:41:18 -06:00
Heavybullets8
683e8b4d62
Safety Checks
1. Ensure number of backups is AT LEAST 1. Im assuming a value of 0 would be user error.. so we want to ensure we have at least one backup

2. Make restore function use the same sorting method. Which ignores all words, only uses the values. 

3. Changed mountpoint from `/temporary` to `/heavyscript`
Hopefully to avoid any issues of users using /temporary for ANY other reason..

4. Add a safety check within the unmount feature..
Before, there was a possibility users could have two applications, on separate pools, the script would try to mount to both of them. Obviously this is an issue.
So we added a newline count, if the find command finds more than one entry for an application, use the slower, but more reliable method of checking the users current application pool, attempt to mount the application instance that exists on that pool.

5. If user tries using '-r' and '-m' at the same time, report an error and exit. Those two functions cannot be used at the same time..
2022-05-12 04:28:27 +00:00
Heavybullets8
1edff4f384
Re-arrange function calls 2022-05-12 01:28:36 +00:00
Heavybullets8
93e155c0f0
Verbose information README 2022-05-12 01:15:28 +00:00
Heavybullets8
9c6312c3e9 restore + mount cleanup 2022-05-10 20:53:01 -06:00
Heavybullets8
e6250239c4 start # line from 1 in Restore Function 2022-05-10 20:10:26 -06:00
Heavybullets8
9111b7b490 remove warning for ext services chart 2022-05-10 19:35:46 -06:00
Heavybullets8
aca0c15ecd Kill script if invalid selection 2022-05-10 17:56:23 -06:00
Heavybullets8
39e66836a2 after_update_actions optimizations 2022-05-10 17:37:20 -06:00
Heavybullets8
e91fd6d2d2 thwart wrong reporting 2022-05-10 16:42:05 -06:00
Heavybullets8
5a90763961 Merge branch 'main' of https://github.com/Heavybullets8/heavy_script 2022-05-10 14:46:54 -06:00
Heavybullets8
1bb08e7d86 better ignore list search 2022-05-10 14:46:47 -06:00
Heavybullets8
174450ec3d
Update Readme 2022-05-10 19:20:01 +00:00
Heavybullets8
a8b9deac6a cleaner timemout message 2022-05-10 12:48:35 -06:00
Heavybullets8
b4272324b2
Personal Cron job 2022-05-09 22:55:26 -06:00
Heavybullets8
9d2f21d31f
update readme
will update with a longer, proper readme later.
2022-05-10 04:53:19 +00:00
Heavybullets8
b4e5b45045
Backport Truescript Changes
1. Arguments can be used in any order now (Thanks Ornias)

2. Rollback applications feature (Ornias' Idea, again thank you)
- When using -R 
        The script will monitor the status of the application after updating it, make sure it deploys, if the app does not deploy within the timeout, roll the application back

3. Ability to stop applications prior to updating with -S (another idea by ornias)

4. Option for verbose output with -v
I made this change after adding the new features, it makes the output ugly, but figured id give the users the choice to see more information.

5. Better variable names

6. A ton of other various little fixes and testing
You can view the current work, and who exactly did what, and when with this link:
https://github.com/truecharts/truescript/commits/optimise

My current un-pulled Pull Request:
https://github.com/truecharts/truescript/pull/5
2022-05-10 03:54:31 +00:00
Heavybullets8
48023d7f81
proper Restore indentation 2022-05-05 12:29:01 +00:00
Heavybullets8
b010387338 Merge branch 'main' of https://github.com/Heavybullets8/heavy_script 2022-05-04 22:08:51 -06:00
Heavybullets8
b8765964d2 Mounting feature improvement 2022-05-04 22:07:55 -06:00
Heavybullets8
07ca4b9401
Sort Update output alphabetically 2022-05-04 23:38:58 +00:00
Heavybullets8
fdf19626fa better method of finding PVC_path 2022-05-03 21:38:10 -06:00
Heavybullets8
9e06680363
Place overflow within if statement
doing unnecessary math when it might not be required. 
This will probably save 12 nanoseconds.
2022-04-28 02:10:33 +00:00
Heavybullets8
e280bad4d2
formatting
last change i swear. Ive just been trying to get things nicely formatted and working.
2022-04-28 01:43:20 +00:00
Heavybullets8
ea90a42c74
formatting 2022-04-28 01:40:54 +00:00
Heavybullets8
cdd3fb8c6a
Add personal Cron Job 2022-04-28 01:39:44 +00:00
Heavybullets8
cd212882dc
rough update for readme 2022-04-28 01:30:18 +00:00
Heavybullets8
8c066d9a29
actually place information in the readme 2022-04-28 01:19:13 +00:00
Heavybullets8
d76c5f927a
re-added sort 2022-04-28 01:09:42 +00:00
Heavybullets8
f171428f64
Fix restore numbering
Tried just using awk, rather than grepping into awk, but it didnt work out
2022-04-28 01:02:11 +00:00
Heavybullets8
25c59c008c
Add Backup and Restore functions
Adds the ability to backup, and restore the ix-applications dataset.
Tested to be working.
2022-04-28 00:37:36 +00:00
Heavybullets8
e15cefa952 -u/-U can now update container images (custom-app) 2022-04-25 08:04:01 -06:00
kyler
16e922e59e video push 2022-04-23 15:13:57 -06:00