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 video to production framework #449

Merged
merged 9 commits into from
Aug 3, 2022
Merged

Add video to production framework #449

merged 9 commits into from
Aug 3, 2022

Conversation

brikis98
Copy link
Member

@brikis98 brikis98 commented Aug 1, 2022

The video for my talk Cloud Adoption Fails: 5 Ways Deployments Go Wrong and 5 Solutions is now available. Since this talk introduces the Gruntwork Production Framework, I'm embedding the video in the guide.

Direct link to relevant page in preview env: https://deploy-preview-449--pensive-meitner-faaeee.netlify.app/guides/production-framework/

@netlify
Copy link

netlify bot commented Aug 1, 2022

Deploy Preview for pensive-meitner-faaeee ready!

Name Link
🔨 Latest commit 528f367
🔍 Latest deploy log https://app.netlify.com/sites/pensive-meitner-faaeee/deploys/62e7e1afa43bb700089828a4
😎 Deploy Preview https://deploy-preview-449--pensive-meitner-faaeee.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify
Copy link

netlify bot commented Aug 1, 2022

Deploy Preview for pensive-meitner-faaeee ready!

Name Link
🔨 Latest commit bd405ac
🔍 Latest deploy log https://app.netlify.com/sites/pensive-meitner-faaeee/deploys/62e94f93cf134f00083307e4
😎 Deploy Preview https://deploy-preview-449--pensive-meitner-faaeee.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@brikis98
Copy link
Member Author

brikis98 commented Aug 1, 2022

How come the Netlify preview didn't seem to update after my latest commit?

@brikis98
Copy link
Member Author

brikis98 commented Aug 1, 2022

Ah, whoops, I think I updated the wrong file 🤦

@brikis98
Copy link
Member Author

brikis98 commented Aug 1, 2022

Hm, or not... The preview still seems to be showing the first commit?

@brikis98
Copy link
Member Author

brikis98 commented Aug 1, 2022

@eak12913 @oredavids What am I missing?

rhoboat
rhoboat previously approved these changes Aug 2, 2022
Copy link
Contributor

@rhoboat rhoboat left a comment

Choose a reason for hiding this comment

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

LGTM!

@brikis98
Copy link
Member Author

brikis98 commented Aug 2, 2022

For clarity: the preview URL shows the video, but it isn’t 100% width and the text above it isn’t up to date… I added the video in one commit, then did the 100% width & text changes in subsequent commits, but the preview only shows the first commit.

@rhoboat rhoboat dismissed their stale review August 2, 2022 14:53

Video should be wider

@rhoboat
Copy link
Contributor

rhoboat commented Aug 2, 2022

Going to try kicking off the job again. I think we recreated the mistakenly deleted client-gruntwork team.

@yorinasub17
Copy link
Contributor

yorinasub17 commented Aug 2, 2022

For clarity: the preview URL shows the video, but it isn’t 100% width and the text above it isn’t up to date… I added the video in one commit, then did the 100% width & text changes in subsequent commits, but the preview only shows the first commit.

Looks like you introduced an error in this commit. From the netlify build log:

10:01:06 AM: [ERROR] Docusaurus Node/SSR could not render static page with path /guides/production-framework/ because of following error:
10:01:06 AM: Error: Minified React error #62; visit https://reactjs.org/docs/error-decoder.html?invariant=62 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
10:01:06 AM:     at a.b.renderDOM (main:86857:354)
10:01:06 AM:     at a.b.render (main:86852:399)
10:01:06 AM:     at a.b.read (main:86851:83)
10:01:06 AM:     at Object.exports.renderToString (main:86862:138)
10:01:06 AM:     at doRender (main:22891:356)
10:01:06 AM:     at async serverEntry_render (main:22887:284)
10:01:10 AM: [success] [webpackbar] Server: Compiled with some errors in 16.85s
10:01:10 AM: Error: Server-side rendering fails due to the error above.
10:01:10 AM: [ERROR] Unable to build website for locale en.
10:01:10 AM: [ERROR] Error: Failed to compile with errors.
10:01:10 AM:     at /opt/build/repo/node_modules/@docusaurus/core/lib/webpack/utils.js:202:24
10:01:10 AM:     at /opt/build/repo/node_modules/webpack/lib/MultiCompiler.js:554:14
10:01:10 AM:     at processQueueWorker (/opt/build/repo/node_modules/webpack/lib/MultiCompiler.js:491:6)
10:01:10 AM:     at processTicksAndRejections (node:internal/process/task_queues:78:11)
10:01:10 AM: error Command failed with exit code 1. (https://ntl.fyi/exit-code-1)

And the actual error message:

The style prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.

@brikis98
Copy link
Member Author

brikis98 commented Aug 2, 2022

For clarity: the preview URL shows the video, but it isn’t 100% width and the text above it isn’t up to date… I added the video in one commit, then did the 100% width & text changes in subsequent commits, but the preview only shows the first commit.

Looks like you introduced an error in this commit. From the netlify build log:

10:01:06 AM: [ERROR] Docusaurus Node/SSR could not render static page with path /guides/production-framework/ because of following error:
10:01:06 AM: Error: Minified React error #62; visit https://reactjs.org/docs/error-decoder.html?invariant=62 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
10:01:06 AM:     at a.b.renderDOM (main:86857:354)
10:01:06 AM:     at a.b.render (main:86852:399)
10:01:06 AM:     at a.b.read (main:86851:83)
10:01:06 AM:     at Object.exports.renderToString (main:86862:138)
10:01:06 AM:     at doRender (main:22891:356)
10:01:06 AM:     at async serverEntry_render (main:22887:284)
10:01:10 AM: [success] [webpackbar] Server: Compiled with some errors in 16.85s
10:01:10 AM: Error: Server-side rendering fails due to the error above.
10:01:10 AM: [ERROR] Unable to build website for locale en.
10:01:10 AM: [ERROR] Error: Failed to compile with errors.
10:01:10 AM:     at /opt/build/repo/node_modules/@docusaurus/core/lib/webpack/utils.js:202:24
10:01:10 AM:     at /opt/build/repo/node_modules/webpack/lib/MultiCompiler.js:554:14
10:01:10 AM:     at processQueueWorker (/opt/build/repo/node_modules/webpack/lib/MultiCompiler.js:491:6)
10:01:10 AM:     at processTicksAndRejections (node:internal/process/task_queues:78:11)
10:01:10 AM: error Command failed with exit code 1. (https://ntl.fyi/exit-code-1)

And the actual error message:

The style prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.

Ohhh, man, I totally missed that. I tried browsing the logs, but I think I was still seeing the logs from the old preview env and not the new (broken) one 🤦

Thanks for the pointer!

@brikis98
Copy link
Member Author

brikis98 commented Aug 2, 2022

OK, I had to use JSX syntax, and now things are working. Thanks for the eagle eyes @yorinasub17!

I need one more "ship it" and this is good to go!

Copy link
Contributor

@yorinasub17 yorinasub17 left a comment

Choose a reason for hiding this comment

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

LGTM!

@rhoboat
Copy link
Contributor

rhoboat commented Aug 2, 2022

@yorinasub17 Where did you see the "actual error message"? I clicked into the Deploy Log on netlify's console, and just saw the stuff you posted in the scrolling code block, but not the actual error message.

Copy link
Contributor

@rhoboat rhoboat left a comment

Choose a reason for hiding this comment

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

LGTM!

image

@yorinasub17
Copy link
Contributor

Where did you see the "actual error message"?

It's in the link in the error message in the deploy logs.

@rhoboat
Copy link
Contributor

rhoboat commented Aug 2, 2022

Oh, this link. It's a generic error message: https://reactjs.org/docs/error-decoder.html?invariant=62 😮‍💨

@brikis98
Copy link
Member Author

brikis98 commented Aug 3, 2022

Thank you for the review! Merging and releasing now.

@brikis98 brikis98 merged commit 368b10e into master Aug 3, 2022
@brikis98 brikis98 deleted the brikis98-patch-1 branch August 3, 2022 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants