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

Verify test environment #11294

Closed
Tracked by #11291
sean1588 opened this issue Apr 18, 2024 · 1 comment
Closed
Tracked by #11291

Verify test environment #11294

sean1588 opened this issue Apr 18, 2024 · 1 comment
Assignees
Labels
area/docs Improvements or additions to documentation kind/task Work that's part of an ongoing epic resolution/fixed This issue was fixed
Milestone

Comments

@sean1588
Copy link
Member

sean1588 commented Apr 18, 2024

Verify everything is working as expected in the testing environment. Here are some suggestions of things we can verify:

  • Verify content and assets are being built, deployed and served correctly from the docs testing environment
  • Verify assets that are being built and served properly (verify assets are served with correct version and file name)
  • Run browser tests against test website endpoint
  • Check search index in algolia test app (environment) to check that we have the same number of entries as in production. This will help us verify we are not missing any content in test that is in production.

(will add more verification steps as I think of more)

@github-actions github-actions bot added the needs-triage Needs attention from the triage team label Apr 18, 2024
@sean1588 sean1588 removed the needs-triage Needs attention from the triage team label Apr 18, 2024
@sean1588 sean1588 self-assigned this Apr 18, 2024
@sean1588 sean1588 added this to the 0.103 milestone Apr 22, 2024
@sean1588
Copy link
Member Author

sean1588 commented May 15, 2024

Test environment verification

I did a dry run of the migration process on the testing/hugo-retirement-2 branch and deployed it to the test environment, www.pulumi-test.io. Everything looks good from what I can tell.

Here are things I verified:

Number of pages built is the same between the test environment and the latest prod deployment (at the point in time).

test:
Screenshot from 2024-05-14 14-26-32

prod:
Screenshot from 2024-05-14 14-27-13

Sitemap Index Files

The sitemap index files are the same at www.pulumi-test.io/sitemap-index.xml and www.pulumi.com/sitemap-index.xml

Sitemaps

The sitemaps do contain the same number of entries. However, for some reason there seems to be a small diff in the sitemap files where one map contains some lastmod properties on some pages that it didn't before. I think this is fine though.

[prod on left, testing on right]
Screenshot from 2024-05-15 08-29-42

robots.txt

The robots .txt files look the same in both prod and testing except the one at www.pulumi-test.io/robots.txt, contains a Disallow: *. This is because it is the testing environment and we have a conditional to set this only if the environment is not production. See: https://github.com/pulumi/pulumi-hugo/blob/master/themes/default/layouts/robots.txt#L2-L4

git history retention

Screenshot from 2024-05-14 14-41-01

Algolia search indexes

algolia search-index.json files across testing and production are same length and contain all the records
www.pulumi.com/search-index.json
www.pulumi-test.io/seach-index.json

@sean1588 sean1588 modified the milestones: 0.103, 0.104 May 15, 2024
@sean1588 sean1588 added kind/task Work that's part of an ongoing epic resolution/fixed This issue was fixed labels May 17, 2024
@sean1588 sean1588 added the area/docs Improvements or additions to documentation label May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/docs Improvements or additions to documentation kind/task Work that's part of an ongoing epic resolution/fixed This issue was fixed
Projects
Archived in project
Development

No branches or pull requests

1 participant