You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Keploy can be integrated with GitHub by two methods:-
18
22
19
23
1.[Using Shell Scripts](#shell-scripts)
@@ -34,10 +38,6 @@ GitHub scripts are the easiest way to integrate Keploy with GitHub. We will be u
34
38
...
35
39
```
36
40
37
-
> **Note: if you are using `arm_64` as runner use below to download keploy binary**
38
-
39
-
`curl --silent --location "https://github.com/keploy/keploy/releases/latest/download/keploy_linux_arm64.tar.gz" | tar xz --overwrite -C /tmp`
40
-
41
41
### Example with Scripts
42
42
43
43
While using [express-mongoose](https://github.com/keploy/samples-typescript/tree/main/express-mongoose) sample-application with keploy test in GitHub CI, the workflow would like:-
Keploy can integrated with GitLab CI to streamline your testing process and ensure continuous testing as part of your CI/CD pipeline.
18
22
19
23
## Create pipeline
@@ -41,10 +45,6 @@ keploy-test-job: # This job runs in the test stage.
41
45
...
42
46
```
43
47
44
-
> **Note: if you are using `arm_64` as runner use below to download keploy binary**
45
-
46
-
`curl --silent --location "https://github.com/keploy/keploy/releases/latest/download/keploy_linux_arm64.tar.gz" | tar xz --overwrite -C /tmp`
47
-
48
48
Now that we have Keploy installed, and all ready, we need switch to path where `keploy` folder is present in our application and install all the application related dependencies. Since we are using [flask-mongo](https://github.com/keploy/samples-python) sample-application, steps in our `script:` would look like below:-
49
49
50
50
```yaml
@@ -66,17 +66,15 @@ In your `.gitlab-ci.yml file`, in last step we have `keploy test` command to run
66
66
67
67
### 📝 Note
68
68
69
-
Did you notice some weird stuff in the pipeline? Like `kmod`, `linux-headers`, `/sys/kernel/debug`...and thought, _"Wait, am I hacking the kernel or something?"_ 😅
69
+
Did you notice some weird stuff in the pipeline? Like `kmod`, `linux-headers`, `/sys/kernel/debug`
70
70
71
71
Don’t worry — these are just there because **Keploy uses eBPF** (a cool Linux feature) to trace your app’s behavior.
72
72
73
73
So we install `kmod`, `linux-headers-generic`, and `bpfcc-tools` to make that tracing possible.
74
74
75
-
Some CI systems don’t have `/sys/kernel/debug` and `/sys/kernel/tracing` by default, so we create them and mount `debugfs` and `tracefs` — it’s like giving Keploy the **backstage pass** it needs to watch your app in action.
76
-
77
-
No black magic. Just some low-level Linux stuff helping your tests run like magic! 🪄✨
75
+
Some CI systems don’t have `/sys/kernel/debug` and `/sys/kernel/tracing` by default, so we create them and mount `debugfs` and `tracefs`
0 commit comments