Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
935e482
Docs: updated ES/OS setup docs.
vladd-bit Mar 4, 2026
3244046
Merge branch 'main' of https://github.com/CogStack/CogStack-NiFi into…
vladd-bit Mar 5, 2026
8275a2f
Merge branch 'main' of https://github.com/CogStack/CogStack-NiFi into…
vladd-bit Mar 12, 2026
9bfe777
Merge branch 'main' of https://github.com/CogStack/CogStack-NiFi into…
vladd-bit Apr 7, 2026
288ad3a
Merge branch 'main' of https://github.com/CogStack/CogStack-NiFi into…
vladd-bit Apr 20, 2026
fefb1e1
NiFi: fixed localhost url issues after 2.9 update.
vladd-bit Apr 22, 2026
8106ec6
Merge branch 'main' of https://github.com/CogStack/CogStack-NiFi into…
vladd-bit Jun 24, 2026
da4a9b9
Update submodules to latest release tags (or default branch)
vladd-bit Jun 24, 2026
3bf1c54
Merge branch 'main' of https://github.com/CogStack/CogStack-NiFi into…
vladd-bit Jun 30, 2026
9a4930c
Merge branch 'main' of https://github.com/CogStack/CogStack-NiFi into…
vladd-bit Jul 16, 2026
af2ef5b
Merge branch 'main' of https://github.com/CogStack/CogStack-NiFi into…
vladd-bit Jul 21, 2026
119fb7f
Merge branch 'main' of https://github.com/CogStack/CogStack-NiFi into…
vladd-bit Aug 14, 2026
ab9bae1
Merge branch 'main' of https://github.com/CogStack/CogStack-NiFi into…
vladd-bit Sep 3, 2026
0529609
Merge branch 'main' of https://github.com/CogStack/CogStack-NiFi into…
vladd-bit Oct 21, 2026
659fc29
Removed old version of CogStack cohort.
vladd-bit Oct 22, 2026
914c4cb
Deploy: OpenSearch updated to vsersion 3.9.
vladd-bit Oct 22, 2026
af76baf
Deploy/Services: (ES) updated OpenSearch to 3.9.0 and made relevant c…
vladd-bit Oct 23, 2026
c26b872
Deploy: fix script perms.
vladd-bit Oct 23, 2026
40c4214
Scripts: nifi smoke test updates.
vladd-bit Oct 28, 2026
cc1e81e
Deploy/services: refined OpenSearch integration with AI agents... add…
vladd-bit Oct 29, 2026
9b3fc57
Deploy: pinned image versions across docker compose + env files.
vladd-bit Oct 29, 2026
577c0de
Consitency update for env files across docker containers.
vladd-bit Oct 29, 2026
486a080
Script perms update.
vladd-bit Oct 29, 2026
ffc76c1
Deploy: synced Helm with docker opensearch v.
vladd-bit Oct 29, 2026
7c8a931
Potential fix for pull request finding 'Imprecise assert'
vladd-bit Oct 29, 2026
651a5ac
Potential fix for pull request finding 'Imprecise assert'
vladd-bit Oct 29, 2026
fe62630
Merge branch 'main' into integration_testing
vladd-bit Oct 29, 2026
1876d40
Potential fix for pull request finding 'Imprecise assert'
vladd-bit Oct 29, 2026
fb73c4c
Potential fix for pull request finding 'Implicit string concatenation…
vladd-bit Oct 29, 2026
0a12133
MyPy fixes.
vladd-bit Oct 29, 2026
6b35e49
Potential fix for pull request finding 'CodeQL / Clear-text storage o…
vladd-bit Oct 29, 2026
07b6c30
Cleaned .gitignore and corrected stale image-tag(s).
vladd-bit Oct 29, 2026
fad904f
PGSQL updated to 18.6 (kube).
vladd-bit Nov 5, 2026
3fe2eb6
Services: PgSQL/MSSQL updates - Each initializer uses one read-only b…
vladd-bit Nov 5, 2026
a060df4
Services: added TLS to PgSQL.
vladd-bit Nov 5, 2026
040835f
Merge branch 'main' of https://github.com/CogStack/CogStack-NiFi into…
vladd-bit Nov 5, 2026
7937f0b
Refactor NiFi/nginx runtimes and simplify Compose configuration
vladd-bit Nov 10, 2026
b227004
NiFi: updated templates.
vladd-bit Nov 10, 2026
9d86c31
Updated script perms.
vladd-bit Nov 11, 2026
835985a
Updated script syntax.
vladd-bit Nov 11, 2026
c274702
fix: mark scripts as executable
vladd-bit Nov 11, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
# endpoints, identifiers, or other data and are not reproducible inputs.
nifi/conf/flow.json.gz
nifi/conf/archive/
nifi/user_scripts/logs/
nifi/user_scripts/db/
nifi/user_scripts/extensions/
nifi/**/.venv/

# Development and operating-system artefacts within the included source tree.
nifi/**/__pycache__/
Expand Down
2 changes: 0 additions & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,3 @@
#*.exe filter=lfs diff=lfs merge=lfs -text
# Doc images
#docs/_static/img filter=lfs diff=lfs merge=lfs -text
#services/cogstack-cohort/cui_pt2ch.json filter=lfs diff=lfs merge=lfs -text
#services/cogstack-cohort/snomed_terms.json filter=lfs diff=lfs merge=lfs -text
104 changes: 100 additions & 4 deletions .github/workflows/compose_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,70 @@ on:
paths:
- "deploy/*.env"
- "deploy/export_env_vars.sh"
- "deploy/config_files.sh"
- "deploy/Makefile"
- "security/scripts/**"
- "scripts/opensearch-ai-init.sh"
- "scripts/tests/check_nifi_resources.py"
- "scripts/tests/test_configuration.py"
- "scripts/tests/test_nifi_runtime.py"
- "scripts/tests/check_opensearch_settings.py"
- "scripts/tests/test_opensearch_deployment.py"
- "services/elasticsearch/**"
- "services/cogstack-db/**"
- "services/pgsamples/**"
- "scripts/tests/test_database_deployment_security.py"
- "scripts/tests/test_postgres_certificates.py"
- "scripts/tests/test_postgres_initialization.py"
- "scripts/tests/test_mssql_initialization.py"
- "services/kibana/config/opensearch.yml"
- "security/templates/**"
- "security/es_roles/opensearch/**"
- "scripts/tests/test_opensearch_ai_init.py"
- "deploy/services*.yml"
- "deploy/charts/**"
- "deploy/helm/**"
- "nifi/Dockerfile"
- "nifi/docker/**"
- "services/nginx/Dockerfile"
- "services/ollama-openai-proxy/Dockerfile"
- "scripts/tests/check_deployment_images.py"
- "scripts/tests/test_deployment_images.py"
- "security/env/*.env"
- ".github/workflows/compose_config.yml"
pull_request:
paths:
- "deploy/*.env"
- "deploy/export_env_vars.sh"
- "deploy/config_files.sh"
- "deploy/Makefile"
- "security/scripts/**"
- "scripts/opensearch-ai-init.sh"
- "scripts/tests/check_nifi_resources.py"
- "scripts/tests/test_configuration.py"
- "scripts/tests/test_nifi_runtime.py"
- "scripts/tests/check_opensearch_settings.py"
- "scripts/tests/test_opensearch_deployment.py"
- "services/elasticsearch/**"
- "services/cogstack-db/**"
- "services/pgsamples/**"
- "scripts/tests/test_database_deployment_security.py"
- "scripts/tests/test_postgres_certificates.py"
- "scripts/tests/test_postgres_initialization.py"
- "scripts/tests/test_mssql_initialization.py"
- "services/kibana/config/opensearch.yml"
- "security/templates/**"
- "security/es_roles/opensearch/**"
- "scripts/tests/test_opensearch_ai_init.py"
- "deploy/services*.yml"
- "deploy/charts/**"
- "deploy/helm/**"
- "nifi/Dockerfile"
- "nifi/docker/**"
- "services/nginx/Dockerfile"
- "services/ollama-openai-proxy/Dockerfile"
- "scripts/tests/check_deployment_images.py"
- "scripts/tests/test_deployment_images.py"
- "security/env/*.env"
- ".github/workflows/compose_config.yml"
workflow_dispatch:
Expand All @@ -32,10 +88,50 @@ jobs:
steps:
- uses: actions/checkout@v7

- name: Set up Python
uses: actions/setup-python@v7
with:
python-version: "3.11"

- name: Set up Java for certificate generation tests
uses: actions/setup-java@v6
with:
distribution: temurin
java-version: '21'

- name: Install deployment test dependency
run: python3 -m pip install PyYAML==6.0.3

- name: Set up Helm
uses: azure/setup-helm@v5.0.1
with:
version: v4.3.1

- name: Validate Compose files
shell: bash
run: |
set -euo pipefail
source deploy/export_env_vars.sh
docker compose -f deploy/services.yml config --quiet
docker compose -f deploy/services.dev.yml config --quiet
make -C deploy check-config

- name: Verify deployment image pins
run: python3 -B scripts/tests/check_deployment_images.py --helm

- name: Test image drift checks
run: python3 -B -m unittest discover -s scripts/tests -p test_deployment_images.py -v

- name: Test configuration profiles and resource guards
run: python3 -B -m unittest discover -s scripts/tests -p test_configuration.py -v

- name: Test NiFi upstream settings, persistence and credential isolation
run: python3 -B scripts/tests/test_nifi_runtime.py -v

- name: Test database bootstrap and credential isolation
run: |
python3 -B -m unittest discover -s scripts/tests -p 'test_*initialization.py' -v
python3 -B scripts/tests/test_database_deployment_security.py
python3 -B scripts/tests/test_postgres_certificates.py

- name: Test OpenSearch AI configuration
run: python3 -B -m unittest discover -s scripts/tests -p test_opensearch_ai_init.py -v

- name: Test OpenSearch Compose and Helm compatibility
run: python3 -B -m unittest discover -s scripts/tests -p test_opensearch_deployment.py -v
9 changes: 9 additions & 0 deletions .github/workflows/docker_elasticsearch_stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,16 @@ on:
push:
branches: ['**']
tags: ['v*.*.*']
paths: &paths
- ".github/workflows/docker_elasticsearch_stack.yml"
- ".github/workflows/_docker_template.yml"
- ".gitattributes"
- "services/elasticsearch/**"
- "services/kibana/**"
- "!**/*.md"
- "!**/README*"
pull_request:
paths: *paths
release:
types: [published]
workflow_dispatch:
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/docker_nifi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,18 @@ on:
push:
branches: ['**']
tags: ['v*.*.*']
paths: &paths
- ".github/workflows/docker_nifi.yml"
- ".github/workflows/_docker_template.yml"
- ".gitattributes"
- ".dockerignore"
- "nifi/**"
- "pyproject.toml"
- "uv.lock"
- "!**/*.md"
- "!**/README*"
pull_request:
paths: *paths
release:
types: [published]
workflow_dispatch:
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/docker_nifi_nginx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,15 @@ on:
push:
branches: ['**']
tags: ['v*.*.*']
paths: &paths
- ".github/workflows/docker_nifi_nginx.yml"
- ".github/workflows/_docker_template.yml"
- ".gitattributes"
- "services/nginx/**"
- "!**/*.md"
- "!**/README*"
pull_request:
paths: *paths
release:
types: [published]
workflow_dispatch:
Expand Down
22 changes: 21 additions & 1 deletion .github/workflows/smoke_elastic_services.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,29 @@
name: smoke-elastic-services

on:
pull_request:
push:
branches: ['**']
paths: &paths
- ".github/workflows/smoke_elastic_services.yml"
- ".gitattributes"
- "deploy/Makefile"
- "deploy/export_env_vars.sh"
- "deploy/config_files.sh"
- "deploy/*.env"
- "security/env/*.env"
- "security/scripts/**"
- "security/templates/**"
- "deploy/services.yml"
- "services/elasticsearch/**"
- "services/kibana/**"
- "security/es_roles/**"
- "scripts/tests/check_opensearch_settings.py"
- "scripts/tests/smoke_elastic_services.sh"
- "scripts/tests/smoke_http_checks.sh"
- "!**/*.md"
- "!**/README*"
pull_request:
paths: *paths
workflow_dispatch:

concurrency:
Expand Down
19 changes: 18 additions & 1 deletion .github/workflows/smoke_gitea_service.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,26 @@
name: smoke-gitea-service

on:
pull_request:
push:
branches: ['**']
paths: &paths
- ".github/workflows/smoke_gitea_service.yml"
- ".gitattributes"
- "deploy/Makefile"
- "deploy/export_env_vars.sh"
- "deploy/config_files.sh"
- "deploy/*.env"
- "security/env/*.env"
- "security/scripts/**"
- "security/templates/**"
- "deploy/services.yml"
- "services/gitea/**"
- "scripts/tests/smoke_gitea_service.sh"
- "scripts/tests/smoke_http_checks.sh"
- "!**/*.md"
- "!**/README*"
pull_request:
paths: *paths
workflow_dispatch:

concurrency:
Expand Down
38 changes: 32 additions & 6 deletions .github/workflows/smoke_nifi_services.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,33 @@
name: smoke-nifi-services

on:
pull_request:
push:
branches: ['**']
paths: &paths
- ".github/workflows/smoke_nifi_services.yml"
- ".gitattributes"
- "deploy/Makefile"
- "deploy/export_env_vars.sh"
- "deploy/config_files.sh"
- "deploy/*.env"
- "security/env/*.env"
- "security/scripts/**"
- "security/templates/**"
- ".dockerignore"
- "nifi/**"
- "pyproject.toml"
- "uv.lock"
- "services/nginx/**"
- "deploy/services.yml"
- "deploy/services.dev.yml"
- "scripts/tests/check_nifi_resources.py"
- "scripts/tests/smoke_nifi_services.sh"
- "scripts/tests/test_nifi_runtime.py"
- "scripts/tests/smoke_http_checks.sh"
- "!**/*.md"
- "!**/README*"
pull_request:
paths: *paths
workflow_dispatch:

concurrency:
Expand All @@ -28,11 +52,15 @@ jobs:
java-version: '21'

- name: Generate certificates
working-directory: security/scripts
run: |
set -euo pipefail
./create_root_ca_cert.sh
./create_nifi_certs.sh
make -C deploy init-security-nifi

- name: Validate published nginx startup
run: |
set -euo pipefail
source deploy/export_env_vars.sh
docker compose -f deploy/services.yml run --rm --no-deps nifi-nginx nginx -t

- name: Smoke tests
run: |
Expand All @@ -44,7 +72,6 @@ jobs:
run: |
set -euo pipefail
source deploy/export_env_vars.sh
set -euo pipefail
docker compose -f deploy/services.dev.yml ps
docker compose -f deploy/services.dev.yml logs --no-color nifi nifi-nginx

Expand All @@ -53,5 +80,4 @@ jobs:
run: |
set -euo pipefail
source deploy/export_env_vars.sh
set -euo pipefail
docker compose -f deploy/services.dev.yml down -v
30 changes: 29 additions & 1 deletion .github/workflows/smoke_postgres_services.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,26 @@
name: smoke-postgres-services

on:
pull_request:
push:
branches: ['**']
paths: &paths
- ".github/workflows/smoke_postgres_services.yml"
- ".gitattributes"
- "deploy/Makefile"
- "deploy/export_env_vars.sh"
- "deploy/config_files.sh"
- "deploy/*.env"
- "security/env/*.env"
- "security/scripts/**"
- "security/templates/**"
- "deploy/services.yml"
- "services/pgsamples"
- "services/pgsamples/**"
- "scripts/tests/smoke_postgres_services.sh"
- "!**/*.md"
- "!**/README*"
pull_request:
paths: *paths
workflow_dispatch:

concurrency:
Expand All @@ -21,6 +38,17 @@ jobs:
steps:
- uses: actions/checkout@v7

- name: Set up Java
uses: actions/setup-java@v6
with:
distribution: 'temurin'
java-version: '21'

- name: Generate PostgreSQL certificates
run: |
set -euo pipefail
make -C deploy init-security-postgresql

- name: Start samples database
run: |
set -euo pipefail
Expand Down
Loading
Loading