Skip to content

For testing: mock-rp-onboarder propertiesOverride + esignet-standalone-2.0.0 testrig deploy fix - #403

Merged
bhumi46 merged 4 commits into
mosip:esignetissue2288from
bhumi46:es-go-test
Sep 25, 2026
Merged

bhumi46 merged 4 commits into
mosip:esignetissue2288from
bhumi46:es-go-test

Conversation

@bhumi46

@bhumi46 bhumi46 commented Sep 25, 2026

Copy link
Copy Markdown
Member

Summary

For testing on esignetissue2288 — continues the es-go-test → esignetissue2288 chain (previously merged through #393). Adds the 3 commits since then:

  • Adds onboarding.propertiesOverride.mock-rp-oidc.* values for esignet-mock-rp-onboarder (it had none before, unlike esignet-misp-onboarder), wires KEYCLOAK_ADMIN_PASSWORD/KEYCLOAK_CLIENT_SECRET/mosip_pms_client_secret in via extraEnvVarsSecret instead of hardcoding them, and swaps priorities so esignet-mock-rp-onboarder now runs before esignet-misp-onboarder.
  • Points the onboarder's LOGO_URI/REDIRECT_URIS/EXTERNAL_URL at esignet-go-mock/healthservices-go-mock hostnames. Note: these hostnames aren't provisioned anywhere else in this profile yet (checked — no DNS record, no other DSF reference) — flagged to the requester, kept as specified.
  • Fixes esignet-standalone-2.0.0 testrigs actually failing to deploy: the "Validate esignet-standalone-2.0.0 testrig secrets/variables" step failed the whole helmsman apply whenever any of the 13 new testrig secrets/vars weren't configured yet (none were). Removed that gate and gave every one of those values a changeme fallback (matching eSignet's own testrig values.secret.yaml.example convention) so deployment always succeeds — real values only need to land before an actual test run. Also removed trigger-test-jobs-esignet.sh for this profile (it was never actually wired as a postInstall hook, and there's no need to trigger cronjobs immediately after deploy).
  • docs/HELMSMAN_TESTRIGS_GUIDE.md updated to match.

References

🤖 Generated with Claude Code

bhumi46 and others added 3 commits September 25, 2026 18:13
…ck-rp-onboarder first

esignet-mock-rp-onboarder had no onboarding.propertiesOverride.mock-rp-oidc.*
values at all - only generic module/s3/domainConfig config, unlike
esignet-misp-onboarder's own propertiesOverride.esignet.* block. Add the
mock-rp-oidc module's business values (POLICY_NAME, OIDC_CLIENTID,
REDIRECT_URIS, etc.), adapted to this instance with ${domain_name}
substitution in place of the reference's sandbox.mosip.net placeholders.

KEYCLOAK_ADMIN_PASSWORD/KEYCLOAK_CLIENT_SECRET/mosip_pms_client_secret are
deliberately left out of propertiesOverride - putting real credentials in a
committed DSF file would be wrong. They reach the onboarding Job as real
secret env vars instead, via the same extraEnvVarsSecret mechanism
esignet-misp-onboarder already uses - esignet-mock-rp-onboarder-preinstall.sh
already copies both the "keycloak" and "keycloak-client-secrets" secrets into
esignet-mock, but the DSF never actually wired them in via extraEnvVarsSecret
until now.

Also swap priorities so esignet-mock-rp-onboarder (-6) now runs before
esignet-misp-onboarder (-5), reversing the previous order. The two run in
separate namespaces against separate deployments (esignet-mock vs.
esignet-mosipid), so there's no real ordering dependency either way -
comments updated to match.

Signed-off-by: bhumi46 <thisisbn46@gmail.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01G1eGZbFM5tT9YS9rcQtwqS
…thservices-go-mock

Use esignet-go-mock/healthservices-go-mock hostnames for LOGO_URI/REDIRECT_URIS/
EXTERNAL_URL instead of the plain esignet/healthservices ones, and tighten the
propertiesOverride block's own explanatory comment.

Signed-off-by: bhumi46 <thisisbn46@gmail.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01G1eGZbFM5tT9YS9rcQtwqS
…on gate

The hard "Validate esignet-standalone-2.0.0 testrig secrets/variables" step
failed the whole helmsman apply whenever any of the 13 new testrig
secrets/vars weren't already configured - which none of them were yet, so
every 2.0.0 testrig deploy failed outright. Remove that step, and give every
one of those values a changeme fallback (matching eSignet's own testrig
values.secret.yaml.example placeholder convention) so deployment always
succeeds. A changeme deployment still gets a working apitestrig/uitestrig on
its normal cron schedule - real values only need to land before an actual
test run, updated in the Environment and picked up on the next trigger, no
redeploy required.

Also remove trigger-test-jobs-esignet.sh for this profile - it was never
actually wired as a postInstall hook anywhere in testrigs-dsf.yaml (the only
reference to it was the doc's own, incorrect "fires automatically" claim),
and there's no need to trigger cronjobs immediately after deploy - they
already run on their own configured schedule.

docs/HELMSMAN_TESTRIGS_GUIDE.md updated to match: the secrets/variables
table now says "Optional" with the changeme-fallback explanation instead of
"Required", and the Post-Deployment section no longer claims
esignet-standalone-2.0.0 has an auto-trigger step.

Signed-off-by: bhumi46 <thisisbn46@gmail.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01G1eGZbFM5tT9YS9rcQtwqS
@coderabbitai

coderabbitai Bot commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

🗂️ Base branches to auto review (16)
  • ^main$
  • ^master$
  • ^master-java21$
  • ^develop$
  • ^develop2$
  • ^develop/.*
  • ^release$
  • ^release/.*
  • ^release-.*
  • ^\d+.\d+.x$
  • ^\d+.\d+.\d+$
  • ^hotfix/.*
  • ^hotfix-.*
  • develop
  • release-*
  • MOSIP*

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: ASSERTIVE

Plan: Advanced

Run ID: d7f68115-413f-4968-93d4-851e2a1acd17

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Match mosip#402 (esqa1-DSD-10860, already merged) exactly instead of
diverging on my own placeholder choice:
- UPDATE_BEFORE_RUN instead of changeme, everywhere.
- MOSIPID_KEYCLOAK_ADMIN_PASSWORD gets no fallback at all - it's already a
  required, properly-configured secret from the earlier onboarder work,
  so a fake placeholder there would mask a real config gap instead of
  papering over an expected-empty one.

docs/HELMSMAN_TESTRIGS_GUIDE.md updated to match mosip#402's own wording for the
same sections.

Signed-off-by: bhumi46 <thisisbn46@gmail.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01G1eGZbFM5tT9YS9rcQtwqS
@bhumi46
bhumi46 merged commit 0034c9e into mosip:esignetissue2288 Sep 25, 2026
5 checks passed
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.

1 participant