Skip to content

Add devops.mk && Repeat the dev flow from DAS && Reflect DBS usecases#161

Open
todor-ivanov wants to merge 16 commits into
dmwm:masterfrom
todor-ivanov:feature_CreateDbsDevEnv_fix-160
Open

Add devops.mk && Repeat the dev flow from DAS && Reflect DBS usecases#161
todor-ivanov wants to merge 16 commits into
dmwm:masterfrom
todor-ivanov:feature_CreateDbsDevEnv_fix-160

Conversation

@todor-ivanov

@todor-ivanov todor-ivanov commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Fixes #160

Status

READY

Description

This PR introduces an optional devops.mk workflow for shortening the dbs2go Kubernetes development and testing loop.

The implementation closely follows the established DAS workflow from das2go PR #79 (dmwm/das2go#79):

  • use a separately configured Kubernetes environment;
  • require confirmation before cluster changes;
  • create a dedicated development pod;
  • redirect the regular Service to that pod during testing;
  • rebuild and copy local changes for rapid iteration;
  • restore regular Service routing with devrevert.

The DBS adaptation reflects its specific requirements:

  • builds through Dockerfile.dev for Oracle/glibc compatibility;
  • uses the published registry.cern.ch/cmsweb/dbs2go:dev development image;
  • copies the dbs2go executable and static runtime payload;
  • validates DBS Secrets and Oracle configuration;
  • supports service-specific manifests through DBS_SERVER, initially using dbs2go-global-r;
  • retains generic support for future Reader, Writer and Migration pilot manifests;
  • adds devstatus for inspecting routing and development resources.

The regular build, release, CI/CD and production deployment flows remain unchanged.

Is it backward compatible (if not, which system it affects?)

YES

The workflow is opt-in and runs only through make -f devops.mk ....

Related PRs

External dependencies / deployment changes

Requires the corresponding CMSKubernetes development manifest and the registry.cern.ch/cmsweb/dbs2go:dev image.

Local requirements include Docker, kubectl, an authorized preconfigured Kubernetes environment, and access to the required DBS Secrets and configuration.

@todor-ivanov
todor-ivanov requested a review from vkuznet July 20, 2026 14:25
@todor-ivanov

Copy link
Copy Markdown
Contributor Author

Hi @vkuznet this PR is ready for final review . Please take into account that this one is closely following the same flow and structure as implemented for das2go, only reflecting the DBS architecture specifics.

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.

Optimize the dev-test loop for dbs2go

1 participant