Repository navigation
DO-2058: Expose IMS org ID to aio-app-deployment deploy hooks - #194
Merged
Merged
Conversation
aio-commerce-lib-app's post-app-deploy hook reads `project.org.ims_org_id` from the AIO config and sends it as the `x-gw-ims-org-id` header when triggering the app upgrade. In CI that key is only populated from the environment, and the deploy step set AIO_PROJECT_ORG_ID (the numeric org ID) but not the IMS org ID, so the hook failed with: HTTP 401: cannot authorize request, reason: missing x-gw-ims-org-id header Map the existing AIO_IMS_ORG_ID secret to AIO_PROJECT_ORG_IMS__ORG__ID (`__` is a literal `_` in aio-lib-core-config env mapping). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Author
|
There may be some additional environment variables we need to set, but that will only be clear once this change has been merged so the command can progress further. |
AdamJHall
approved these changes
Nov 5, 2026
tmthrgd-aligent
deleted the
fix/DO-2058_add_missing_aio_deploy_env_var
branch
November 5, 2026 23:18
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.
aio-commerce-lib-app's post-app-deploy hook reads
project.org.ims_org_idfrom the AIO config and sends it as thex-gw-ims-org-idheader when triggering the app upgrade. In CI that key is only populated from the environment, and the deploy step set AIO_PROJECT_ORG_ID (the numeric org ID) but not the IMS org ID, so the hook failed with:HTTP 401: cannot authorize request, reason: missing x-gw-ims-org-id header
Map the existing AIO_IMS_ORG_ID secret to AIO_PROJECT_ORG_IMS__ORG__ID (
__is a literal_in aio-lib-core-config env mapping).Description of the proposed changes
Screenshots (if applicable)
Other solutions considered (if any)
Notes to PR author
Notes to reviewers
ℹ️ When you've finished leaving feedback, please add a final comment to the PR tagging the author, letting them know that you have finished leaving feedback
Time Tracking
ABC-xxx: code review, select project XXXX