test script examples
This commit is contained in:
@@ -12,8 +12,9 @@ jobs:
|
|||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
run: |
|
run: |
|
||||||
cd /opt/mitm-webserver
|
cd /opt/mitm-webserver
|
||||||
|
git fetch origin main
|
||||||
|
git checkout main
|
||||||
git reset --hard origin/main
|
git reset --hard origin/main
|
||||||
git pull
|
|
||||||
|
|
||||||
- name: Build Frontend
|
- name: Build Frontend
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -158,3 +158,4 @@ app.include_router(packet_api.router, prefix="/packets", tags=["packets"])
|
|||||||
app.include_router(analysis_api.router, prefix="/analysis", tags=["analysis"])
|
app.include_router(analysis_api.router, prefix="/analysis", tags=["analysis"])
|
||||||
app.include_router(nft_manager.router, tags=["firewall"])
|
app.include_router(nft_manager.router, tags=["firewall"])
|
||||||
app.include_router(packet_scripting_api.router, prefix="/scripts", tags=["scripts"])
|
app.include_router(packet_scripting_api.router, prefix="/scripts", tags=["scripts"])
|
||||||
|
packet_scripting_api.register_lifecycle(app)
|
||||||
|
|||||||
Reference in New Issue
Block a user