Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Promotion 2024-10-22 anvilprod (#6646, #6661) #6653

Merged
merged 20 commits into from
Oct 30, 2024

Conversation

dsotirho-ucsc
Copy link
Contributor

@dsotirho-ucsc dsotirho-ucsc commented Oct 24, 2024

Connected issue: #6646, #6661

Notes:

Requires a targeted reindex of the anvil8 catalog on hammerbox and anvilprod.

Checklist

Author

  • Target branch is anvilprod
  • Name of PR branch matches promotions/yyyy-mm-dd-anvilprod
  • On ZenHub, PR is connected to the promotion issue it resolves
  • PR description links to connected issue
  • Title of connected issue matches Promotion yyyy-mm-dd
  • PR title starts with title of connected issue followed by anvilprod
  • PR title references the connected issue

Author (reindex, API changes)

  • This PR is labeled reindex:anvilprod or the changes introduced by it will not require reindexing of anvilprod
  • This PR is labeled reindex:partial and its description documents the specific reindexing procedure for anvilprod or requires a full reindex or is not labeledreindex:anvilprod

Author (upgrading deployments)

  • This PR is labeled upgrade or does not require upgrading deployments
  • This PR is labeled deploy:shared or does not modify docker_images.json, and does not require deploying the shared component for any other reason
  • This PR is labeled deploy:gitlab or does not require deploying the gitlab component
  • This PR is labeled deploy:runner or does not require deploying the runner image

System administrator (after approval)

  • Actually approved the PR
  • Decided if PR can be labeled no sandbox
  • Moved connected issue to Approved column
  • PR is assigned to only the operator

Operator (before pushing merge the commit)

  • Pushed PR branch to GitHub
  • Ran _select anvilprod.shared && CI_COMMIT_REF_NAME=anvilprod make -C terraform/shared apply_keep_unused or this PR is not labeled deploy:shared
  • Made a backup of the GitLab data volume in anvilprod (see operator manual for details) or this PR is not labeled backup:gitlab
  • Ran _select anvilprod.gitlab && CI_COMMIT_REF_NAME=anvilprod make -C terraform/gitlab apply or this PR is not labeled deploy:gitlab
  • Checked the items in the next section or this PR is labeled deploy:gitlab
  • PR is assigned to only the system administrator or this PR is not labeled deploy:gitlab

System administrator

  • Background migrations for anvilprod.gitlab are complete or this PR is not labeled deploy:gitlab
  • PR is assigned to only the operator

Operator (before pushing merge the commit)

  • Ran _select anvilprod.gitlab && make -C terraform/gitlab/runner or this PR is not labeled deploy:runner
  • Added sandbox label or PR is labeled no sandbox
  • Pushed PR branch to GitLab anvilprod or PR is labeled no sandbox
  • Build passes in hammerbox deployment or PR is labeled no sandbox
  • Reviewed build logs for anomalies in hammerbox deployment or PR is labeled no sandbox
  • The title of the merge commit starts with the title of this PR
  • Added PR # reference to merge commit title
  • Collected commit title tags in merge commit title but excluded any p tags
  • Pushed merge commit to GitHub

Operator (after pushing the merge commit)

  • Pushed merge commit to GitLab anvilprod
  • Build passes on GitLab anvilprod
  • Reviewed build logs for anomalies on GitLab anvilprod
  • Ran _select anvilprod.shared && make -C terraform/shared apply or this PR is not labeled deploy:shared
  • Deleted PR branch from GitHub
  • Deleted PR branch from GitLab anvilprod
  • Moved connected issue to Merged stable column on ZenHub
  • Moved promoted issues from Merged lower to Merged stable column on ZenHub
  • Moved promoted issues from Lower to Stable column on ZenHub

Operator (reindex)

  • Deindexed all unreferenced catalogs in anvilprod or this PR is neither labeled reindex:partial nor reindex:anvilprod
  • Deindexed specific sources in anvilprod or this PR is neither labeled reindex:partial nor reindex:anvilprod
  • Indexed specific sources in anvilprod or this PR is neither labeled reindex:partial nor reindex:anvilprod
  • Started reindex in anvilprod or this PR does not require reindexing anvilprod
  • Checked for, triaged and possibly requeued messages in both fail queues in anvilprod or this PR does not require reindexing anvilprod
  • Emptied fail queues in anvilprod or this PR does not require reindexing anvilprod

Operator

  • Created backport PR for hotfix commit and linked to it in a comment on this PR
  • PR is assigned to only the system administrator

System administrator

Shorthand for review comments

  • L line is too long
  • W line wrapping is wrong
  • Q bad quotes
  • F other formatting problem

@github-actions github-actions bot added the orange [process] Done by the Azul team label Oct 24, 2024
@dsotirho-ucsc dsotirho-ucsc added reindex:anvilprod [process] PR requires reindexing anvilprod reindex:partial [process] PR allows for (de)indexing a specific source or catalog deploy:gitlab [process] PR requires deploying `gitlab` component deploy:shared [process] PR requires deploying `shared` component deploy:runner [process] PR requires deploying `runner` component backup:gitlab [process] PR requires backing up GitLab instances labels Oct 24, 2024
Copy link

codecov bot commented Oct 24, 2024

Codecov Report

Attention: Patch coverage is 42.85714% with 12 lines in your changes missing coverage. Please review.

Project coverage is 85.34%. Comparing base (54e12dd) to head (673e82a).
Report is 30 commits behind head on anvilprod.

Files with missing lines Patch % Lines
test/integration_test.py 0.00% 12 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff              @@
##           anvilprod    #6653      +/-   ##
=============================================
- Coverage      85.36%   85.34%   -0.03%     
=============================================
  Files            155      155              
  Lines          20770    20782      +12     
=============================================
+ Hits           17731    17736       +5     
- Misses          3039     3046       +7     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

hannes-ucsc
hannes-ucsc previously approved these changes Oct 24, 2024
@dsotirho-ucsc dsotirho-ucsc removed their assignment Oct 28, 2024
@dsotirho-ucsc dsotirho-ucsc force-pushed the promotions/2024-10-22-anvilprod branch from 87b7f06 to d98a628 Compare October 28, 2024 19:20
@dsotirho-ucsc dsotirho-ucsc removed the sandbox [process] Resolution is being verified in sandbox deployment label Oct 28, 2024
Copy link
Member

@hannes-ucsc hannes-ucsc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Snapshot also needs to be removed from hammerbox.

@hannes-ucsc hannes-ucsc added the 1 review [process] Lead requested changes once label Oct 29, 2024
@hannes-ucsc hannes-ucsc removed their assignment Oct 29, 2024
@achave11-ucsc achave11-ucsc added the sandbox [process] Resolution is being verified in sandbox deployment label Oct 29, 2024
@achave11-ucsc achave11-ucsc changed the title Promotion 2024-10-22 anvilprod Promotion 2024-10-22 anvilprod (#6646, #6661) Oct 30, 2024
@achave11-ucsc achave11-ucsc merged commit 7ecc376 into anvilprod Oct 30, 2024
10 checks passed
@achave11-ucsc achave11-ucsc deleted the promotions/2024-10-22-anvilprod branch October 30, 2024 13:42
@achave11-ucsc
Copy link
Member

Backport PR: #6674

achave11-ucsc added a commit that referenced this pull request Nov 5, 2024
@hannes-ucsc hannes-ucsc removed their assignment Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1 review [process] Lead requested changes once backup:gitlab [process] PR requires backing up GitLab instances deploy:gitlab [process] PR requires deploying `gitlab` component deploy:runner [process] PR requires deploying `runner` component deploy:shared [process] PR requires deploying `shared` component orange [process] Done by the Azul team reindex:anvilprod [process] PR requires reindexing anvilprod reindex:partial [process] PR allows for (de)indexing a specific source or catalog sandbox [process] Resolution is being verified in sandbox deployment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants