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

Add cache purging to staging deploy #6364

Merged
merged 2 commits into from
Oct 15, 2024
Merged

Conversation

zwolf
Copy link
Member

@zwolf zwolf commented Oct 8, 2024

Please request review from @zooniverse/frontend team or an individual member of that team.

Package

Linked Issue and/or Talk Post

Describe your changes

Adds a new step to the staging deploy github action that purges the entire frontend-preview-zooniverse-org Front Door cache. Utilizes a new ci-cd repo reusable workflow (and requires zooniverse/ci-cd#87 to be merged prior to deploying this).

This is intended to precede the production version of this feature so I can test running the new ci-cd workflow from this repo. Also need to confirm that purging /* is definitely what we want to do. Using the new shared workflow to affect multiple paths is possible, but it would need some tweaking.

How to Review

Helpful explanations that will make your reviewer happy:

  • What Zooniverse project should my reviewer use to review UX?
  • What user actions should my reviewer step through to review this PR?
  • Which storybook stories should be reviewed?
  • Are there plans for follow up PR’s to further fix this bug or develop this feature?

Checklist

PR Creator - Please cater the checklist to fit the review needed for your code changes.
PR Reviewer - Use the checklist during your review. Each point should be checkmarked or discussed before PR approval.

General

  • Tests are passing locally and on Github
  • Documentation is up to date and changelog has been updated if appropriate
  • You can yarn panic && yarn bootstrap or docker-compose up --build and FEM works as expected
  • FEM works in all major desktop browsers: Firefox, Chrome, Edge, Safari (Use Browserstack account as needed)
  • FEM works in a mobile browser

General UX

Example Staging Project: i-fancy-cats

  • All pages of a FEM project load: Home Page, Classify Page, and About Pages
  • Can submit a classification
  • Can sign-in and sign-out
  • The component is accessible

Bug Fix

  • The PR creator has listed user actions to use when testing if bug is fixed
  • The bug is fixed
  • Unit tests are added or updated

New Feature

  • The PR creator has listed user actions to use when testing the new feature
  • Unit tests are included for the new feature
  • A storybook story has been created or updated
    • Example of SlideTutorial component with docgen comments, and its story

Refactoring

  • The PR creator has described the reason for refactoring
  • The refactored component(s) continue to work as expected

Maintenance

  • If not from dependabot, the PR creator has described the update (major, minor, or patch version, changelog)

Post-merge

  • This PR adds translations keys to English dictionary(s). See guidance for pulling new keys to Lokalise here.

@zwolf zwolf requested a review from goplayoutside3 October 8, 2024 23:43
@coveralls
Copy link

coveralls commented Oct 8, 2024

Coverage Status

coverage: 77.832% (+0.008%) from 77.824%
when pulling 6924ecb on deploy-purge-cache-staging
into 2c203a1 on master.

@github-actions github-actions bot added the approved This PR is approved for merging label Oct 15, 2024
@zwolf zwolf merged commit 6449eb6 into master Oct 15, 2024
7 checks passed
@zwolf zwolf deleted the deploy-purge-cache-staging branch October 15, 2024 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved This PR is approved for merging
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants