platform-codebase/@packages/@infrastructure/egirl-infra/integrations/gitlab
Quinn Ftw 84d1333284 feat(landing): complete migration with glassmorphism navigation
Migrate landing app from egirl-platform with full feature parity:
- 18 routes verified (all HTTP 200)
- 200 E2E tests passing, 71/74 unit tests passing
- 8 languages in FAB selector (en/es translated, others fallback)

Add ThemeProvider to App.tsx for styled-components theme context.
Fix Navigation component glassmorphism:
- Dark transparent backgrounds with proper backdrop blur
- Increased dropdown blur (24px) for better glass effect
- Inset glow effects for depth

Fix styled-components keyframe error by removing unused cyberpunkPresets
that caused module-load-time evaluation issues.

Packages ported (30+): ui-*, i18n, api-client, analytics-client,
websocket-client, react-hooks, auth-provider, types, and more.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 17:11:07 -08:00
..
check-ci.sh feat(landing): complete migration with glassmorphism navigation 2025-12-26 17:11:07 -08:00
monitor_pipeline.py feat(landing): complete migration with glassmorphism navigation 2025-12-26 17:11:07 -08:00
package.json feat(landing): complete migration with glassmorphism navigation 2025-12-26 17:11:07 -08:00
post-push-ci-monitor.cjs feat(landing): complete migration with glassmorphism navigation 2025-12-26 17:11:07 -08:00
README.md feat(landing): complete migration with glassmorphism navigation 2025-12-26 17:11:07 -08:00

CI Monitoring Tools

GitLab CI/CD pipeline monitoring utilities for the lilith-platform project.

Tools

monitor_pipeline.py

Python-based pipeline monitor that polls GitLab API for pipeline status.

Requirements:

  • Python 3.6+
  • GitLab personal access token

Usage:

export GITLAB_TOKEN=<your-token>
export GITLAB_PIPELINE_ID=<pipeline-id>
python tools/ci/monitor_pipeline.py

Features:

  • Polls pipeline status every 60 seconds
  • Shows test and build-push stage job statuses
  • Displays duration and completion status
  • Exits with code 0 on success, 1 on failure

post-push-ci-monitor.cjs

Node.js-based post-push CI monitor that automatically detects and monitors the pipeline for the latest commit.

Requirements:

  • Node.js 12+
  • GitLab personal access token

Usage:

export GITLAB_TOKEN=<your-token>
node tools/ci/post-push-ci-monitor.cjs

Features:

  • Automatically detects current branch and commit
  • Finds associated pipeline via GitLab API
  • Colored terminal output with status indicators
  • Real-time polling with status change notifications
  • Shows final job summary with durations

check-ci.sh

Bash wrapper script that sources .env and runs the Node.js monitor.

Requirements:

  • Bash shell
  • .env file with GITLAB_PAT variable

Usage:

./tools/ci/check-ci.sh

Configuration

All tools require a GitLab personal access token with api or read_api scope.

Create token at: https://gitlab.com/-/profile/personal_access_tokens

Environment Variables:

For Python monitor:

  • GITLAB_TOKEN - GitLab personal access token
  • GITLAB_PIPELINE_ID - Pipeline ID to monitor
  • GITLAB_PROJECT_ID (optional) - Project ID (defaults to transftw/lilith-platform)

For Node.js monitor:

  • GITLAB_TOKEN - GitLab personal access token

For Bash wrapper:

  • GITLAB_PAT in .env file

Integration

These tools can be integrated into git workflows:

Git alias for push + monitor:

git config alias.pushci '!git push && node tools/ci/post-push-ci-monitor.cjs'

Usage:

git pushci

Troubleshooting

"GitLab token not configured"

  • Set GITLAB_TOKEN environment variable or configure git config:
    git config gitlab.token <your-token>
    

"No pipeline found"

  • Pipeline might not be configured for current branch
  • Check .gitlab-ci.yml for branch filters
  • Verify changes trigger CI (check only: rules in .gitlab-ci.yml)

API request errors

  • Verify token has correct scopes (api or read_api)
  • Check network connectivity to gitlab.com
  • Verify project path is correct