Repository navigation
5846 add admin console deployment and cloudgov runtime configuration - #6223
Open
raftmsohani wants to merge 5 commits into
Open
raftmsohani wants to merge 5 commits into
raftmsohani wants to merge 5 commits into
Conversation
13 tasks
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #6223 +/- ##
========================================
Coverage 94.94% 94.94%
========================================
Files 643 644 +1
Lines 34861 34902 +41
Branches 641 641
========================================
+ Hits 33098 33139 +41
Misses 1649 1649
Partials 114 114
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
…onsole-deployment-and-cloudgov-runtime-configuration
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary of Changes
Adds independent Cloud.gov deployment for the standalone
tdp-adminconsole, allowing admin releases and rollbacks without deploying the user-facing frontend or backend./api/healthendpoint./admin-authrouting, and post-deployment health checks.Deploy admin-raftPR label trigger and a separate CircleCI workflow with secret scanning, admin checks, revision verification, and serialized deployments. Adds deployment regression tests, production smoke checks, and setup/rollback documentation.Pull request closes #5846.
How to Test
Confirm all checks pass without skipped tests. The production smoke test starts its own mock backend and verifies runtime URLs, login redirects, health checks, and anonymous access protection. The deployment tests use mocked Cloud Foundry commands and do not deploy an app.
Configuration follow-up before deployment:
scripts/deploy-admin.shstill checksKEYCLOAK_TDP_ADMIN_CLIENT_SECRET, while the merged Django configuration readsKC_TDP_ADMIN_CLIENT_SECRET. Align the script, tests, and deployment documentation before testing an environment that uses the renamed variable without a boundtdp_admin_client_secretcredential.secrets-check,test-admin, anddeploy-admin-applicationfor the requested PR commit. Confirm the standalone workflow deploystdp-admin-testinhhs-acf-ofa / tanf-devwithout running the full application deployment. Remove and reapply the label to request another deployment.https://tdp-admin-test.app.cloud.gov/api/healthand/api/backend-health; both should return HTTP 200 withok: true. Open/admin-auth/auth_checkin a private browser session and confirmauthenticated: false.https://tdp-admin-test.app.cloud.gov/login, sign in with an authorized admin test account, and verify/dashboardand/usersload. Confirm login returns to the public admin hostname. Log out, then verify anonymous requests cannot access admin data.Deliverables
More details on how deliverables herein are assessed included here.
Deliverable 1: Accepted Features
Checklist of ACs:
lfrohlichand/oradpenningtonconfirmed that ACs are met.Deliverable 2: Tested Code
CodeCov Reportcomment in PR)CodeCov Reportcomment in PR)Deliverable 3: Properly Styled Code
Deliverable 4: Accessible
iamjollyandttran-hubusing Accessibility Insights reveal any errors introduced in this PR?Deliverable 5: Deployed
Deliverable 6: Documented
Deliverable 7: Secure
Deliverable 8: User Research
Research product(s) clearly articulate(s):