Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
117f4fa
added gliner onnx support
aramikm Feb 17, 2026
35c7227
committing poetry.lock
aramikm Feb 19, 2026
4380a74
add build and publish image to ECR workflow
demisx Feb 19, 2026
687091f
add free disk space step
demisx Feb 19, 2026
ce4e62d
copy poetry lock to docker image
demisx Feb 19, 2026
bb23ea3
build amd64 version only
demisx Feb 19, 2026
c770018
correct ECR repo name
demisx Feb 19, 2026
e3b59cc
Merge pull request #2 from ProjectLibertyLabs/add-publish-ecr-github-…
demisx Feb 19, 2026
7d19d37
correct branch name to build docker image from
demisx Feb 19, 2026
a58813c
improved credit card and dob and phone number
aramikm Feb 20, 2026
fd40d57
Merge branch 'gliner_integration' of https://github.com/ProjectLibert…
aramikm Feb 20, 2026
d05d495
Add ICS staging ECR workflow for PII Analyzer
demisx Mar 3, 2026
6b0ec0c
Merge pull request #3 from ProjectLibertyLabs/88-publish-pii-analyzer…
demisx Mar 3, 2026
1e64309
added claw defender endpoints
aramikm Mar 3, 2026
25ea7c6
Merge pull request #4 from ProjectLibertyLabs/added_claw_defender_end…
aramikm Mar 3, 2026
8a9015c
fix linting
aramikm Mar 3, 2026
89e99c6
Merge pull request #5 from ProjectLibertyLabs/fix_linting
aramikm Mar 3, 2026
d91922c
fix linting
aramikm Mar 3, 2026
8fb9806
Merge pull request #6 from ProjectLibertyLabs/another_linting
aramikm Mar 3, 2026
01701e8
fix poetry
aramikm Mar 4, 2026
b2d9ddf
Merge pull request #7 from ProjectLibertyLabs/fix_poetry_lock
aramikm Mar 4, 2026
6f4778d
added: readyz and livez endpoints
aramikm Mar 4, 2026
134233c
Merge pull request #8 from ProjectLibertyLabs/added_readyz_livez
aramikm Mar 4, 2026
2e6d2b3
added graceful shutdowns
aramikm Mar 4, 2026
c80d4a7
Merge pull request #9 from ProjectLibertyLabs/graceful_shutdowns
aramikm Mar 4, 2026
a49a9f9
Fix CI concurrency groups to prevent cross-workflow cancellation
demisx Mar 5, 2026
bf9343c
Merge pull request #10 from ProjectLibertyLabs/fix-ci-concurrency
demisx Mar 5, 2026
69ab1b8
Add CI workflow to publish pii-analyzer image to prod ECR
demisx Mar 6, 2026
b1d6acf
Merge pull request #11 from ProjectLibertyLabs/130-add-prod-ecr-workflow
demisx Mar 6, 2026
980f350
Remove POCs staging ECR workflow (#12)
demisx Mar 17, 2026
80b480c
Add GitHub Actions workflow to publish pii-analyzer image to test ECR…
demisx Mar 17, 2026
f5567df
remove openclaw references
aramikm Mar 19, 2026
2474f01
remove openclaw references
aramikm Mar 19, 2026
11c847c
Merge pull request #14 from ProjectLibertyLabs/remove_openclaw
aramikm Mar 19, 2026
929c661
remove openclaw from paths
aramikm Mar 19, 2026
d46f4f2
Merge pull request #15 from ProjectLibertyLabs/path_fixes
aramikm Mar 19, 2026
5971e67
Rename ECR repos from cheo-pii-analyzer to pii-analyzer (#16)
demisx Apr 1, 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
89 changes: 89 additions & 0 deletions .github/workflows/build-publish-image-ics-prod-ecr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
name: Build and Publish Image to ICS Production ECR
concurrency:
group: build-ics-prod-ecr-${{github.ref}}
cancel-in-progress: true
on:
push:
branches:
- _prod
permissions:
contents: read
packages: read
env:
AWS_REGION: us-east-2
DOCKER_PLATFORMS: linux/amd64

jobs:
changes:
name: Changes
runs-on: ubuntu-24.04
outputs:
docker-images: ${{steps.filter.outputs.docker-images}}
steps:
- name: Check Out Repo
uses: actions/checkout@v5
- name: Check for Changed Files
uses: dorny/paths-filter@v3
id: filter
with:
filters: |
docker-images:
- '.github/workflows/build-publish-image-ics-prod-ecr.yaml'
- 'presidio-analyzer/**'
- '*'

build-publish-docker-images:
needs: changes
name: Build and Publish to ICS Production ECR
if: needs.changes.outputs.docker-images == 'true'
env:
DOCKER_REGISTRY: ${{secrets.ICS_PROD_AWS_ACCOUNT}}.dkr.ecr.us-east-2.amazonaws.com
AWS_OIDC_ROLE: ${{secrets.ICS_PROD_AWS_GITHUB_OIDC_ROLE_ARN}}
BRANCH_NAME: _prod
runs-on: ubuntu-22.04
permissions:
id-token: write
contents: read
strategy:
fail-fast: false
matrix:
service: ["presidio-analyzer"]

steps:
- name: Check Out Repo
uses: actions/checkout@v5
- name: Derive Short SHA
id: short-sha
run: |
short_sha=${GITHUB_SHA::7}
echo "short_sha=$short_sha" >> $GITHUB_OUTPUT
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{env.AWS_OIDC_ROLE}}
aws-region: ${{env.AWS_REGION}}
- name: Current AWS Identity
run: aws sts get-caller-identity
- name: Login to ECR
uses: docker/login-action@v3
with:
registry: ${{env.DOCKER_REGISTRY}}
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
tool-cache: true
- name: Build and Push
uses: docker/build-push-action@v6
env:
ECR_NAMESPACE: ics-prod/pii-analyzer
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
context: presidio-analyzer
file: ${{matrix.service}}/Dockerfile.gliner-edge
platforms: ${{env.DOCKER_PLATFORMS}}
push: true
tags: |
${{env.DOCKER_REGISTRY}}/${{env.ECR_NAMESPACE}}:latest
${{env.DOCKER_REGISTRY}}/${{env.ECR_NAMESPACE}}:${{env.BRANCH_NAME}}-${{steps.short-sha.outputs.short_sha}}-${{github.run_number}}
97 changes: 97 additions & 0 deletions .github/workflows/build-publish-image-ics-stg-ecr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
name: Build and Publish Image to ICS Staging ECR
concurrency:
group: build-ics-stg-ecr-${{github.ref}}
cancel-in-progress: true
on:
push:
branches:
- gliner_integration
# XXX Test only
- test-ci
workflow_dispatch:
permissions:
contents: read
packages: read
env:
AWS_REGION: us-east-2
# DOCKER_PLATFORMS: linux/amd64,linux/arm64
DOCKER_PLATFORMS: linux/amd64

jobs:
changes:
name: Changes
runs-on: ubuntu-24.04
outputs:
docker-images: ${{steps.filter.outputs.docker-images}}
steps:
- name: Check Out Repo
uses: actions/checkout@v5
- name: Check for Changed Files
uses: dorny/paths-filter@v3
id: filter
with:
filters: |
docker-images:
- '.github/workflows/build-publish-image-ics-stg-ecr.yaml'
- 'presidio-analyzer/**'
- '*'

build-publish-docker-images:
needs: changes
name: Build and Publish to ICS Staging ECR
if: needs.changes.outputs.docker-images == 'true'
env:
DOCKER_REGISTRY: ${{secrets.ICS_STG_AWS_ACCOUNT}}.dkr.ecr.us-east-2.amazonaws.com
AWS_OIDC_ROLE: ${{secrets.ICS_STG_AWS_GITHUB_OIDC_ROLE_ARN}}
BRANCH_NAME: gliner_integration
runs-on: ubuntu-22.04
permissions:
id-token: write
contents: read
strategy:
fail-fast: false
matrix:
service: ["presidio-analyzer"]

steps:
- name: Check Out Repo
uses: actions/checkout@v5
- name: Derive Short SHA
id: short-sha
run: |
short_sha=${GITHUB_SHA::7}
echo "short_sha=$short_sha" >> $GITHUB_OUTPUT
# - name: Set up QEMU
# uses: docker/setup-qemu-action@v3
# with:
# platforms: ${{env.DOCKER_PLATFORMS}}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{env.AWS_OIDC_ROLE}}
aws-region: ${{env.AWS_REGION}}
- name: Current AWS Identity
run: aws sts get-caller-identity
- name: Login to ECR
uses: docker/login-action@v3
with:
registry: ${{env.DOCKER_REGISTRY}}
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
tool-cache: true
- name: Build and Push
uses: docker/build-push-action@v6
env:
ECR_NAMESPACE: ics-stg/pii-analyzer
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
context: presidio-analyzer
file: ${{matrix.service}}/Dockerfile.gliner-edge
platforms: ${{env.DOCKER_PLATFORMS}}
push: true
tags: |
${{env.DOCKER_REGISTRY}}/${{env.ECR_NAMESPACE}}:latest
${{env.DOCKER_REGISTRY}}/${{env.ECR_NAMESPACE}}:${{env.BRANCH_NAME}}-${{steps.short-sha.outputs.short_sha}}-${{github.run_number}}
95 changes: 95 additions & 0 deletions .github/workflows/build-publish-image-ics-test-ecr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
name: Build and Publish Image to ICS Test ECR
concurrency:
group: build-ics-test-ecr-${{github.ref}}
cancel-in-progress: true
on:
push:
branches:
- _test
workflow_dispatch:
permissions:
contents: read
packages: read
env:
AWS_REGION: us-east-2
# DOCKER_PLATFORMS: linux/amd64,linux/arm64
DOCKER_PLATFORMS: linux/amd64

jobs:
changes:
name: Changes
runs-on: ubuntu-24.04
outputs:
docker-images: ${{steps.filter.outputs.docker-images}}
steps:
- name: Check Out Repo
uses: actions/checkout@v5
- name: Check for Changed Files
uses: dorny/paths-filter@v3
id: filter
with:
filters: |
docker-images:
- '.github/workflows/build-publish-image-ics-test-ecr.yaml'
- 'presidio-analyzer/**'
- '*'

build-publish-docker-images:
needs: changes
name: Build and Publish to ICS Test ECR
if: needs.changes.outputs.docker-images == 'true'
env:
DOCKER_REGISTRY: ${{secrets.ICS_TEST_AWS_ACCOUNT}}.dkr.ecr.us-east-2.amazonaws.com
AWS_OIDC_ROLE: ${{secrets.ICS_TEST_AWS_GITHUB_OIDC_ROLE_ARN}}
BRANCH_NAME: _test
runs-on: ubuntu-22.04
permissions:
id-token: write
contents: read
strategy:
fail-fast: false
matrix:
service: ["presidio-analyzer"]

steps:
- name: Check Out Repo
uses: actions/checkout@v5
- name: Derive Short SHA
id: short-sha
run: |
short_sha=${GITHUB_SHA::7}
echo "short_sha=$short_sha" >> $GITHUB_OUTPUT
# - name: Set up QEMU
# uses: docker/setup-qemu-action@v3
# with:
# platforms: ${{env.DOCKER_PLATFORMS}}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{env.AWS_OIDC_ROLE}}
aws-region: ${{env.AWS_REGION}}
- name: Current AWS Identity
run: aws sts get-caller-identity
- name: Login to ECR
uses: docker/login-action@v3
with:
registry: ${{env.DOCKER_REGISTRY}}
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
tool-cache: true
- name: Build and Push
uses: docker/build-push-action@v6
env:
ECR_NAMESPACE: ics-test/pii-analyzer
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
context: presidio-analyzer
file: ${{matrix.service}}/Dockerfile.gliner-edge
platforms: ${{env.DOCKER_PLATFORMS}}
push: true
tags: |
${{env.DOCKER_REGISTRY}}/${{env.ECR_NAMESPACE}}:latest
${{env.DOCKER_REGISTRY}}/${{env.ECR_NAMESPACE}}:${{env.BRANCH_NAME}}-${{steps.short-sha.outputs.short_sha}}-${{github.run_number}}
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ ENV/
env.bak/
venv.bak/
*venv/
poetry.lock

# Spyder project settings
.spyderproject
Expand Down Expand Up @@ -140,4 +139,6 @@ mkdocs/

# Visual Studio
/.vs
/TestResults
/TestResults

.claude
Loading
Loading