mirror of
https://github.com/laramies/theHarvester.git
synced 2026-09-26 19:44:53 +02:00
fix: package license and guard schedule controls (#2598)
* docs: refresh readme architecture diagrams * fix: ship release licenses and local UI assets * fix: fail closed when schedule prerequisites fail * docs: refresh release-facing operator guide * fix: keep HarvestView on pinned CDN assets * docs: apply HarvestView theme to architecture diagrams * docs: simplify README and clarify diagram labels
This commit is contained in:
@@ -8,6 +8,7 @@ on:
|
||||
- '.dockerignore'
|
||||
- '.github/workflows/harvestview-container.yml'
|
||||
- 'Dockerfile'
|
||||
- 'LICENSE'
|
||||
- 'docker-compose.yml'
|
||||
- 'pyproject.toml'
|
||||
- 'theHarvester/lib/api/**'
|
||||
@@ -78,6 +79,8 @@ jobs:
|
||||
| python3 -c "import json, sys; rows = [json.loads(line) for line in sys.stdin if line.strip()]; assert rows[0]['type'] == 'summary'; assert any(row.get('type') == 'ip' for row in rows[1:]); assert len(rows) == 3"
|
||||
docker compose -p harvestview-container-smoke exec -T theharvester.svc.local \
|
||||
python -c "from playwright.sync_api import sync_playwright; p = sync_playwright().start(); browser = p.chromium.launch(headless=True); browser.close(); p.stop()"
|
||||
test "$(sha256sum LICENSE | cut -d ' ' -f 1)" = \
|
||||
"$(docker compose -p harvestview-container-smoke exec -T theharvester.svc.local sha256sum /usr/share/licenses/theharvester/LICENSE | cut -d ' ' -f 1)"
|
||||
docker compose -p harvestview-container-smoke restart theharvester.svc.local
|
||||
curl --retry 30 --retry-all-errors --retry-delay 1 --fail --silent --show-error \
|
||||
--header 'X-API-Key: harvestview-container-smoke-key' \
|
||||
|
||||
@@ -23,6 +23,7 @@ jobs:
|
||||
uses: ./.github/workflows/harvestview-container.yml
|
||||
|
||||
package-smoke:
|
||||
needs: python-ci
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 15
|
||||
steps:
|
||||
|
||||
Reference in New Issue
Block a user