Commit graph

11 commits

Author SHA1 Message Date
rjshrjndrn
bcc7d35b7f docs: improve services input description
Add example values (frontend,api,sink) to the services input
description in the release deployment workflow to make it clearer
for users what format is expected.

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2025-03-06 16:24:25 +01:00
rjshrjndrn
45656ec6d7 fix(ci): maintain correct working directory in workflow
Adds working_dir variable to track the initial directory and ensures
proper directory navigation when processing services in the release
deployment workflow.

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2025-03-06 16:22:55 +01:00
rjshrjndrn
15829d865e fix(workflow): move wait outside build services loop
The wait command was placed inside the service loop,
causing the workflow to wait after each individual service build.
Moving it outside ensures all service builds run in parallel before
proceeding to the next step.

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2025-03-06 16:22:55 +01:00
rjshrjndrn
029376c3e4 fix(ci): add missing loop closures in deploy workflow
Add the required 'done' keywords at the end of for loops in the
Kubernetes deployment steps for both EE and FOSS clusters to ensure
proper script execution.

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2025-03-06 16:22:55 +01:00
rjshrjndrn
3ca6f78bed perf(ci): parallelize FOSS and EE build steps
Improves build performance by running EE and FOSS builds in parallel
using depot's parallel build capabilities. Each service's builds now
run concurrently with proper process management via Bash background
jobs, reducing overall build time.

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2025-03-06 16:22:55 +01:00
rjshrjndrn
12a729fafe refactor(ci): simplify image tag format
The image tag generation in the release deployment workflow was simplified
by removing the redundant IMAGE_TAG variable prepending. Now the tag is
directly composed of the branch name and short SHA, resulting in cleaner
and more readable image tags.

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2025-03-06 16:22:55 +01:00
rjshrjndrn
0a17460c5a feat: add enterprise edition image build and deployment
Add parallel Enterprise Edition (-ee suffix) image building and update
K8s deployments to use the EE images in the EE cluster. This change
enables maintaining both community and enterprise edition deployments
from the same workflow.

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2025-03-06 16:22:55 +01:00
rjshrjndrn
faadfa497f fix(actions): set default build script name before service loop
The workflow was missing a default value for the BUILD_SCRIPT_NAME
variable, which could cause failures when processing services. This
commit adds "build.sh" as the default value.

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2025-03-06 16:22:55 +01:00
rjshrjndrn
bbeb508738 fix(actions): standardize registry URL in workflows
Replace all instances of RELEASE_OSS_REGISTRY secret with the already
defined IMAGE_REGISTRY_URL environment variable for consistency across
deployment steps. This eliminates duplicate references to the same
registry URL and simplifies future maintenance.

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2025-03-06 16:22:55 +01:00
rjshrjndrn
333fd642be feat(ci): add DEPOT_TOKEN to release workflow env
Add the DEPOT_TOKEN secret to the environment variables section of the
release-deployment workflow to enable proper authentication with the
Depot service for Docker builds.

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2025-03-06 16:22:55 +01:00
rjshrjndrn
5e93178876 refactor(ci): revamp release deployment workflow
Completely redesign the release deployment workflow to:
- Simplify image building and deployment process
- Add branch-based tagging with commit SHA
- Replace AWS ECR login with direct Docker registry auth
- Improve service deployment with explicit image setting
- Update naming and descriptions for better clarity

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2025-03-06 16:22:55 +01:00