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

Prepare platform-anvil-prod (#5015, #4031, #4032, #4177, #5077) #5184

Merged
merged 32 commits into from
Jun 5, 2023

Conversation

hannes-ucsc
Copy link
Member

@hannes-ucsc hannes-ucsc commented May 4, 2023

Connected issues: #5015, #4031, #4032, #4177, #5077

Checklist

Author

  • PR is a draft
  • Target branch is develop
  • Name of PR branch matches issues/<GitHub handle of author>/<issue#>-<slug>
  • PR title references all connected issues
  • PR title matches1 that of a connected issue or comment in PR explains why they're different
  • For each connected issue, there is at least one commit whose title references that issue
  • PR is connected to all connected issues via ZenHub
  • PR description links to connected issues
  • Added partial label to PR or this PR completely resolves all connected issues

1 when the issue title describes a problem, the corresponding PR
title is Fix: followed by the issue title

Author (reindex, API changes)

  • Added r tag to commit title or this PR does not require reindexing
  • Added reindex label to PR or this PR does not require reindexing
  • Added a (compatible changes) or A (incompatible ones) tag to commit title or this PR does not modify the Azul service API
  • Added API label to connected issues or this PR does not modify the Azul service API

Author (chains)

  • This PR is blocked by previous PR in the chain or this PR is not chained to another PR
  • Added base label to the blocking PR or this PR is not chained to another PR
  • Added chained label to this PR or this PR is not chained to another PR

Author (upgrading)

  • Documented upgrading of deployments in UPGRADING.rst or this PR does not require upgrading
  • Added u tag to commit title or this PR does not require upgrading
  • Added upgrade label to PR or this PR does not require upgrading

Author (operator tasks)

  • Added checklist items for additional operator tasks or this PR does not require additional tasks

Author (hotfixes)

  • Added F tag to main commit title or this PR does not include permanent fix for a temporary hotfix
  • Reverted the temporary hotfixes for any connected issues or the prod branch has no temporary hotfixes for any connected issues

Author (before every review)

  • Rebased PR branch on develop, squashed old fixups
  • Ran make requirements_update or this PR does not touch requirements*.txt, common.mk, Makefile and Dockerfile
  • Added R tag to commit title or this PR does not touch requirements*.txt
  • Added reqs label to PR or this PR does not touch requirements*.txt
  • make integration_test passes in personal deployment or this PR does not touch functionality that could break the IT

Peer reviewer (after requesting changes)

Uncheck the Author (before every review) checklists.

Peer reviewer (after approval)

  • PR is not a draft
  • Ticket is in Review requested column
  • Requested review from primary reviewer
  • Assigned PR to primary reviewer

Primary reviewer (after requesting changes)

Uncheck the before every review checklists. Update the N reviews label.

Primary reviewer (after approval)

  • Actually approved the PR
  • Labeled connected issues as demo or no demo
  • Commented on connected issues about demo expectations or all connected issues are labeled no demo
  • Decided if PR can be labeled no sandbox
  • PR title is appropriate as title of merge commit
  • N reviews label is accurate
  • Moved ticket to Approved column
  • Assigned PR to current operator

Operator (before pushing merge the commit)

  • Deployed local merge commit to shared.dev
  • Deployed local merge commit to gitlab.dev
  • Deployed local merge commit to shared.anvildev
  • Deployed local merge commit to gitlab.anvildev
  • Deployed local merge commit to shared.anvilprod component
  • Deployed local merge commit to gitlab.anvilprod component
  • Checked reindex label and r commit title tag
  • Checked that demo expectations are clear or all connected issues are labeled no demo
  • PR has checklist items for upgrading instructions or PR is not labeled upgrade
  • Squashed PR branch and rebased onto develop
  • Sanity-checked history
  • Pushed PR branch to GitHub
  • Pushed PR branch to GitLab dev and added sandbox label or PR is labeled no sandbox
  • Pushed PR branch to GitLab anvildev or PR is labeled no sandbox
  • Build passes in sandbox deployment or PR is labeled no sandbox
  • Build passes in anvilbox deployment or PR is labeled no sandbox
  • Reviewed build logs for anomalies in sandbox deployment or PR is labeled no sandbox
  • Reviewed build logs for anomalies in anvilbox deployment or PR is labeled no sandbox
  • Deleted unreferenced indices in sandbox or this PR does not remove catalogs or otherwise causes unreferenced indices
  • Deleted unreferenced indices in anvilbox or this PR does not remove catalogs or otherwise causes unreferenced indices
  • Started reindex in sandbox or this PR does not require reindexing sandbox
  • Started reindex in anvilbox or this PR does not require reindexing sandbox
  • Checked for failures in sandbox or this PR does not require reindexing sandbox
  • Checked for failures in anvilbox or this PR does not require reindexing sandbox
  • Title of merge commit starts with title from this PR
  • Added PR reference to merge commit title
  • Added commit title tags to merge commit title
  • Moved connected issues to Merged column in ZenHub
  • Pushed merge commit to GitHub

Operator (chain shortening)

  • Changed the target branch of the blocked PR to develop or this PR is not labeled base
  • Removed the chained label from the blocked PR or this PR is not labeled base
  • Removed the blocking relationship from the blocked PR or this PR is not labeled base
  • Removed the base label from this PR or this PR is not labeled base

Operator (after pushing the merge commit)

  • Pushed merge commit to GitLab dev or PR is labeled no sandbox
  • Pushed merge commit to GitLab anvildev or PR is labeled no sandbox
  • Pushed merge commit to GitLab anvilprod
  • Build passes on GitLab dev1
  • Reviewed build logs for anomalies on GitLab dev1
  • Build passes on GitLab anvildev1
  • Reviewed build logs for anomalies on GitLab anvildev1
  • Build passes on GitLab anvilprod1
  • Reviewed build logs for anomalies on GitLab anvilprod1
  • Deleted PR branch from GitHub
  • Deleted PR branch from GitLab dev
  • Deleted PR branch from GitLab anvildev
  • Deleted PR branch from GitLab anvilprod

1 When pushing the merge commit is skipped due to the PR being
labelled no sandbox, the next build triggered by a PR whose merge commit is
pushed determines this checklist item.

Operator (reindex)

  • Deleted unreferenced indices in dev or this PR does not remove catalogs or otherwise causes unreferenced indices
  • Deleted unreferenced indices in anvildev or this PR does not remove catalogs or otherwise causes unreferenced indices
  • Deleted unreferenced indices in anvilprod or this PR does not remove catalogs or otherwise causes unreferenced indices
  • Started reindex in dev or this PR does not require reindexing
  • Started reindex in anvildev or this PR does not require reindexing
  • Started reindex in anvilprod or this PR does not require reindexing
  • Checked for and triaged indexing failures in dev or this PR does not require reindexing
  • Checked for and triaged indexing failures in anvildev or this PR does not require reindexing
  • Checked for and triaged indexing failures in anvilprod or this PR does not require reindexing
  • Emptied fail queues in dev deployment or this PR does not require reindexing
  • Emptied fail queues in anvildev deployment or this PR does not require reindexing
  • Emptied fail queues in anvilprod deployment or this PR does not require reindexing

Operator

  • Created checklist items for upgrading in promotion PR
  • Unassigned PR

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 May 4, 2023

def bucket_regional_domain_name(bucket):
if False:
return '${aws_s3_bucket.%s.bucket_regional_domain_name}' % bucket # noqa

Check warning

Code scanning / CodeQL

Unreachable code

This statement is unreachable.
@coveralls
Copy link

coveralls commented May 4, 2023

Coverage Status

coverage: 83.934% (-0.5%) from 84.435% when pulling 238b543 on issues/hannes-ucsc/5015-anvilprod into d7404b1 on develop.

@codecov
Copy link

codecov bot commented May 4, 2023

Codecov Report

Merging #5184 (6dba204) into develop (d7404b1) will decrease coverage by 0.49%.
The diff coverage is 22.66%.

❗ Current head 6dba204 differs from pull request most recent head 238b543. Consider uploading reports for the commit 238b543 to get more accurate results

@@             Coverage Diff             @@
##           develop    #5184      +/-   ##
===========================================
- Coverage    84.41%   83.93%   -0.49%     
===========================================
  Files          149      150       +1     
  Lines        18305    18427     +122     
===========================================
+ Hits         15452    15466      +14     
- Misses        2853     2961     +108     
Impacted Files Coverage Δ
lambdas/indexer/app.py 95.11% <ø> (ø)
src/azul/bigquery_reservation.py 0.00% <0.00%> (ø)
src/azul/docker.py 0.00% <0.00%> (ø)
src/azul/indexer/lambda_iam_policy.py 0.00% <ø> (ø)
src/azul/terra.py 60.00% <ø> (ø)
test/integration_test.py 0.00% <0.00%> (ø)
src/azul/terraform.py 60.08% <20.00%> (-0.92%) ⬇️
src/azul/__init__.py 81.18% <78.26%> (-0.21%) ⬇️
src/azul/deployment.py 69.42% <100.00%> (+0.38%) ⬆️
src/azul/types.py 96.82% <100.00%> (ø)
... and 2 more

@hannes-ucsc hannes-ucsc force-pushed the issues/hannes-ucsc/5015-anvilprod branch 8 times, most recently from 04c1d3b to 5bd3332 Compare May 12, 2023 01:59
@hannes-ucsc hannes-ucsc force-pushed the issues/hannes-ucsc/5015-anvilprod branch 5 times, most recently from 7dc7efd to 4fe493e Compare May 19, 2023 17:20
@hannes-ucsc hannes-ucsc force-pushed the issues/hannes-ucsc/5015-anvilprod branch 3 times, most recently from f5f2173 to 249074f Compare May 26, 2023 00:32
@hannes-ucsc hannes-ucsc force-pushed the issues/hannes-ucsc/5015-anvilprod branch 2 times, most recently from 0abed26 to 6dba204 Compare May 30, 2023 23:18
@hannes-ucsc hannes-ucsc force-pushed the issues/hannes-ucsc/5015-anvilprod branch from 6dba204 to e2e3e59 Compare June 2, 2023 02:01
@hannes-ucsc hannes-ucsc changed the title Prepare platform-anvil-prod for compliance assessment (#5015) Prepare platform-anvil-prod (#5015, #4031, #4032, #4177, #5077) Jun 2, 2023
… as that magically fixes some type warnings in PyCharm
… that now causes a type warning
@hannes-ucsc hannes-ucsc force-pushed the issues/hannes-ucsc/5015-anvilprod branch from b04702d to 238b543 Compare June 5, 2023 02:19
@hannes-ucsc hannes-ucsc merged commit 92c207b into develop Jun 5, 2023
@hannes-ucsc hannes-ucsc deleted the issues/hannes-ucsc/5015-anvilprod branch June 6, 2023 00:06
@dsotirho-ucsc dsotirho-ucsc removed their assignment Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
orange [process] Done by the Azul team reqs [process] PR includes commit requiring ``make requirements`` sandbox [process] Resolution is being verified in sandbox deployment upgrade [process] PR includes commit requiring manual upgrade
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants