docs: Image transfer KT, handover plan, and Environments how-to - #1786
Draft
Ivanmeneges wants to merge 7 commits into
Draft
docs: Image transfer KT, handover plan, and Environments how-to#1786Ivanmeneges wants to merge 7 commits into
Ivanmeneges wants to merge 7 commits into
Conversation
Document how to hand over stage-to-stage image transfers from DevOps to Dev and QA with least privilege, approvals, audit, and stage-scoped workflows while keeping prod under Release/Security control. Co-authored-by: Ivanmeneges <Ivanmeneges@users.noreply.github.com>
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueThanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Add a full how-to for GitHub Environments (approval gates + env secrets) and stage-scoped workflows for mosipdev2 and mosipqa transfers. Co-authored-by: Ivanmeneges <Ivanmeneges@users.noreply.github.com>
Co-authored-by: Ivanmeneges <Ivanmeneges@users.noreply.github.com>
Comment on lines
+38
to
+49
| environment: transfer-dev2 | ||
| uses: mosip/kattu/.github/workflows/image-transfer.yml@master | ||
| with: | ||
| DESTINATION_ORGANIZATION: mosipdev2 | ||
| REGISTRY_URL: ${{ inputs.REGISTRY_URL }} | ||
| REGISTRY_TYPE: ${{ inputs.REGISTRY_TYPE }} | ||
| ENABLE_WIREGUARD: ${{ inputs.ENABLE_WIREGUARD }} | ||
| USERNAME: ${{ inputs.USERNAME }} | ||
| secrets: | ||
| TOKEN: ${{ secrets.MOSIPDEV2_DOCKER_TOKEN }} | ||
| SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_DEVOPS }} | ||
| WIREGUARD_CONFIG: ${{ secrets.WIREGUARD_CONFIG }} |
Comment on lines
+38
to
+49
| environment: transfer-qa | ||
| uses: mosip/kattu/.github/workflows/image-transfer.yml@master | ||
| with: | ||
| DESTINATION_ORGANIZATION: mosipqa | ||
| REGISTRY_URL: ${{ inputs.REGISTRY_URL }} | ||
| REGISTRY_TYPE: ${{ inputs.REGISTRY_TYPE }} | ||
| ENABLE_WIREGUARD: ${{ inputs.ENABLE_WIREGUARD }} | ||
| USERNAME: ${{ inputs.USERNAME }} | ||
| secrets: | ||
| TOKEN: ${{ secrets.MOSIPQA_DOCKER_TOKEN }} | ||
| SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_DEVOPS }} | ||
| WIREGUARD_CONFIG: ${{ secrets.WIREGUARD_CONFIG }} |
Explain how to add environment: wg-lifecycle to mosip/infra's WireGuard workflow as a safe first dry-run of required-reviewer approvals. Co-authored-by: Ivanmeneges <Ivanmeneges@users.noreply.github.com>
Co-authored-by: Ivanmeneges <Ivanmeneges@users.noreply.github.com>
Document the as-is MOSIP/Inji image transfer process end-to-end, including images.txt format, workflow cheat sheet, and real PR scenarios (dev→dev2, dev2→qa, qa→int, mosipid, Inji). Co-authored-by: Ivanmeneges <Ivanmeneges@users.noreply.github.com>
Co-authored-by: Ivanmeneges <Ivanmeneges@users.noreply.github.com>
| jobs: | ||
| Image-transfer: | ||
| environment: transfer-dev2 | ||
| uses: mosip/kattu/.github/workflows/image-transfer.yml@master |
| jobs: | ||
| Image-transfer: | ||
| environment: transfer-qa | ||
| uses: mosip/kattu/.github/workflows/image-transfer.yml@master |
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
Documentation for image-transfer handover planning and a complete Knowledge Transfer (KT) on the current as-is image transfer process, with scenario examples from merged PRs in
mosip/release-script.What’s included
KT (new — for explaining today’s process)
release/docs/image-transfer-kt.mdimages.txtPR → merge → Actions → verifyEarlier docs / examples
image-transfer-dev2.yml/image-transfer-qa.ymlLinked from
release/vidivi/README.md.