Skip to content

feat: OPI-1597 Create CI build for activepieces#2

Merged
dubrsl merged 6 commits into
poc/orocommerce_prefixed-path-installfrom
ticket/OPI-1597
Jun 12, 2026
Merged

feat: OPI-1597 Create CI build for activepieces#2
dubrsl merged 6 commits into
poc/orocommerce_prefixed-path-installfrom
ticket/OPI-1597

Conversation

@dubrsl

@dubrsl dubrsl commented Jun 7, 2026

Copy link
Copy Markdown

This pull request introduces a major refactor of the Docker build, deployment, and environment configuration for the project, with a focus on improved multi-stage Docker builds, more robust and portable Docker Compose setup, and the introduction of CI/CD automation via Jenkins. The changes modernize and streamline the build and deployment process, enhance container health monitoring, and improve environment variable management.

Container build and deployment pipeline modernization:

  • Refactored Dockerfile.oro to use a multi-stage build with clearer separation of concerns (base, build, dependencies, production, runtime), optimized for smaller image size, faster builds, and better security. Switched to using bun and system package managers for Node.js/npm, and improved native dependency handling. [1] [2] [3]
  • Added a Jenkins pipeline (Jenkinsfile) for automated building and pushing of Docker images, including registry authentication and buildx support for multi-platform builds.
  • Introduced a docker-bake.hcl file for reproducible and parameterized Docker image builds, supporting consistent tagging and labeling.

Docker Compose and environment improvements:

  • Overhauled docker-compose.oro.yml to use more portable image references, dynamic environment variables, improved healthchecks, and explicit volume mounts. Added a postgres service with healthcheck, updated Redis image, and ensured app/worker dependencies are health-aware.
  • Enhanced .env.example with sane defaults for critical variables, including database and Redis settings, and improved documentation for new settings.

Container health and operability:

  • Added a robust healthcheck script for app and worker containers, using curl to verify service endpoints, and integrated it into Docker Compose and Dockerfile for reliable container health reporting. [1] [2]

These changes collectively make local development, CI/CD, and production deployments more reliable, maintainable, and secure.

feat: update configuration and Docker setup for improved deployment

- Added environment variables to .env.example for better configuration management.
- Enhanced Dockerfile with multi-stage builds for optimized image size and build efficiency.
- Introduced Jenkinsfile for CI/CD pipeline integration.
- Updated docker-compose.oro.yml to streamline service definitions and health checks.
- Added healthcheck script for better container health monitoring.
- Updated bun.lock to include new dependencies for the orocommerce piece.
- Created docker-bake.hcl for build configuration management.
@dubrsl dubrsl changed the title OPI-1597: Create CI build for activepieces feat: OPI-1597 Create CI build for activepieces Jun 7, 2026
Comment thread .env.example Outdated
Comment thread bun.lock Outdated
Comment thread docker-compose.oro.yml
…tion

feat(docker): modify Dockerfile.oro to allow bun to update lockfile
fix(bun.lock): remove orocommerce package references
fix(docker-compose): change postgres image to official postgres:18
@dubrsl dubrsl merged commit 83534b3 into poc/orocommerce_prefixed-path-install Jun 12, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants