Skip to content

Conversation

@jjalan
Copy link
Contributor

@jjalan jjalan commented Nov 2, 2025

Summary

Restructure GitHub Actions workflows to align with the optimized CI/CD architecture from node-react-template.

Changes

  • Split CI and CD into separate workflows for better separation of concerns
  • CI workflow handles linting, testing, and SonarQube analysis independently
  • CD workflow manages preview deployments with concurrency controls
  • Simplified cleanup, permanent preview, and production workflows
  • Updated to github-ci v2.5 for consistency
  • Removed redundant workflow files
  • Standardized app naming to flask-react-template across all workflows

Technical Details

The new structure provides:

  • Parallel execution of independent CI jobs (lint, test, sonarqube, review)
  • Better concurrency management for deployments
  • Clearer workflow organization matching node-react-template
  • Consistent naming conventions across environments

@jalan-technologies-sonarqube

This comment has been minimized.

1 similar comment
@jalan-technologies-sonarqube

This comment has been minimized.

Restructure GitHub Actions workflows to improve separation of concerns and maintainability:

- Split CI and CD into separate workflows for better clarity and parallel execution
- CI workflow now handles linting, testing, SonarQube analysis independently
- CD workflow manages deployments with proper concurrency controls
- Simplified cleanup, permanent preview, and production workflows
- Updated to use github-ci v2.5 for consistency
- Removed redundant workflow files (clean_on_delete, clean_on_dispatch, preview_on_dispatch)
- Standardized app naming to flask-react-template across all workflows
- Update README to reference CI/CD instead of Deployment
- Update workflow badge to use new production.yml filename
- Add comprehensive CI/CD pipeline documentation with Mermaid diagram
- Document independent CI and CD workflows
- Clarify workflow responsibilities and timing estimates
- Update deployment workflows list to match new structure
@jjalan jjalan force-pushed the optimize-ci-pipeline branch from 6e79486 to 3495cf9 Compare November 2, 2025 13:54
@jalan-technologies-sonarqube

This comment has been minimized.

Flask-react-template requires both Node.js and Python dependencies for linting.
Added Python 3.11 setup and pipenv installation to the lint job.
@jalan-technologies-sonarqube

This comment has been minimized.

Flask-react-template requires v3.2.5 reusable workflows which properly handle:
- Temporal worker hostname configuration
- Multi-host ingress setup
- Build args and deployment parameters

The v2.5 individual action approach from node-react-template doesn't support
flask-react-template's specific infrastructure requirements.
@jalan-technologies-sonarqube

This comment has been minimized.

…ean check names

Changed from reusable workflows (which show nested job names like deploy/build, deploy/deploy)
to single-job workflows using v3.2.5 individual build and deploy actions.

This provides clean check names matching node-react-template:
- ci/lint
- ci/sonarqube
- ci/review
- ci/test
- cd/deploy (single check instead of nested)
@jalan-technologies-sonarqube
Copy link

Passed

Analysis Details

0 Issues

  • Bug0 Bugs
  • Vulnerability0 Vulnerabilities
  • Code Smell0 Code Smells

Coverage and Duplications

  • No coverage informationNo coverage information (0.00% Estimated after merge)
  • No duplication informationNo duplication information (0.00% Estimated after merge)

Project ID: jalantechnologies_flask-react-template

View in SonarQube

@jjalan jjalan closed this Nov 2, 2025
@jjalan jjalan deleted the optimize-ci-pipeline branch November 2, 2025 14:13
@github-actions
Copy link

github-actions bot commented Nov 2, 2025

Code Coverage

Package Line Rate Health
src.apps.backend 81%
src.apps.backend.bin 70%
src.apps.backend.modules 100%
src.apps.backend.modules.account 99%
src.apps.backend.modules.account.internal 98%
src.apps.backend.modules.account.internal.store 91%
src.apps.backend.modules.account.rest_api 96%
src.apps.backend.modules.application 91%
src.apps.backend.modules.application.common 80%
src.apps.backend.modules.application.internal 79%
src.apps.backend.modules.application.workers 56%
src.apps.backend.modules.authentication 100%
src.apps.backend.modules.authentication.internals.access_token 97%
src.apps.backend.modules.authentication.internals.otp 98%
src.apps.backend.modules.authentication.internals.otp.store 89%
src.apps.backend.modules.authentication.internals.password_reset_token 97%
src.apps.backend.modules.authentication.internals.password_reset_token.store 89%
src.apps.backend.modules.authentication.rest_api 100%
src.apps.backend.modules.config 94%
src.apps.backend.modules.config.internals 94%
src.apps.backend.modules.config.internals.config_files 78%
src.apps.backend.modules.logger 86%
src.apps.backend.modules.logger.internal 68%
src.apps.backend.modules.notification 78%
src.apps.backend.modules.notification.internals 68%
src.apps.backend.modules.notification.internals.store 90%
src.apps.backend.modules.task 100%
src.apps.backend.modules.task.internal 97%
src.apps.backend.modules.task.internal.store 90%
src.apps.backend.modules.task.rest_api 95%
src.apps.backend.scripts 38%
tests 100%
tests.modules 100%
tests.modules.account 99%
tests.modules.application 100%
tests.modules.authentication 99%
tests.modules.config 100%
tests.modules.task 99%
Summary 92% (3619 / 3913)

Minimum allowed line rate is 60%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants