Commit Graph

532 Commits

Author SHA1 Message Date
Heavybullets8
61e46514d9 use 0 element in array if 0-1 are equal 2022-08-12 09:51:06 -06:00
Heavybullets8
b0a4119df0 set array to 0 2022-08-12 09:49:26 -06:00
Heavybullets8
80d10a5df2 debugging 2022-08-12 09:47:35 -06:00
Heavybullets8
60418e846b test 2022-08-12 09:36:07 -06:00
Heavybullets8
cc8a0d3708 3rd attempt 2022-08-12 09:26:34 -06:00
Heavybullets8
7cbcf11fb2 try different method for rm-ing dupes 2022-08-12 09:22:00 -06:00
Heavybullets8
a03598b1b7 do not add duplicate containers 2022-08-12 09:13:37 -06:00
Heavybullets8
7f6018b5d5 cmd to container regex 2022-08-12 08:10:15 -06:00
Heavybullets8
0fbe428507 fix deploying comparison 2022-08-12 07:53:58 -06:00
Heavybullets8
714842a33f clean-up after_update_actions 2022-08-12 07:33:13 -06:00
Heavybullets8
7c7f42b9cb always update prior to a_u_a 2022-08-12 06:53:35 -06:00
Heavybullets8
592b739bf0 stop app to cli rather than midctl, wait for compl 2022-08-12 06:37:30 -06:00
Heavybullets8
3f5d8d4c73 attempt second update, if while_status empty, skip 2022-08-11 22:52:45 -06:00
Heavybullets8
4469d96cb6 if while status is empty.. call again 2022-08-11 22:42:43 -06:00
Heavybullets8
c45bf0a588 add trigger for debugging 2022-08-11 22:15:17 -06:00
Heavybullets8
653e54804a testing update function 2022-08-11 21:55:09 -06:00
Heavybullets8
61eea4c9a5 remove newstatus variable, just use status instead 2022-08-11 21:43:15 -06:00
Heavybullets8
97896b27a2 status check when leaving verify 2022-08-11 21:37:38 -06:00
Heavybullets8
99dc8fcef8 use bool to only verify if active/stopped 1st time 2022-08-11 21:20:04 -06:00
Heavybullets8
1473a969e2 change status to activity specific 2022-08-11 20:55:37 -06:00
Heavybullets8
d926bf938d only enter loop if status is not deploying 2022-08-11 20:51:42 -06:00
Heavybullets8
e2942dd626 update update function 2022-08-11 20:41:31 -06:00
Heavybullets8
5d3470c2dd loop on update failure 2022-08-11 20:30:49 -06:00
Heavybullets8
ea7a3e9490 remove commented stuff 2022-08-11 16:37:19 -06:00
Heavybullets8
ec422e8db9 assigned literal on accident.. 2022-08-11 01:50:41 -06:00
Heavybullets8
06f0f7ea3a fix status check 2022-08-11 01:48:31 -06:00
Heavybullets8
bef42eaaeb check for file changes and specific status 2022-08-11 00:18:53 -06:00
Heavybullets8
850303e328 try app specific status check instead of global 2022-08-10 23:55:45 -06:00
Heavybullets8
f56b03c0eb still need the counter. 2022-08-10 23:45:46 -06:00
Heavybullets8
c62da2c13d attempt removal of status double checks 2022-08-10 23:41:20 -06:00
Heavybullets8
c1793c5306 reduce sleep on file difference check 2022-08-10 23:37:53 -06:00
Heavybullets8
5888efa3d7 wait for file change before continuing 2022-08-10 23:27:11 -06:00
Heavybullets8
4e61789347 remove redundant creation 2022-08-10 22:58:51 -06:00
Heavybullets8
5edeb8c80b count was not being appended 2022-08-10 22:55:20 -06:00
Heavybullets8
54e4c3876e use its own count 2022-08-10 22:51:58 -06:00
Heavybullets8
4f944a6299 add count to the status file for cont change 2022-08-10 22:50:44 -06:00
Heavybullets8
116279db37 sticking to one at a time, anymore is overloading 2022-08-10 22:35:30 -06:00
Heavybullets8
8af787f2d4 revert, un-needed due to condition above it 2022-08-10 22:27:49 -06:00
Heavybullets8
c7afe81a38 add proc count to Until loop 2022-08-10 22:26:39 -06:00
Heavybullets8
06bb4e569f racing 2022-08-10 22:14:30 -06:00
Heavybullets8
b012416a07 test 2022-08-10 22:04:33 -06:00
Heavybullets8
eddf0937c4 give until loop its own variable.. 2022-08-10 21:50:32 -06:00
Heavybullets8
31285a8d68 revert to original method +2 at a time 2022-08-10 21:46:08 -06:00
Heavybullets8
2bf137fbc5 longer sleep 2022-08-10 21:37:29 -06:00
Heavybullets8
006d47503e internal sleep 2 2022-08-10 21:23:21 -06:00
Heavybullets8
3e0ad6d18e test new sleep. just racing 2022-08-10 21:09:20 -06:00
Heavybullets8
0ff74e42a7 first app waits after trigger 2022-08-10 20:40:33 -06:00
Heavybullets8
36002c59fb once last check prior to exiting script 2022-08-10 20:36:24 -06:00
Heavybullets8
83d65a2a8f replace manual counter with array count 2022-08-10 20:23:03 -06:00
Heavybullets8
e57cb90642 test 2022-08-10 20:15:38 -06:00
Heavybullets8
5511cbde46 global sleep to 10, proper loop check for stopped 2022-08-10 20:04:15 -06:00
Heavybullets8
984b51e6b0 echo error on middleware timeout 2022-08-10 19:11:52 -06:00
Heavybullets8
ffd23b7e15 set delay higher on trigger 2022-08-10 19:05:10 -06:00
Heavybullets8
2e146d1e58 if status check times out, try again immediately 2022-08-10 18:57:50 -06:00
Heavybullets8
e21736cb8b sleep 1.5 instead of 2 2022-08-10 18:44:52 -06:00
Heavybullets8
83e7657c37 increase timeout for command submission 2022-08-10 17:50:39 -06:00
Heavybullets8
fc8dba252a remove commented out if statement 2022-08-10 17:47:37 -06:00
Heavybullets8
665db11d8c replace ugly if statement with case 2022-08-10 17:46:01 -06:00
Heavybullets8
c6d0926fc2 works 2022-08-10 17:41:51 -06:00
Heavybullets8
ba58fecf89 new array append method 2022-08-10 17:40:33 -06:00
Heavybullets8
a5b17cdb96 what the hell 2022-08-10 17:37:53 -06:00
Heavybullets8
7b0cacbfeb sanity check 2022-08-10 17:36:42 -06:00
Heavybullets8
a03eebb4be remove different pod id 2022-08-10 17:33:19 -06:00
Heavybullets8
fd1b04279e testing 2022-08-10 17:28:42 -06:00
Heavybullets8
b18818bbd5 attempt new for loop 2022-08-10 17:25:13 -06:00
Heavybullets8
94e78f756b variable is only being saved once 2022-08-10 17:20:34 -06:00
Heavybullets8
dc1f9bb603 replace ind check with count 2022-08-10 17:16:45 -06:00
Heavybullets8
04c0a983a2 pod id and container check 2022-08-10 17:13:48 -06:00
Heavybullets8
bff29b1637 remove nl 2022-08-10 17:11:01 -06:00
Heavybullets8
1949c2100c append to variable to search works 2022-08-10 17:09:30 -06:00
Heavybullets8
dc5fd00681 expand by row 2022-08-10 17:04:46 -06:00
Heavybullets8
a9b4cd02ed add nl to grep 2022-08-10 17:03:37 -06:00
Heavybullets8
bc694852a9 expand all for grep 2022-08-10 17:00:10 -06:00
Heavybullets8
a8b60f5c71 check for number of containers not pods 2022-08-10 16:58:07 -06:00
Heavybullets8
26362944a5 fix 2022-08-10 16:39:42 -06:00
Heavybullets8
2dc9cc4742 whew 2022-08-10 16:33:59 -06:00
Heavybullets8
d830f7e10c replace with podid 2022-08-10 16:31:29 -06:00
Heavybullets8
6f7f18d6a4 if only one container, auto select it 2022-08-10 16:30:07 -06:00
Heavybullets8
074b3d09cf incase days are added 2022-08-10 14:51:01 -06:00
Heavybullets8
0852e29d8a test remove dates, they messed up awk 2022-08-10 14:33:41 -06:00
Heavybullets8
84c1fcd006 whoops 2022-08-10 14:16:31 -06:00
Heavybullets8
82a2deffa0 print only last column for pod 2022-08-10 14:14:24 -06:00
Heavybullets8
e3e85cf38e pod_id regex 2022-08-10 13:57:50 -06:00
Heavybullets8
fcd07cfa4f slightly lower commander sleep timer 2022-08-10 11:53:24 -06:00
Heavybullets8
591120e2fe better placements of trigger file 2022-08-10 11:52:34 -06:00
Heavybullets8
96b462fd5d trigger fix 2022-08-09 23:34:06 -06:00
Heavybullets8
dcd562462b add trigger to update 2022-08-09 23:03:39 -06:00
Heavybullets8
51a5e5fcc2 better update handler 2022-08-09 22:47:59 -06:00
Heavybullets8
1c0e223648 cleanup 2022-08-09 22:27:16 -06:00
Heavybullets8
d05b8674b3 only show stdout 2022-08-09 22:16:49 -06:00
Heavybullets8
b935c755c9 hide both error and info 2022-08-09 22:15:21 -06:00
Heavybullets8
c69d1b2983 remove error messages 2022-08-09 22:14:27 -06:00
Heavybullets8
e331dc2deb better message 2022-08-09 22:12:15 -06:00
Heavybullets8
9c1258e02e error message upon both sh and bash failure 2022-08-09 22:11:07 -06:00
Heavybullets8
7842b83700 test 2022-08-09 22:06:41 -06:00
Heavybullets8
6b9be5102c error code 2022-08-09 21:53:47 -06:00
Heavybullets8
0d30de9e22 test shell 2022-08-09 21:50:22 -06:00
Heavybullets8
03c16717cc lower sleep 2022-08-09 17:52:56 -06:00
Heavybullets8
ad4f507f6f return codes for failures 2022-08-09 17:52:11 -06:00
Heavybullets8
b8616e988c error message on failed update 2022-08-09 17:46:59 -06:00
Heavybullets8
495205253a test new update 2022-08-09 17:32:47 -06:00
Heavybullets8
bac1658480 file rather than anything 2022-08-09 12:24:13 -06:00
Heavybullets8
734f1b7ebc check for file before deletion 2022-08-09 12:19:24 -06:00
Heavybullets8
8dafa5eb44 major release fix 2022-08-09 12:16:15 -06:00
Heavybullets8
d75003c6f0 revert global 2022-08-09 12:05:18 -06:00
Heavybullets8
f0b9573850 regression in speed 2022-08-09 00:48:12 -06:00
Heavybullets8
ba1f1f5358 global sleep 5 2022-08-09 00:31:04 -06:00
Heavybullets8
e97b61b272 test 2022-08-09 00:03:27 -06:00
Heavybullets8
fbfce5ce26 uhh 2022-08-08 23:59:32 -06:00
Heavybullets8
053d971f7a wooo trigger works 2022-08-08 23:58:07 -06:00
Heavybullets8
da8df6b180 temp creation 2022-08-08 23:53:01 -06:00
Heavybullets8
9a0bc10b8e comment out un-needed 2022-08-08 23:48:29 -06:00
Heavybullets8
a5b6f912fd forgot to rm trigger 2022-08-08 23:48:02 -06:00
Heavybullets8
68f8934708 test trigger 2022-08-08 23:47:34 -06:00
Heavybullets8
99208d5165 who knows 2022-08-08 23:30:41 -06:00
Heavybullets8
68daf5f343 test sleep 2022-08-08 23:14:53 -06:00
Heavybullets8
9155fd135d message 2022-08-08 22:45:47 -06:00
Heavybullets8
4df204e15b combo sleep 2022-08-08 22:44:51 -06:00
Heavybullets8
1b238e2251 test timeout 2022-08-08 22:43:07 -06:00
Heavybullets8
721dadf09e remove indents, test sleep timer async 2022-08-08 22:28:09 -06:00
Heavybullets8
f3e66e9327 remove exits 2022-08-08 22:18:37 -06:00
Heavybullets8
bd2e381bb8 test new call 2022-08-08 22:17:15 -06:00
Heavybullets8
835528a8c1 better message 2022-08-08 21:59:58 -06:00
Heavybullets8
08e9875978 exit message on no pods 2022-08-08 21:58:54 -06:00
Heavybullets8
99ad0cd1fe test 2022-08-08 21:51:56 -06:00
Heavybullets8
bb453ec320 final regex edit for now 2022-08-08 21:00:04 -06:00
Heavybullets8
76f54786ba test again 2022-08-08 20:56:52 -06:00
Heavybullets8
df34a87089 test 2022-08-08 20:53:29 -06:00
Heavybullets8
65eaf1682d test regex 2022-08-08 20:52:35 -06:00
Heavybullets8
c10ea958f3 test new regex 2022-08-08 20:46:06 -06:00
Heavybullets8
a1ab1ffb8b space or hyphen 2022-08-08 20:43:07 -06:00
Heavybullets8
b845b650c5 search regex 2022-08-08 20:41:53 -06:00
Heavybullets8
b6a796eb5b grep appname 2022-08-08 20:36:53 -06:00
Heavybullets8
6a1c216da3 Spelling 2022-08-08 20:29:58 -06:00
Heavybullets8
887e69cb36 while loops to cmd to cnter 2022-08-08 20:28:36 -06:00
Heavybullets8
6bafce8181 cmd to container initial 2022-08-08 20:12:09 -06:00
Heavybullets8
edb437b718 add branch variable 2022-08-08 18:56:56 -06:00
Heavybullets8
17fa578eb4 test 2022-08-04 22:03:25 -06:00
Heavybullets8
116492cb92 test 2022-08-04 22:00:18 -06:00
Heavybullets8
b1d7471eee test_rearrange 2022-08-04 21:56:26 -06:00
Heavybullets8
c52e1e86f9 test 2022-08-04 21:46:37 -06:00
Heavybullets8
382f6d2f6a revert to fastest 2022-08-04 21:39:54 -06:00
Heavybullets8
59bd4c18bd new race test 2022-08-04 21:32:23 -06:00
Heavybullets8
0323ba526e test sleep 3/4 2022-08-04 21:23:50 -06:00
Heavybullets8
fdcf899d56 test sleep after updates instead 2022-08-04 21:16:17 -06:00
Heavybullets8
2d39df3601 racing original 2022-08-04 21:05:01 -06:00
Heavybullets8
e5e309ecaf try 2 for sleep 2022-08-04 20:37:08 -06:00
Heavybullets8
a3d75393b2 raise sleep to 1 2022-08-04 20:30:33 -06:00
Heavybullets8
8a52379609 test sleep time in until update 2022-08-04 20:29:57 -06:00
Heavybullets8
e496fc4c14 removed variable 2022-08-04 20:29:06 -06:00