Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
14 changes: 14 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Ignore build artifacts and local logs that should never enter image layers
*.exe
*.log
*.tsbuildinfo
.next/
node_modules/
.git/
.gitignore
README.md
frontend/playwright-report/
frontend/test-results/
frontend/coverage/
*.tmp
*.bak
23 changes: 23 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,29 @@ jobs:
cache-from: type=gha
cache-to: type=gha,mode=max

guard-against-binaries:
name: Guard Against Binaries
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check for tracked binaries and logs
run: |
echo "Checking for tracked .exe, .log, tsbuildinfo files..."
if git ls-files | grep -E '\.exe$|\.log$|tsbuildinfo'; then
echo "ERROR: Tracked binaries/logs found. Run: git rm --cached <file> and ensure .gitignore covers it."
exit 1
fi
echo "Checking for large files >1MB..."
# Find files >1MB not in .git or node_modules
large=$(find . -type f -not -path "./.git/*" -not -path "*/node_modules/*" -not -path "./.next/*" -size +1M 2>/dev/null | head -n 20)
if [ -n "$large" ]; then
echo "ERROR: Large files found (>1MB):"
echo "$large"
echo "Please remove them and add to .gitignore"
exit 1
fi
echo "No tracked binaries/logs or large files found."

e2e-tests:
name: E2E Tests (Playwright)
runs-on: ubuntu-latest
Expand Down
2 changes: 0 additions & 2 deletions frontend/stderr.log

This file was deleted.

31 changes: 0 additions & 31 deletions frontend/stdout.log

This file was deleted.

1 change: 0 additions & 1 deletion frontend/tsconfig.tsbuildinfo

This file was deleted.

5 changes: 5 additions & 0 deletions services/analytics-python-service/.dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,8 @@ coverage.xml
.github
Dockerfile
.dockerignore

*.exe
*.log
*.tsbuildinfo

5 changes: 5 additions & 0 deletions services/api-gateway-node/.dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,8 @@ Dockerfile
.git
.github
README.md

*.exe
*.log
*.tsbuildinfo

5 changes: 5 additions & 0 deletions services/ats-service/.dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,8 @@ __pycache__
.env
.git
.gitignore

*.exe
*.log
*.tsbuildinfo

9 changes: 9 additions & 0 deletions services/attendance-service/.dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,12 @@ Dockerfile
.git
.github
README.md

# Ignore build artifacts and logs
*.exe
*.log
*.tsbuildinfo
*.tmp
*.bak
.next/

Binary file removed services/attendance-service/attendance-service.exe
Binary file not shown.
5 changes: 5 additions & 0 deletions services/auth-service/.dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,8 @@ Dockerfile
.git
.github
README.md

*.exe
*.log
*.tsbuildinfo

5 changes: 5 additions & 0 deletions services/employee-python-service/.dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,8 @@ coverage.xml
.github
Dockerfile
.dockerignore

*.exe
*.log
*.tsbuildinfo

5 changes: 5 additions & 0 deletions services/leave-service/.dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,8 @@ Dockerfile
.git
.github
README.md

*.exe
*.log
*.tsbuildinfo

10 changes: 10 additions & 0 deletions services/lms-service/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Dockerfile
.dockerignore
.git
.github
README.md
*.exe
*.log
*.tsbuildinfo
.next/
node_modules/
9 changes: 9 additions & 0 deletions services/notification-go-service/.dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,12 @@ Dockerfile
.git
.github
README.md

# Ignore build artifacts and logs
*.exe
*.log
*.tsbuildinfo
*.tmp
*.bak
.next/

Binary file removed services/notification-go-service/notification.exe
Binary file not shown.
Loading