From 96bde84bc8caa8729caf802b835c6f552f8c80fa Mon Sep 17 00:00:00 2001 From: Yash Khare Date: Fri, 6 Sep 2024 13:08:51 +0530 Subject: [PATCH 1/3] fix: one click command with space Signed-off-by: Yash Khare --- scripts/logs/.fuse_hidden0000005e0000001b | 27 +++++++++++++++++++++++ src/OneClickInstall.ts | 2 +- 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 scripts/logs/.fuse_hidden0000005e0000001b diff --git a/scripts/logs/.fuse_hidden0000005e0000001b b/scripts/logs/.fuse_hidden0000005e0000001b new file mode 100644 index 0000000..2c8a9f6 --- /dev/null +++ b/scripts/logs/.fuse_hidden0000005e0000001b @@ -0,0 +1,27 @@ + +       ▓██▓▄ +    ▓▓▓▓██▓█▓▄ +     ████████▓▒ +          ▀▓▓███▄      ▄▄   ▄               ▌ +         ▄▌▌▓▓████▄    ██ ▓█▀  ▄▌▀▄  ▓▓▌▄   ▓█  ▄▌▓▓▌▄ ▌▌   ▓ +       ▓█████████▌▓▓   ██▓█▄  ▓█▄▓▓ ▐█▌  ██ ▓█  █▌  ██  █▌ █▓ +      ▓▓▓▓▀▀▀▀▓▓▓▓▓▓▌  ██  █▓  ▓▌▄▄ ▐█▓▄▓█▀ █▓█ ▀█▄▄█▀   █▓█ +       ▓▌                           ▐█▌                   █▌ +        ▓ + +version: 2.3.0-beta17 + +🐰 Keploy: 2024-09-06T12:39:13+05:30 INFO keploy initialized and probes added to the kernel. +🐰 Keploy: 2024-09-06T12:39:13+05:30 INFO Keploy has taken control of the DNS resolution mechanism, your application may misbehave if you have provided wrong domain name in your application code. +🐰 Keploy: 2024-09-06T12:39:13+05:30 INFO Proxy started at port:16789 +🐰 Keploy: 2024-09-06T12:39:13+05:30 INFO starting TCP DNS server at addr :26789 +🐰 Keploy: 2024-09-06T12:39:13+05:30 INFO starting UDP DNS server at addr :26789 +2024/09/06 12:39:14 😃 Connected to 8010 port !! +🐰 Keploy: 2024-09-06T12:39:30+05:30 INFO 🟠 Keploy has captured test cases for the user's application. {"path": "/home/yashkhare.linux/samples-go/mux-sql/keploy/test-set-2/tests", "testcase name": "test-1"} +🐰 Keploy: 2024-09-06T12:39:32+05:30 INFO 🟠 Keploy has captured test cases for the user's application. {"path": "/home/yashkhare.linux/samples-go/mux-sql/keploy/test-set-2/tests", "testcase name": "test-2"} +🐰 Keploy: 2024-09-06T12:39:47+05:30 INFO 🟠 Keploy has captured test cases for the user's application. {"path": "/home/yashkhare.linux/samples-go/mux-sql/keploy/test-set-2/tests", "testcase name": "test-3"} +Signal received, canceling context... +2024/09/06 12:40:08 Server is shutting down... +2024/09/06 12:40:08 Server exiting +🐰 Keploy: 2024-09-06T12:40:09+05:30 INFO proxy stopped... +🐰 Keploy: 2024-09-06T12:40:09+05:30 INFO eBPF resources released successfully... diff --git a/src/OneClickInstall.ts b/src/OneClickInstall.ts index 89e1469..6601656 100644 --- a/src/OneClickInstall.ts +++ b/src/OneClickInstall.ts @@ -3,7 +3,7 @@ import { exec } from 'child_process'; export default function executeKeployOneClickCommand(): void { // check before if keploy has been installed first const checkKeployExistsCommand = `keploy`; - const installationCommand = `curl--silent - O - L https://keploy.io/install.sh && bash install.sh`; + const installationCommand = `curl --silent - O - L https://keploy.io/install.sh && bash install.sh`; exec(checkKeployExistsCommand, (error, stdout, stderr) => { if (error) { From ea3cf46c129473e1c585fb78e944cd8c925bf7ba Mon Sep 17 00:00:00 2001 From: Yash Khare Date: Fri, 6 Sep 2024 14:05:34 +0530 Subject: [PATCH 2/3] remove spaces from command Signed-off-by: Yash Khare --- src/OneClickInstall.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OneClickInstall.ts b/src/OneClickInstall.ts index 6601656..23265a0 100644 --- a/src/OneClickInstall.ts +++ b/src/OneClickInstall.ts @@ -3,7 +3,7 @@ import { exec } from 'child_process'; export default function executeKeployOneClickCommand(): void { // check before if keploy has been installed first const checkKeployExistsCommand = `keploy`; - const installationCommand = `curl --silent - O - L https://keploy.io/install.sh && bash install.sh`; + const installationCommand = `curl --silent -O -L https://keploy.io/install.sh && bash install.sh`; exec(checkKeployExistsCommand, (error, stdout, stderr) => { if (error) { From ad7d3c45fcd50d012a0c78522417d8e82bc82c3d Mon Sep 17 00:00:00 2001 From: Yash Khare Date: Fri, 6 Sep 2024 16:14:17 +0530 Subject: [PATCH 3/3] Delete scripts/logs/.fuse_hidden0000005e0000001b Signed-off-by: Yash Khare --- scripts/logs/.fuse_hidden0000005e0000001b | 27 ----------------------- 1 file changed, 27 deletions(-) delete mode 100644 scripts/logs/.fuse_hidden0000005e0000001b diff --git a/scripts/logs/.fuse_hidden0000005e0000001b b/scripts/logs/.fuse_hidden0000005e0000001b deleted file mode 100644 index 2c8a9f6..0000000 --- a/scripts/logs/.fuse_hidden0000005e0000001b +++ /dev/null @@ -1,27 +0,0 @@ - -       ▓██▓▄ -    ▓▓▓▓██▓█▓▄ -     ████████▓▒ -          ▀▓▓███▄      ▄▄   ▄               ▌ -         ▄▌▌▓▓████▄    ██ ▓█▀  ▄▌▀▄  ▓▓▌▄   ▓█  ▄▌▓▓▌▄ ▌▌   ▓ -       ▓█████████▌▓▓   ██▓█▄  ▓█▄▓▓ ▐█▌  ██ ▓█  █▌  ██  █▌ █▓ -      ▓▓▓▓▀▀▀▀▓▓▓▓▓▓▌  ██  █▓  ▓▌▄▄ ▐█▓▄▓█▀ █▓█ ▀█▄▄█▀   █▓█ -       ▓▌                           ▐█▌                   █▌ -        ▓ - -version: 2.3.0-beta17 - -🐰 Keploy: 2024-09-06T12:39:13+05:30 INFO keploy initialized and probes added to the kernel. -🐰 Keploy: 2024-09-06T12:39:13+05:30 INFO Keploy has taken control of the DNS resolution mechanism, your application may misbehave if you have provided wrong domain name in your application code. -🐰 Keploy: 2024-09-06T12:39:13+05:30 INFO Proxy started at port:16789 -🐰 Keploy: 2024-09-06T12:39:13+05:30 INFO starting TCP DNS server at addr :26789 -🐰 Keploy: 2024-09-06T12:39:13+05:30 INFO starting UDP DNS server at addr :26789 -2024/09/06 12:39:14 😃 Connected to 8010 port !! -🐰 Keploy: 2024-09-06T12:39:30+05:30 INFO 🟠 Keploy has captured test cases for the user's application. {"path": "/home/yashkhare.linux/samples-go/mux-sql/keploy/test-set-2/tests", "testcase name": "test-1"} -🐰 Keploy: 2024-09-06T12:39:32+05:30 INFO 🟠 Keploy has captured test cases for the user's application. {"path": "/home/yashkhare.linux/samples-go/mux-sql/keploy/test-set-2/tests", "testcase name": "test-2"} -🐰 Keploy: 2024-09-06T12:39:47+05:30 INFO 🟠 Keploy has captured test cases for the user's application. {"path": "/home/yashkhare.linux/samples-go/mux-sql/keploy/test-set-2/tests", "testcase name": "test-3"} -Signal received, canceling context... -2024/09/06 12:40:08 Server is shutting down... -2024/09/06 12:40:08 Server exiting -🐰 Keploy: 2024-09-06T12:40:09+05:30 INFO proxy stopped... -🐰 Keploy: 2024-09-06T12:40:09+05:30 INFO eBPF resources released successfully...