Skip to content

chore: Add custom tag for pg build in ad-hoc image builder#36913

Merged
abhvsn merged 2 commits intoreleasefrom
feat/add-pg-tag-custom-ad-hoc-builder
Oct 17, 2024
Merged

chore: Add custom tag for pg build in ad-hoc image builder#36913
abhvsn merged 2 commits intoreleasefrom
feat/add-pg-tag-custom-ad-hoc-builder

Conversation

@abhvsn
Copy link
Contributor

@abhvsn abhvsn commented Oct 16, 2024

Description

PR to add support for custom pg image during the ad-hoc-builder script. Procedure for the hotfixes from v1.45 is as follows:

Steps to perform the hotfix:

  1. Create a hotfix branch from the tag where we need the hotfix, hotfix/<version> and note down the commit-sha
  2. Create hotfix branch pg-hotfix/<version> from commit sha on pg branch from step 1
  3. Cherry-pick commits from release to hotfix branches
  4. Build the server locally by running ./build.sh -DskipTests within server directory to avoid any build failures at later stages on both the hotfix branches
  5. If we are seeing any build failure involve @db-infra team as required
  6. Run the ad-hoc image builder with pg-hotfix/<version> branch to generate pg specific tag pg-vx.y.z
  7. Do the sanity testing with postgres url
  8. Only after successful generation of pg-vx.y.z tag from step 4, run the ad-hoc image builder with hotfix/<version> branch to generate specific tag vx.y.z and pass the pg_tag created in step 4 i.e. pg-vx.y.z
  9. Do the sanity test for mongo DB URLs on vx.y.z
  10. Ask devops to create latest tags from vx.y.z as this is not supported in the ad-hoc image generation script. Make sure to have support for platforms: linux/arm64,linux/amd64

Fixes #36838

/test Sanity

🔍 Cypress test results

Warning

Tests have not run on the HEAD 9af256c yet


Wed, 16 Oct 2024 13:05:17 UTC

Communication

Should the DevRel and Marketing teams inform users about this change?

  • Yes
  • No

@abhvsn abhvsn requested a review from sharat87 as a code owner October 16, 2024 13:03
@github-actions github-actions bot added DB Infrastructure Pod Pod to handle database infrastructure Move to Postgres Issues required to be solved for the move to Postgres as repository layer Task A simple Todo skip-changelog Adding this label to a PR prevents it from being listed in the changelog labels Oct 16, 2024
@abhvsn abhvsn merged commit 4870010 into release Oct 17, 2024
@abhvsn abhvsn deleted the feat/add-pg-tag-custom-ad-hoc-builder branch October 17, 2024 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DB Infrastructure Pod Pod to handle database infrastructure Move to Postgres Issues required to be solved for the move to Postgres as repository layer skip-changelog Adding this label to a PR prevents it from being listed in the changelog Task A simple Todo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Task]: Update ad-hoc image builder to include pg artifact

2 participants