Heavybullets8
54a96475fc
test
2022-06-13 15:34:33 -06:00
Heavybullets8
2309076a70
syntax
2022-06-13 15:34:07 -06:00
Heavybullets8
64d3371c21
test
2022-06-13 15:30:39 -06:00
Heavybullets8
338499585b
test
2022-06-13 15:30:19 -06:00
Heavybullets8
2e8a4dbdaa
test
2022-06-13 15:29:16 -06:00
Heavybullets8
1a46cb1ffd
test
2022-06-13 15:28:47 -06:00
Heavybullets8
de661f0ef0
test
2022-06-13 15:23:11 -06:00
Heavybullets8
7b07ea3a33
for
2022-06-13 15:22:53 -06:00
Heavybullets8
e4c54be187
test
2022-06-13 15:16:56 -06:00
Heavybullets8
113fc93d91
test
2022-06-13 15:16:40 -06:00
Heavybullets8
41f49eb4ff
test
2022-06-13 15:14:05 -06:00
Heavybullets8
2ad456b905
test
2022-06-13 15:13:46 -06:00
Heavybullets8
4c8cc6bb2c
test
2022-06-13 15:10:57 -06:00
Heavybullets8
83b1e286e8
test
2022-06-13 15:10:24 -06:00
Heavybullets8
3bd1013b3d
non array
2022-06-13 15:10:05 -06:00
Heavybullets8
8030dbf2b5
fix
2022-06-13 15:08:30 -06:00
Heavybullets8
f289cdf76b
test
2022-06-13 15:07:28 -06:00
Heavybullets8
fec89db940
test
2022-06-13 15:05:59 -06:00
Heavybullets8
a0f83bc66a
:L
2022-06-13 15:05:31 -06:00
Heavybullets8
05906fee68
test
2022-06-13 15:03:28 -06:00
Heavybullets8
d111b21413
reg
2022-06-13 15:03:10 -06:00
Heavybullets8
a17ba00666
test
2022-06-13 15:02:25 -06:00
Heavybullets8
af6d65d0d5
reg
2022-06-13 15:01:51 -06:00
Heavybullets8
48d71ffc2e
fix space
2022-06-13 15:00:51 -06:00
Heavybullets8
1845d3c9c0
test
2022-06-13 15:00:09 -06:00
Heavybullets8
8ac7b496d9
regex
2022-06-13 14:59:37 -06:00
Heavybullets8
8c1db858b8
test
2022-06-13 14:53:20 -06:00
Heavybullets8
4c9ee5de13
sed
2022-06-13 14:53:01 -06:00
Heavybullets8
d39634b39f
test
2022-06-13 14:52:03 -06:00
Heavybullets8
8c0cb93fe0
test
2022-06-13 14:51:40 -06:00
Heavybullets8
8e2d77323e
test
2022-06-13 14:46:45 -06:00
Heavybullets8
a17d0a0faa
test
2022-06-13 14:46:32 -06:00
Heavybullets8
b6b7f18f14
test
2022-06-13 14:45:29 -06:00
Heavybullets8
c7f594b63b
test
2022-06-13 14:45:11 -06:00
Heavybullets8
1713d19528
test
2022-06-13 14:43:42 -06:00
Heavybullets8
70f5388b7d
test
2022-06-13 14:43:16 -06:00
Heavybullets8
5f40b315f2
test
2022-06-13 14:41:32 -06:00
Heavybullets8
0a01f4b0c2
test
2022-06-13 14:41:15 -06:00
Heavybullets8
6c1e4a762f
test
2022-06-13 14:38:14 -06:00
Heavybullets8
29665ca8cf
test
2022-06-13 14:37:02 -06:00
Heavybullets8
f11ef25a43
test
2022-06-13 14:35:45 -06:00
Heavybullets8
8dc864cae7
test
2022-06-13 14:29:00 -06:00
Heavybullets8
9da93da982
test
2022-06-13 14:28:41 -06:00
Heavybullets8
3fab72b9d9
test
2022-06-13 14:27:19 -06:00
Heavybullets8
b50f475743
string
2022-06-13 14:26:54 -06:00
Heavybullets8
7e82f95bf2
test
2022-06-13 14:26:15 -06:00
Heavybullets8
5f2df0a69e
test
2022-06-13 14:25:37 -06:00
Heavybullets8
e880da61ed
more testing
2022-06-13 14:17:23 -06:00
Heavybullets8
7f44d500b8
more testing
2022-06-13 14:16:12 -06:00
Heavybullets8
362974975c
once again
2022-06-13 14:14:25 -06:00
Heavybullets8
ab68827f8f
test
2022-06-13 14:13:35 -06:00
Heavybullets8
d2d5f6f7ae
test
2022-06-13 14:13:17 -06:00
Heavybullets8
69393bab6b
only real way to test this unf
2022-06-13 14:12:18 -06:00
Heavybullets8
151b37947b
remove self update form args
2022-06-13 14:11:51 -06:00
Heavybullets8
bb4edf6bf1
test
2022-06-13 14:10:54 -06:00
Heavybullets8
06e7ad4b27
escape hyphens?
2022-06-13 14:10:28 -06:00
Heavybullets8
94036179d4
test
2022-06-13 14:09:12 -06:00
Heavybullets8
eceba192fb
test
2022-06-13 14:08:45 -06:00
Heavybullets8
169c5fe8a3
another
2022-06-13 14:07:47 -06:00
Heavybullets8
cad43d63ef
another push
2022-06-13 14:07:23 -06:00
Heavybullets8
a1dc4fd99a
pushing just to push
2022-06-13 14:06:03 -06:00
Heavybullets8
cc1d9883a5
replace string
2022-06-13 14:05:27 -06:00
Heavybullets8
f92adc4c0c
testing
2022-06-13 13:59:31 -06:00
Heavybullets8
e4dd02a784
bash scriptname
2022-06-13 13:56:26 -06:00
Heavybullets8
bbb6428466
testing self update
2022-06-13 13:55:49 -06:00
Heavybullets8
382b8296be
testing self update
2022-06-13 13:30:23 -06:00
Heavybullets8
e325ab0a3a
fix DNS regex
...
Exclude dependency pods unless they were launched with custom-app.
2022-06-13 04:48:10 +00:00
Heavybullets8
8e8f46f4a3
typo in --help
2022-06-12 19:35:10 +00:00
Heavybullets8
9f741e4742
more indentation
2022-06-11 02:02:07 -06:00
Heavybullets8
c89b217943
remove un-needed indentation
2022-06-11 01:39:44 -06:00
Heavybullets8
45127be73a
code cleanup
2022-06-11 00:13:09 -06:00
Heavybullets8
9e429e2a5b
remove arg check & readme
2022-06-10 22:41:55 -06:00
Heavybullets8
6469dab7c4
fix help & add read prompt timer
2022-06-10 22:38:50 -06:00
Heavybullets8
3c42621a95
delete backup readme
2022-06-10 20:04:52 -06:00
Heavybullets8
23858a2a81
delete restore point option
2022-06-10 19:48:34 -06:00
Heavybullets8
ab0fdc24ac
readme + help cleanup
2022-06-10 15:37:20 -06:00
Heavybullets8
8a2ec69b75
update readme + script
2022-06-10 14:32:39 -06:00
Heavybullets8
6d1a9fc77b
longopts + dns + refactor
2022-06-10 13:40:35 -06:00
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
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
0176e2c319
fix various issues
2022-05-13 17:40:15 -06: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
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
1bb08e7d86
better ignore list search
2022-05-10 14:46:47 -06:00
Heavybullets8
a8b9deac6a
cleaner timemout message
2022-05-10 12:48:35 -06: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
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
kyler
c97fabd643
Help argument update
2022-04-23 13:50:58 -06:00
kyler
3fafbfeb64
give mounting feature ability to use timeout
2022-04-22 16:00:48 -06:00
kyler
3ea7d03bb7
general syntax improvements + echo mistakes fixed
2022-04-22 15:37:02 -06:00
kyler
bdf6641fac
fixing issue with multiple applications have similar name.
2022-04-21 21:46:50 -06:00
Heavybullets8
29d59890f4
initial
2022-04-21 21:19:53 +00:00