360 lines
15 KiB
Markdown
Raw Permalink Normal View History

GREAT WEBSITE MIGRATION OF 2018 (#1269) * Move content into docs/content * Make navigation and doc generation work Signed-off-by: Christian Nunciato <c@nunciato.org> * Make search work Signed-off-by: Christian Nunciato <c@nunciato.org> * Move docs-specific layouts into layouts/docs Signed-off-by: Christian Nunciato <c@nunciato.org> * Move docs partials into layouts/partials/docs Signed-off-by: Christian Nunciato <c@nunciato.org> * Share a common header and footer Signed-off-by: Christian Nunciato <c@nunciato.org> * Add product & pricing pages, modify main nav Signed-off-by: Christian Nunciato <c@nunciato.org> * Bring images under assets, docs images under assets/images/docs Signed-off-by: Christian Nunciato <c@nunciato.org> * Link to the docs home page, fix image ref Signed-off-by: Christian Nunciato <c@nunciato.org> * Add containers, serverless, kubernetes topics Signed-off-by: Christian Nunciato <c@nunciato.org> * Add careers Signed-off-by: Christian Nunciato <c@nunciato.org> * Add compete, compete -> migrate Signed-off-by: Christian Nunciato <c@nunciato.org> * About, contact Signed-off-by: Christian Nunciato <c@nunciato.org> * Add legal Signed-off-by: Christian Nunciato <c@nunciato.org> * Add product Signed-off-by: Christian Nunciato <c@nunciato.org> * Add partner content Signed-off-by: Christian Nunciato <c@nunciato.org> * Add webinar Signed-off-by: Christian Nunciato <c@nunciato.org> * Add why-pulumi Signed-off-by: Christian Nunciato <c@nunciato.org> * Add GitHub redirect, support Signed-off-by: Christian Nunciato <c@nunciato.org> * Add blog * Add blog - update post frontmatter * Update content/_index.md Co-Authored-By: Justin Van Patten <jvp@justinvp.com> * Remove drafts & redundant fonts, move asset dirs up a level Signed-off-by: Christian Nunciato <c@nunciato.org> * Reconcile blog navigation Signed-off-by: Christian Nunciato <c@nunciato.org> * Migrate some blog content (#1147) * Reconcile www, blog and docs footer items (#1141) Signed-off-by: Christian Nunciato <c@nunciato.org> * Clean up blog layout (#1148) * Migrate more blog posts (#1157) * Replace Bootstrap with TailwindCSS * Add Tailwind * Create a config directory under assets, move PostCSS and Tailwind configs into it * Remove Bootstrap Sass and JS referemce * Refactor the header, base template, and footer to use Tailwind * Pull TOC Sass into its own partial Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor the docs home page Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor docs single, list and section layouts Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor quickstart-clouds partial Signed-off-by: Christian Nunciato <c@nunciato.org> * Reposition config items to fix syntax highlighting Signed-off-by: Christian Nunciato <c@nunciato.org> * Replace syntax CSS theme with Monokai Signed-off-by: Christian Nunciato <c@nunciato.org> * Add a dark blue for links Signed-off-by: Christian Nunciato <c@nunciato.org> * Add the beginnings of Sass color settings Signed-off-by: Christian Nunciato <c@nunciato.org> * Add a Sass file for langchoose Signed-off-by: Christian Nunciato <c@nunciato.org> * Give no-select its own Sass also, since it’s a partial Signed-off-by: Christian Nunciato <c@nunciato.org> * Give docs single and list templates more width for main content Signed-off-by: Christian Nunciato <c@nunciato.org> * Add some padding to the TOC, since we don’t have proper gutters yet Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix button on Quickstart home page Signed-off-by: Christian Nunciato <c@nunciato.org> * TOC styles Signed-off-by: Christian Nunciato <c@nunciato.org> * Quickstart clouds Signed-off-by: Christian Nunciato <c@nunciato.org> * Padding to left and right columns Signed-off-by: Christian Nunciato <c@nunciato.org> * Black for TOC Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor docs/aws to use its own layouts Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix the AWS tech partner image Signed-off-by: Christian Nunciato <c@nunciato.org> * Adjust AWS layouts Signed-off-by: Christian Nunciato <c@nunciato.org> * Move docs-home markup into a layout Signed-off-by: Christian Nunciato <c@nunciato.org> * Format the mini-toc Signed-off-by: Christian Nunciato <c@nunciato.org> * Reduce subhead sizes a bit Signed-off-by: Christian Nunciato <c@nunciato.org> * Remove snowflake styles Signed-off-by: Christian Nunciato <c@nunciato.org> * Extract some Sass partials Signed-off-by: Christian Nunciato <c@nunciato.org> * Define initial purple and blue palettes, use numbered colors instead Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor blog templates Signed-off-by: Christian Nunciato <c@nunciato.org> * Make blog summary a partial, style pagination Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix expanded URLs Signed-off-by: Christian Nunciato <c@nunciato.org> * Rename Documentation to Reference Signed-off-by: Christian Nunciato <c@nunciato.org> * A smattering of minor adjustments Signed-off-by: Christian Nunciato <c@nunciato.org> * Selection state for tags Signed-off-by: Christian Nunciato <c@nunciato.org> * Delete more Bootstrap Signed-off-by: Christian Nunciato <c@nunciato.org> * Comment the banner Signed-off-by: Christian Nunciato <c@nunciato.org> * Restore footer links Signed-off-by: Christian Nunciato <c@nunciato.org> * Legal layout Signed-off-by: Christian Nunciato <c@nunciato.org> * Remove unused layout Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor careers page Signed-off-by: Christian Nunciato <c@nunciato.org> * Use top-level URLs for legal docs Signed-off-by: Christian Nunciato <c@nunciato.org> * Add RSS for the blog (#1170) * Add RSS for the blog * Cleanup team data (#1195) * Cleanup team data * Add missing newlines at EOF * Blog content as of 6/16 (#1196) * Blog content layout tweaks * Migrated blog content (as of Sun 6/16) * Address PR feedback, replace links to pulumi.io * Add fusion stack Any changes to the `fusion` branch will now be deployed to https://fusion.pulumi.io/. * Fix broken links * Fix broken images in fusion branch (#1207) Deletes unnecessary uses of `BaseURL`. In a small number of cases, where we want to emit an absolute URL that includes the `BaseURL`, use the `absURL` function instead, which is smart about handling missing/extra slashes. * Integrate www content (#1208) Signed-off-by: Christian Nunciato <c@nunciato.org> * Highlight currently selected section tab (#1216) * Remove unused partials (#1215) These are no longer referenced, so they can be removed. Signed-off-by: Christian Nunciato <c@nunciato.org> * Blog content as of 6/24 (#1218) * Port running-containers-in-aws-the-lowdown-ecs-fargate-and-eks * Port building-and-publishing-docker-images-to-a-private-amazon-ecr-repository * Port happy-birthday-to-pulumi-open-source * Commit updates to package-lock.json * Link cleanups and other fixes * Remove 'wip' tag * Restore meta_* fields, tidy up some frontmatter (#1214) Signed-off-by: Christian Nunciato <c@nunciato.org> * Add search (#1217) Signed-off-by: Christian Nunciato <c@nunciato.org> * Hide `.language-prologue-*` by default (#1212) So they all don't initially flash as being visible before all but the selected language are hidden. Port from `_pulumi.scss`. * Limit team members to those with status “active” (#1219) Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix links to datadog provider * Remove top margin from code snippets under lang tabs (#1223) * Update MBR DNA logo (#1222) * Add links to cloud logos (#1221) And use `logo-aws_white.png` for AWS * Remove unnecessary aliases (#1210) Now that we'll be hosting the docs on a new domain, there's no need to maintain these aliases. The old site hosted at https://pulumi.io will have redirects from the old aliases to the new location on the new site. * Pricing page updates (#1224) * Add swooshes to the home, pricing and webinar pages. * Replace “tech” PNGs for GitHub, GitLab, Atlassian and SAML with SVGs, and add an email SVG, in order to align all of their images in the pricing grid. * Add a “See plan details” link above the pricing grid. * Update Font Awesome to version 5.8.1 (to match what's in use on www today) in order to pull in the infinity icons used in the pricing grid. * Align CTA buttons horizontally in adjacent boxes containing content of varying heights. * Fix duplicate links on the home and product pages. Signed-off-by: Christian Nunciato <c@nunciato.org> * Update API docs (#1227) * Update tsdocgen paths * Updated API docs * Fix broken images (#1228) Remove unnecessary `{{ .Site.BaseURL }}` prefix from image URLs. * Fix Hugo build warning about non-relative ref/relref page reference (#1229) * Fix page titles and errant anchors (#1226) * Prevent anchors on the home page * Fix page titles Signed-off-by: Christian Nunciato <c@nunciato.org> * Add a robots.txt file (#1225) This change adds a robots.txt template authorizing seach-engine indexing for all pages of the production site. It assumes that all non-production builds will override the `baseURL` configuration property with something other than `https://pulumi.com/`. Signed-off-by: Christian Nunciato <c@nunciato.org> * Blog content fixes (#1231) * Correct post dates, titles * Revert to previous tags * Unify tags, adjust for display * Replace short, social summaries with longer ones * Use a fixed height for the utility bar (#1232) When the GitHub widget loads asynchronously and pops into view, it causes the whole page to shift downward a few pixels, because the widget is taller than the links beside it. Applying an explicit hight to the utility bar fixes this. Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix TOC expansion for the tour (#1234) We're very likely going to remove the tour and disperse its content elsewhere, but in the meantime, fix the TOC expansion for "Beyond the Basics" items. * Add syntax highlighing to layout templates (#1238) This change adds a partial for highlighting code snippets in layouts. Signed-off-by: Christian Nunciato <c@nunciato.org> * Add home-page video (#1240) Also makes a few slight adjustments to improve mobile layout on the home page. Signed-off-by: Christian Nunciato <c@nunciato.org> * Blog layout and styling improvements (#1237) * Use explicit code blcoks with language * Fix sort order for Author and Tag listings * Make sidebar toggleable on mobile * Resize "poster" image for blog listings * Crop photos to be square * Add posted date, post tags to blog footer * Add recent posts lists to sidebar * Add syntax highlighting to some missed posts * Fix Hugo build warning * Adjust sidebar styling * Cleanup the /docs page (#1239) * Cleanup /docs/aws layouts to match other docs sections * Cleanup /docs pages - Add left nav - Make /docs page look slightly less like a "homepage" - Add top-level "Get Started" and "Reference" headings to left nav * Add `.btn-secondary` and use it in a few places * Remove unnecessary cursor setting (#1245) Should be using the default here. I was debugging and forgot to switch this back before committing. Signed-off-by: Christian Nunciato <c@nunciato.org> * Update the home page video (#1244) This is a slightly shorter version, with typing sections sped up slightly to better respect our visitors’ time. :smile: Signed-off-by: Christian Nunciato <c@nunciato.org> * API doc styling improvements (#1247) * Update API doc styling for Python Bring back the styles used for our Python API docs, convert to use Tailwind, and make further tweaks to make it look even better. For example, all definitions now look like code blocks and indentation and spacing is used to improve the hierarchy of the content. * Only emit the <h1>.Title</h1> if there is a .Title The generated Python API docs don't currently include front matter and therefore do not have a title. We should fix the Python docs gen to do that, but in the meantime, only emit `<h1>.Title</h1>` if the page has a `.Title`, to avoid an unnecessary gap at the top of the page. * Update _pygments.scss to select .highlight instead of .chroma The syntax highlighted code generated by Hugo looks like: ``` <div class="highlight"> <pre class="chroma"> <code class="language-foo"> ... </code> </pre> </div> ``` And our styles looks like: ``` .chroma .k { ... } .chroma .kc { ... } ... ``` This works good, but our generated Python docs, which uses Pygments to do the syntax highlighting, doesn't use `.chroma`, so it doesn't get any syntax highlighting currently, even though all the Pygments classes are there. This is true for our Node.js docs as well, although, based on how we generate the code for that currently, we could relatively easily update the templates to include a `.chroma` class. In all cases, the code that we want highlighted will have a `.highlight` class surrounding it, so just update our styles to select `.highlight` instead of `.chroma`. ``` .highlight .k { ... } .highlight .kc { ... } ... ``` * Update API doc styling for Node.js * Various mobile adjustments and cleanup (#1250) * Pull the hero and section nav into Tailwind "components" and apply them. * Adjust home-page video dimensions accordingly. * Add mobile x-padding to sections that hadn't gotten it yet. * Add an anchor exclusion to the head for the About page. * Fix mobile layout for the Support page. * Fix centering and item distribution on the About page. * Additional minor mobile-related adjustments as encountered. Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix bug in lang chooser (#1249) If I've previously viewed a page in our docs with the language tabs, such as the Get Started guide, and I click the Python tab, that language choice will be persisted to a cookie. If I then visit our Node.js API docs, the lang chooser will see the saved value of "Python" and try to select that tab, hiding all other language snippets. But our Node.js API docs only contain JavaScript and TypeScript snippets, so the end result is that all snippets are hidden and no tab is selected. This change fixes that. If the value in the cookie does not exist in any of the tabs on the page, fallback to the default (JavaScript), otherwise fallback to the first tab that is available on the page. * More small fixes (#1254) * Make the header more responsive Adds padding to medium and above, and adjusts font size and spacing at medium width in order to accommodate the number of items we’re displaying currently. Also uses the full Pulumi logo, since we have room for that now, and adds a little color to the hamburger. Signed-off-by: Christian Nunciato <c@nunciato.org> * Bottom-align the image on the whitepaper layout Also removes the `header` selector from `_hero.scss` in order to reduce the specificity of the rule, allowing it to be overidden more easily with other Tailwind classnames. Signed-off-by: Christian Nunciato <c@nunciato.org> * Add team@pulumi link to the footer Signed-off-by: Christian Nunciato <c@nunciato.org> * Restore the newsroom and investors sections Somehow these got dropped! :scream: Signed-off-by: Christian Nunciato <c@nunciato.org> * Add hero background glows (#1257) Also deletes unused templates. Signed-off-by: Christian Nunciato <c@nunciato.org> * Hide scrollbars if not needed (#1256) * Improve Pricing page responsiveness, fix a few other small things (#1259) * Fix section link on the Why Pulumi page Signed-off-by: Christian Nunciato <c@nunciato.org> * Capitalize Kubernetes in copy Signed-off-by: Christian Nunciato <c@nunciato.org> * Adjust image sizes on Whitepaper page Properly size them on both mobile and desktop. Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix paging on mobile Decrease padding to prevent overflow. Signed-off-by: Christian Nunciato <c@nunciato.org> * Improve Pricing page layout Signed-off-by: Christian Nunciato <c@nunciato.org> * Replace home page video with carousel (#1260) Signed-off-by: Christian Nunciato <c@nunciato.org> * Change Segment module to WWW (#1265) * Hook up new www.pulumi.com/staging stack to CI/CD (#1262) * Move older 'pulumi.io' stacks to infrastructure-old * Add new 'www.pulumi.com' infrastructure folder * Scripts to hook up to CI/CD * Switch back to using generic Travis worker * Add alias to CDN for staging.pulumi.io * Remove alias to staging.pulumi.io * Do not use named profiles for deployments There's an issue today where named profiles which use `credential_source=Environment` don't actually behave correctly with the assume-role tool. Instead of actually assuming the role, it just uses the credentials in the environment, which is not exactly what you want. For now, explicitly set the ARN we want to assume, instead of indirecting across a named profile. * Remove CloudFront alias entirely * Add hover menu (#1266) Signed-off-by: Christian Nunciato <c@nunciato.org> * Hook up new www.pulumi.com/production stack to CI/CD (#1267) * Hook up new www.pulumi.com/production stack to CI/CD * Correct Makefile syntax * Migrate blog posts as of 7/2 (#1268) * Fix Makefile syntax * Fix spelling error ::sigh::
2019-07-02 16:30:33 -07:00
---
title: "Data science on demand: spinning up a Wallaroo cluster"
h1: "Data science on demand: spinning up a Wallaroo cluster is easy with Pulumi"
GREAT WEBSITE MIGRATION OF 2018 (#1269) * Move content into docs/content * Make navigation and doc generation work Signed-off-by: Christian Nunciato <c@nunciato.org> * Make search work Signed-off-by: Christian Nunciato <c@nunciato.org> * Move docs-specific layouts into layouts/docs Signed-off-by: Christian Nunciato <c@nunciato.org> * Move docs partials into layouts/partials/docs Signed-off-by: Christian Nunciato <c@nunciato.org> * Share a common header and footer Signed-off-by: Christian Nunciato <c@nunciato.org> * Add product & pricing pages, modify main nav Signed-off-by: Christian Nunciato <c@nunciato.org> * Bring images under assets, docs images under assets/images/docs Signed-off-by: Christian Nunciato <c@nunciato.org> * Link to the docs home page, fix image ref Signed-off-by: Christian Nunciato <c@nunciato.org> * Add containers, serverless, kubernetes topics Signed-off-by: Christian Nunciato <c@nunciato.org> * Add careers Signed-off-by: Christian Nunciato <c@nunciato.org> * Add compete, compete -> migrate Signed-off-by: Christian Nunciato <c@nunciato.org> * About, contact Signed-off-by: Christian Nunciato <c@nunciato.org> * Add legal Signed-off-by: Christian Nunciato <c@nunciato.org> * Add product Signed-off-by: Christian Nunciato <c@nunciato.org> * Add partner content Signed-off-by: Christian Nunciato <c@nunciato.org> * Add webinar Signed-off-by: Christian Nunciato <c@nunciato.org> * Add why-pulumi Signed-off-by: Christian Nunciato <c@nunciato.org> * Add GitHub redirect, support Signed-off-by: Christian Nunciato <c@nunciato.org> * Add blog * Add blog - update post frontmatter * Update content/_index.md Co-Authored-By: Justin Van Patten <jvp@justinvp.com> * Remove drafts & redundant fonts, move asset dirs up a level Signed-off-by: Christian Nunciato <c@nunciato.org> * Reconcile blog navigation Signed-off-by: Christian Nunciato <c@nunciato.org> * Migrate some blog content (#1147) * Reconcile www, blog and docs footer items (#1141) Signed-off-by: Christian Nunciato <c@nunciato.org> * Clean up blog layout (#1148) * Migrate more blog posts (#1157) * Replace Bootstrap with TailwindCSS * Add Tailwind * Create a config directory under assets, move PostCSS and Tailwind configs into it * Remove Bootstrap Sass and JS referemce * Refactor the header, base template, and footer to use Tailwind * Pull TOC Sass into its own partial Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor the docs home page Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor docs single, list and section layouts Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor quickstart-clouds partial Signed-off-by: Christian Nunciato <c@nunciato.org> * Reposition config items to fix syntax highlighting Signed-off-by: Christian Nunciato <c@nunciato.org> * Replace syntax CSS theme with Monokai Signed-off-by: Christian Nunciato <c@nunciato.org> * Add a dark blue for links Signed-off-by: Christian Nunciato <c@nunciato.org> * Add the beginnings of Sass color settings Signed-off-by: Christian Nunciato <c@nunciato.org> * Add a Sass file for langchoose Signed-off-by: Christian Nunciato <c@nunciato.org> * Give no-select its own Sass also, since it’s a partial Signed-off-by: Christian Nunciato <c@nunciato.org> * Give docs single and list templates more width for main content Signed-off-by: Christian Nunciato <c@nunciato.org> * Add some padding to the TOC, since we don’t have proper gutters yet Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix button on Quickstart home page Signed-off-by: Christian Nunciato <c@nunciato.org> * TOC styles Signed-off-by: Christian Nunciato <c@nunciato.org> * Quickstart clouds Signed-off-by: Christian Nunciato <c@nunciato.org> * Padding to left and right columns Signed-off-by: Christian Nunciato <c@nunciato.org> * Black for TOC Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor docs/aws to use its own layouts Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix the AWS tech partner image Signed-off-by: Christian Nunciato <c@nunciato.org> * Adjust AWS layouts Signed-off-by: Christian Nunciato <c@nunciato.org> * Move docs-home markup into a layout Signed-off-by: Christian Nunciato <c@nunciato.org> * Format the mini-toc Signed-off-by: Christian Nunciato <c@nunciato.org> * Reduce subhead sizes a bit Signed-off-by: Christian Nunciato <c@nunciato.org> * Remove snowflake styles Signed-off-by: Christian Nunciato <c@nunciato.org> * Extract some Sass partials Signed-off-by: Christian Nunciato <c@nunciato.org> * Define initial purple and blue palettes, use numbered colors instead Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor blog templates Signed-off-by: Christian Nunciato <c@nunciato.org> * Make blog summary a partial, style pagination Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix expanded URLs Signed-off-by: Christian Nunciato <c@nunciato.org> * Rename Documentation to Reference Signed-off-by: Christian Nunciato <c@nunciato.org> * A smattering of minor adjustments Signed-off-by: Christian Nunciato <c@nunciato.org> * Selection state for tags Signed-off-by: Christian Nunciato <c@nunciato.org> * Delete more Bootstrap Signed-off-by: Christian Nunciato <c@nunciato.org> * Comment the banner Signed-off-by: Christian Nunciato <c@nunciato.org> * Restore footer links Signed-off-by: Christian Nunciato <c@nunciato.org> * Legal layout Signed-off-by: Christian Nunciato <c@nunciato.org> * Remove unused layout Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor careers page Signed-off-by: Christian Nunciato <c@nunciato.org> * Use top-level URLs for legal docs Signed-off-by: Christian Nunciato <c@nunciato.org> * Add RSS for the blog (#1170) * Add RSS for the blog * Cleanup team data (#1195) * Cleanup team data * Add missing newlines at EOF * Blog content as of 6/16 (#1196) * Blog content layout tweaks * Migrated blog content (as of Sun 6/16) * Address PR feedback, replace links to pulumi.io * Add fusion stack Any changes to the `fusion` branch will now be deployed to https://fusion.pulumi.io/. * Fix broken links * Fix broken images in fusion branch (#1207) Deletes unnecessary uses of `BaseURL`. In a small number of cases, where we want to emit an absolute URL that includes the `BaseURL`, use the `absURL` function instead, which is smart about handling missing/extra slashes. * Integrate www content (#1208) Signed-off-by: Christian Nunciato <c@nunciato.org> * Highlight currently selected section tab (#1216) * Remove unused partials (#1215) These are no longer referenced, so they can be removed. Signed-off-by: Christian Nunciato <c@nunciato.org> * Blog content as of 6/24 (#1218) * Port running-containers-in-aws-the-lowdown-ecs-fargate-and-eks * Port building-and-publishing-docker-images-to-a-private-amazon-ecr-repository * Port happy-birthday-to-pulumi-open-source * Commit updates to package-lock.json * Link cleanups and other fixes * Remove 'wip' tag * Restore meta_* fields, tidy up some frontmatter (#1214) Signed-off-by: Christian Nunciato <c@nunciato.org> * Add search (#1217) Signed-off-by: Christian Nunciato <c@nunciato.org> * Hide `.language-prologue-*` by default (#1212) So they all don't initially flash as being visible before all but the selected language are hidden. Port from `_pulumi.scss`. * Limit team members to those with status “active” (#1219) Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix links to datadog provider * Remove top margin from code snippets under lang tabs (#1223) * Update MBR DNA logo (#1222) * Add links to cloud logos (#1221) And use `logo-aws_white.png` for AWS * Remove unnecessary aliases (#1210) Now that we'll be hosting the docs on a new domain, there's no need to maintain these aliases. The old site hosted at https://pulumi.io will have redirects from the old aliases to the new location on the new site. * Pricing page updates (#1224) * Add swooshes to the home, pricing and webinar pages. * Replace “tech” PNGs for GitHub, GitLab, Atlassian and SAML with SVGs, and add an email SVG, in order to align all of their images in the pricing grid. * Add a “See plan details” link above the pricing grid. * Update Font Awesome to version 5.8.1 (to match what's in use on www today) in order to pull in the infinity icons used in the pricing grid. * Align CTA buttons horizontally in adjacent boxes containing content of varying heights. * Fix duplicate links on the home and product pages. Signed-off-by: Christian Nunciato <c@nunciato.org> * Update API docs (#1227) * Update tsdocgen paths * Updated API docs * Fix broken images (#1228) Remove unnecessary `{{ .Site.BaseURL }}` prefix from image URLs. * Fix Hugo build warning about non-relative ref/relref page reference (#1229) * Fix page titles and errant anchors (#1226) * Prevent anchors on the home page * Fix page titles Signed-off-by: Christian Nunciato <c@nunciato.org> * Add a robots.txt file (#1225) This change adds a robots.txt template authorizing seach-engine indexing for all pages of the production site. It assumes that all non-production builds will override the `baseURL` configuration property with something other than `https://pulumi.com/`. Signed-off-by: Christian Nunciato <c@nunciato.org> * Blog content fixes (#1231) * Correct post dates, titles * Revert to previous tags * Unify tags, adjust for display * Replace short, social summaries with longer ones * Use a fixed height for the utility bar (#1232) When the GitHub widget loads asynchronously and pops into view, it causes the whole page to shift downward a few pixels, because the widget is taller than the links beside it. Applying an explicit hight to the utility bar fixes this. Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix TOC expansion for the tour (#1234) We're very likely going to remove the tour and disperse its content elsewhere, but in the meantime, fix the TOC expansion for "Beyond the Basics" items. * Add syntax highlighing to layout templates (#1238) This change adds a partial for highlighting code snippets in layouts. Signed-off-by: Christian Nunciato <c@nunciato.org> * Add home-page video (#1240) Also makes a few slight adjustments to improve mobile layout on the home page. Signed-off-by: Christian Nunciato <c@nunciato.org> * Blog layout and styling improvements (#1237) * Use explicit code blcoks with language * Fix sort order for Author and Tag listings * Make sidebar toggleable on mobile * Resize "poster" image for blog listings * Crop photos to be square * Add posted date, post tags to blog footer * Add recent posts lists to sidebar * Add syntax highlighting to some missed posts * Fix Hugo build warning * Adjust sidebar styling * Cleanup the /docs page (#1239) * Cleanup /docs/aws layouts to match other docs sections * Cleanup /docs pages - Add left nav - Make /docs page look slightly less like a "homepage" - Add top-level "Get Started" and "Reference" headings to left nav * Add `.btn-secondary` and use it in a few places * Remove unnecessary cursor setting (#1245) Should be using the default here. I was debugging and forgot to switch this back before committing. Signed-off-by: Christian Nunciato <c@nunciato.org> * Update the home page video (#1244) This is a slightly shorter version, with typing sections sped up slightly to better respect our visitors’ time. :smile: Signed-off-by: Christian Nunciato <c@nunciato.org> * API doc styling improvements (#1247) * Update API doc styling for Python Bring back the styles used for our Python API docs, convert to use Tailwind, and make further tweaks to make it look even better. For example, all definitions now look like code blocks and indentation and spacing is used to improve the hierarchy of the content. * Only emit the <h1>.Title</h1> if there is a .Title The generated Python API docs don't currently include front matter and therefore do not have a title. We should fix the Python docs gen to do that, but in the meantime, only emit `<h1>.Title</h1>` if the page has a `.Title`, to avoid an unnecessary gap at the top of the page. * Update _pygments.scss to select .highlight instead of .chroma The syntax highlighted code generated by Hugo looks like: ``` <div class="highlight"> <pre class="chroma"> <code class="language-foo"> ... </code> </pre> </div> ``` And our styles looks like: ``` .chroma .k { ... } .chroma .kc { ... } ... ``` This works good, but our generated Python docs, which uses Pygments to do the syntax highlighting, doesn't use `.chroma`, so it doesn't get any syntax highlighting currently, even though all the Pygments classes are there. This is true for our Node.js docs as well, although, based on how we generate the code for that currently, we could relatively easily update the templates to include a `.chroma` class. In all cases, the code that we want highlighted will have a `.highlight` class surrounding it, so just update our styles to select `.highlight` instead of `.chroma`. ``` .highlight .k { ... } .highlight .kc { ... } ... ``` * Update API doc styling for Node.js * Various mobile adjustments and cleanup (#1250) * Pull the hero and section nav into Tailwind "components" and apply them. * Adjust home-page video dimensions accordingly. * Add mobile x-padding to sections that hadn't gotten it yet. * Add an anchor exclusion to the head for the About page. * Fix mobile layout for the Support page. * Fix centering and item distribution on the About page. * Additional minor mobile-related adjustments as encountered. Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix bug in lang chooser (#1249) If I've previously viewed a page in our docs with the language tabs, such as the Get Started guide, and I click the Python tab, that language choice will be persisted to a cookie. If I then visit our Node.js API docs, the lang chooser will see the saved value of "Python" and try to select that tab, hiding all other language snippets. But our Node.js API docs only contain JavaScript and TypeScript snippets, so the end result is that all snippets are hidden and no tab is selected. This change fixes that. If the value in the cookie does not exist in any of the tabs on the page, fallback to the default (JavaScript), otherwise fallback to the first tab that is available on the page. * More small fixes (#1254) * Make the header more responsive Adds padding to medium and above, and adjusts font size and spacing at medium width in order to accommodate the number of items we’re displaying currently. Also uses the full Pulumi logo, since we have room for that now, and adds a little color to the hamburger. Signed-off-by: Christian Nunciato <c@nunciato.org> * Bottom-align the image on the whitepaper layout Also removes the `header` selector from `_hero.scss` in order to reduce the specificity of the rule, allowing it to be overidden more easily with other Tailwind classnames. Signed-off-by: Christian Nunciato <c@nunciato.org> * Add team@pulumi link to the footer Signed-off-by: Christian Nunciato <c@nunciato.org> * Restore the newsroom and investors sections Somehow these got dropped! :scream: Signed-off-by: Christian Nunciato <c@nunciato.org> * Add hero background glows (#1257) Also deletes unused templates. Signed-off-by: Christian Nunciato <c@nunciato.org> * Hide scrollbars if not needed (#1256) * Improve Pricing page responsiveness, fix a few other small things (#1259) * Fix section link on the Why Pulumi page Signed-off-by: Christian Nunciato <c@nunciato.org> * Capitalize Kubernetes in copy Signed-off-by: Christian Nunciato <c@nunciato.org> * Adjust image sizes on Whitepaper page Properly size them on both mobile and desktop. Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix paging on mobile Decrease padding to prevent overflow. Signed-off-by: Christian Nunciato <c@nunciato.org> * Improve Pricing page layout Signed-off-by: Christian Nunciato <c@nunciato.org> * Replace home page video with carousel (#1260) Signed-off-by: Christian Nunciato <c@nunciato.org> * Change Segment module to WWW (#1265) * Hook up new www.pulumi.com/staging stack to CI/CD (#1262) * Move older 'pulumi.io' stacks to infrastructure-old * Add new 'www.pulumi.com' infrastructure folder * Scripts to hook up to CI/CD * Switch back to using generic Travis worker * Add alias to CDN for staging.pulumi.io * Remove alias to staging.pulumi.io * Do not use named profiles for deployments There's an issue today where named profiles which use `credential_source=Environment` don't actually behave correctly with the assume-role tool. Instead of actually assuming the role, it just uses the credentials in the environment, which is not exactly what you want. For now, explicitly set the ARN we want to assume, instead of indirecting across a named profile. * Remove CloudFront alias entirely * Add hover menu (#1266) Signed-off-by: Christian Nunciato <c@nunciato.org> * Hook up new www.pulumi.com/production stack to CI/CD (#1267) * Hook up new www.pulumi.com/production stack to CI/CD * Correct Makefile syntax * Migrate blog posts as of 7/2 (#1268) * Fix Makefile syntax * Fix spelling error ::sigh::
2019-07-02 16:30:33 -07:00
date: "2018-11-02"
meta_desc: "Find out how Wallaroo powered their cluster provisioning with Pulumi, for data science on demand."
2023-05-01 17:44:41 -07:00
meta_image: "tty-fast.png"
authors: ["marc-holmes", "simon-zelazny"]
tags: ["guest-post", "data-science"]
GREAT WEBSITE MIGRATION OF 2018 (#1269) * Move content into docs/content * Make navigation and doc generation work Signed-off-by: Christian Nunciato <c@nunciato.org> * Make search work Signed-off-by: Christian Nunciato <c@nunciato.org> * Move docs-specific layouts into layouts/docs Signed-off-by: Christian Nunciato <c@nunciato.org> * Move docs partials into layouts/partials/docs Signed-off-by: Christian Nunciato <c@nunciato.org> * Share a common header and footer Signed-off-by: Christian Nunciato <c@nunciato.org> * Add product & pricing pages, modify main nav Signed-off-by: Christian Nunciato <c@nunciato.org> * Bring images under assets, docs images under assets/images/docs Signed-off-by: Christian Nunciato <c@nunciato.org> * Link to the docs home page, fix image ref Signed-off-by: Christian Nunciato <c@nunciato.org> * Add containers, serverless, kubernetes topics Signed-off-by: Christian Nunciato <c@nunciato.org> * Add careers Signed-off-by: Christian Nunciato <c@nunciato.org> * Add compete, compete -> migrate Signed-off-by: Christian Nunciato <c@nunciato.org> * About, contact Signed-off-by: Christian Nunciato <c@nunciato.org> * Add legal Signed-off-by: Christian Nunciato <c@nunciato.org> * Add product Signed-off-by: Christian Nunciato <c@nunciato.org> * Add partner content Signed-off-by: Christian Nunciato <c@nunciato.org> * Add webinar Signed-off-by: Christian Nunciato <c@nunciato.org> * Add why-pulumi Signed-off-by: Christian Nunciato <c@nunciato.org> * Add GitHub redirect, support Signed-off-by: Christian Nunciato <c@nunciato.org> * Add blog * Add blog - update post frontmatter * Update content/_index.md Co-Authored-By: Justin Van Patten <jvp@justinvp.com> * Remove drafts & redundant fonts, move asset dirs up a level Signed-off-by: Christian Nunciato <c@nunciato.org> * Reconcile blog navigation Signed-off-by: Christian Nunciato <c@nunciato.org> * Migrate some blog content (#1147) * Reconcile www, blog and docs footer items (#1141) Signed-off-by: Christian Nunciato <c@nunciato.org> * Clean up blog layout (#1148) * Migrate more blog posts (#1157) * Replace Bootstrap with TailwindCSS * Add Tailwind * Create a config directory under assets, move PostCSS and Tailwind configs into it * Remove Bootstrap Sass and JS referemce * Refactor the header, base template, and footer to use Tailwind * Pull TOC Sass into its own partial Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor the docs home page Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor docs single, list and section layouts Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor quickstart-clouds partial Signed-off-by: Christian Nunciato <c@nunciato.org> * Reposition config items to fix syntax highlighting Signed-off-by: Christian Nunciato <c@nunciato.org> * Replace syntax CSS theme with Monokai Signed-off-by: Christian Nunciato <c@nunciato.org> * Add a dark blue for links Signed-off-by: Christian Nunciato <c@nunciato.org> * Add the beginnings of Sass color settings Signed-off-by: Christian Nunciato <c@nunciato.org> * Add a Sass file for langchoose Signed-off-by: Christian Nunciato <c@nunciato.org> * Give no-select its own Sass also, since it’s a partial Signed-off-by: Christian Nunciato <c@nunciato.org> * Give docs single and list templates more width for main content Signed-off-by: Christian Nunciato <c@nunciato.org> * Add some padding to the TOC, since we don’t have proper gutters yet Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix button on Quickstart home page Signed-off-by: Christian Nunciato <c@nunciato.org> * TOC styles Signed-off-by: Christian Nunciato <c@nunciato.org> * Quickstart clouds Signed-off-by: Christian Nunciato <c@nunciato.org> * Padding to left and right columns Signed-off-by: Christian Nunciato <c@nunciato.org> * Black for TOC Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor docs/aws to use its own layouts Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix the AWS tech partner image Signed-off-by: Christian Nunciato <c@nunciato.org> * Adjust AWS layouts Signed-off-by: Christian Nunciato <c@nunciato.org> * Move docs-home markup into a layout Signed-off-by: Christian Nunciato <c@nunciato.org> * Format the mini-toc Signed-off-by: Christian Nunciato <c@nunciato.org> * Reduce subhead sizes a bit Signed-off-by: Christian Nunciato <c@nunciato.org> * Remove snowflake styles Signed-off-by: Christian Nunciato <c@nunciato.org> * Extract some Sass partials Signed-off-by: Christian Nunciato <c@nunciato.org> * Define initial purple and blue palettes, use numbered colors instead Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor blog templates Signed-off-by: Christian Nunciato <c@nunciato.org> * Make blog summary a partial, style pagination Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix expanded URLs Signed-off-by: Christian Nunciato <c@nunciato.org> * Rename Documentation to Reference Signed-off-by: Christian Nunciato <c@nunciato.org> * A smattering of minor adjustments Signed-off-by: Christian Nunciato <c@nunciato.org> * Selection state for tags Signed-off-by: Christian Nunciato <c@nunciato.org> * Delete more Bootstrap Signed-off-by: Christian Nunciato <c@nunciato.org> * Comment the banner Signed-off-by: Christian Nunciato <c@nunciato.org> * Restore footer links Signed-off-by: Christian Nunciato <c@nunciato.org> * Legal layout Signed-off-by: Christian Nunciato <c@nunciato.org> * Remove unused layout Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor careers page Signed-off-by: Christian Nunciato <c@nunciato.org> * Use top-level URLs for legal docs Signed-off-by: Christian Nunciato <c@nunciato.org> * Add RSS for the blog (#1170) * Add RSS for the blog * Cleanup team data (#1195) * Cleanup team data * Add missing newlines at EOF * Blog content as of 6/16 (#1196) * Blog content layout tweaks * Migrated blog content (as of Sun 6/16) * Address PR feedback, replace links to pulumi.io * Add fusion stack Any changes to the `fusion` branch will now be deployed to https://fusion.pulumi.io/. * Fix broken links * Fix broken images in fusion branch (#1207) Deletes unnecessary uses of `BaseURL`. In a small number of cases, where we want to emit an absolute URL that includes the `BaseURL`, use the `absURL` function instead, which is smart about handling missing/extra slashes. * Integrate www content (#1208) Signed-off-by: Christian Nunciato <c@nunciato.org> * Highlight currently selected section tab (#1216) * Remove unused partials (#1215) These are no longer referenced, so they can be removed. Signed-off-by: Christian Nunciato <c@nunciato.org> * Blog content as of 6/24 (#1218) * Port running-containers-in-aws-the-lowdown-ecs-fargate-and-eks * Port building-and-publishing-docker-images-to-a-private-amazon-ecr-repository * Port happy-birthday-to-pulumi-open-source * Commit updates to package-lock.json * Link cleanups and other fixes * Remove 'wip' tag * Restore meta_* fields, tidy up some frontmatter (#1214) Signed-off-by: Christian Nunciato <c@nunciato.org> * Add search (#1217) Signed-off-by: Christian Nunciato <c@nunciato.org> * Hide `.language-prologue-*` by default (#1212) So they all don't initially flash as being visible before all but the selected language are hidden. Port from `_pulumi.scss`. * Limit team members to those with status “active” (#1219) Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix links to datadog provider * Remove top margin from code snippets under lang tabs (#1223) * Update MBR DNA logo (#1222) * Add links to cloud logos (#1221) And use `logo-aws_white.png` for AWS * Remove unnecessary aliases (#1210) Now that we'll be hosting the docs on a new domain, there's no need to maintain these aliases. The old site hosted at https://pulumi.io will have redirects from the old aliases to the new location on the new site. * Pricing page updates (#1224) * Add swooshes to the home, pricing and webinar pages. * Replace “tech” PNGs for GitHub, GitLab, Atlassian and SAML with SVGs, and add an email SVG, in order to align all of their images in the pricing grid. * Add a “See plan details” link above the pricing grid. * Update Font Awesome to version 5.8.1 (to match what's in use on www today) in order to pull in the infinity icons used in the pricing grid. * Align CTA buttons horizontally in adjacent boxes containing content of varying heights. * Fix duplicate links on the home and product pages. Signed-off-by: Christian Nunciato <c@nunciato.org> * Update API docs (#1227) * Update tsdocgen paths * Updated API docs * Fix broken images (#1228) Remove unnecessary `{{ .Site.BaseURL }}` prefix from image URLs. * Fix Hugo build warning about non-relative ref/relref page reference (#1229) * Fix page titles and errant anchors (#1226) * Prevent anchors on the home page * Fix page titles Signed-off-by: Christian Nunciato <c@nunciato.org> * Add a robots.txt file (#1225) This change adds a robots.txt template authorizing seach-engine indexing for all pages of the production site. It assumes that all non-production builds will override the `baseURL` configuration property with something other than `https://pulumi.com/`. Signed-off-by: Christian Nunciato <c@nunciato.org> * Blog content fixes (#1231) * Correct post dates, titles * Revert to previous tags * Unify tags, adjust for display * Replace short, social summaries with longer ones * Use a fixed height for the utility bar (#1232) When the GitHub widget loads asynchronously and pops into view, it causes the whole page to shift downward a few pixels, because the widget is taller than the links beside it. Applying an explicit hight to the utility bar fixes this. Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix TOC expansion for the tour (#1234) We're very likely going to remove the tour and disperse its content elsewhere, but in the meantime, fix the TOC expansion for "Beyond the Basics" items. * Add syntax highlighing to layout templates (#1238) This change adds a partial for highlighting code snippets in layouts. Signed-off-by: Christian Nunciato <c@nunciato.org> * Add home-page video (#1240) Also makes a few slight adjustments to improve mobile layout on the home page. Signed-off-by: Christian Nunciato <c@nunciato.org> * Blog layout and styling improvements (#1237) * Use explicit code blcoks with language * Fix sort order for Author and Tag listings * Make sidebar toggleable on mobile * Resize "poster" image for blog listings * Crop photos to be square * Add posted date, post tags to blog footer * Add recent posts lists to sidebar * Add syntax highlighting to some missed posts * Fix Hugo build warning * Adjust sidebar styling * Cleanup the /docs page (#1239) * Cleanup /docs/aws layouts to match other docs sections * Cleanup /docs pages - Add left nav - Make /docs page look slightly less like a "homepage" - Add top-level "Get Started" and "Reference" headings to left nav * Add `.btn-secondary` and use it in a few places * Remove unnecessary cursor setting (#1245) Should be using the default here. I was debugging and forgot to switch this back before committing. Signed-off-by: Christian Nunciato <c@nunciato.org> * Update the home page video (#1244) This is a slightly shorter version, with typing sections sped up slightly to better respect our visitors’ time. :smile: Signed-off-by: Christian Nunciato <c@nunciato.org> * API doc styling improvements (#1247) * Update API doc styling for Python Bring back the styles used for our Python API docs, convert to use Tailwind, and make further tweaks to make it look even better. For example, all definitions now look like code blocks and indentation and spacing is used to improve the hierarchy of the content. * Only emit the <h1>.Title</h1> if there is a .Title The generated Python API docs don't currently include front matter and therefore do not have a title. We should fix the Python docs gen to do that, but in the meantime, only emit `<h1>.Title</h1>` if the page has a `.Title`, to avoid an unnecessary gap at the top of the page. * Update _pygments.scss to select .highlight instead of .chroma The syntax highlighted code generated by Hugo looks like: ``` <div class="highlight"> <pre class="chroma"> <code class="language-foo"> ... </code> </pre> </div> ``` And our styles looks like: ``` .chroma .k { ... } .chroma .kc { ... } ... ``` This works good, but our generated Python docs, which uses Pygments to do the syntax highlighting, doesn't use `.chroma`, so it doesn't get any syntax highlighting currently, even though all the Pygments classes are there. This is true for our Node.js docs as well, although, based on how we generate the code for that currently, we could relatively easily update the templates to include a `.chroma` class. In all cases, the code that we want highlighted will have a `.highlight` class surrounding it, so just update our styles to select `.highlight` instead of `.chroma`. ``` .highlight .k { ... } .highlight .kc { ... } ... ``` * Update API doc styling for Node.js * Various mobile adjustments and cleanup (#1250) * Pull the hero and section nav into Tailwind "components" and apply them. * Adjust home-page video dimensions accordingly. * Add mobile x-padding to sections that hadn't gotten it yet. * Add an anchor exclusion to the head for the About page. * Fix mobile layout for the Support page. * Fix centering and item distribution on the About page. * Additional minor mobile-related adjustments as encountered. Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix bug in lang chooser (#1249) If I've previously viewed a page in our docs with the language tabs, such as the Get Started guide, and I click the Python tab, that language choice will be persisted to a cookie. If I then visit our Node.js API docs, the lang chooser will see the saved value of "Python" and try to select that tab, hiding all other language snippets. But our Node.js API docs only contain JavaScript and TypeScript snippets, so the end result is that all snippets are hidden and no tab is selected. This change fixes that. If the value in the cookie does not exist in any of the tabs on the page, fallback to the default (JavaScript), otherwise fallback to the first tab that is available on the page. * More small fixes (#1254) * Make the header more responsive Adds padding to medium and above, and adjusts font size and spacing at medium width in order to accommodate the number of items we’re displaying currently. Also uses the full Pulumi logo, since we have room for that now, and adds a little color to the hamburger. Signed-off-by: Christian Nunciato <c@nunciato.org> * Bottom-align the image on the whitepaper layout Also removes the `header` selector from `_hero.scss` in order to reduce the specificity of the rule, allowing it to be overidden more easily with other Tailwind classnames. Signed-off-by: Christian Nunciato <c@nunciato.org> * Add team@pulumi link to the footer Signed-off-by: Christian Nunciato <c@nunciato.org> * Restore the newsroom and investors sections Somehow these got dropped! :scream: Signed-off-by: Christian Nunciato <c@nunciato.org> * Add hero background glows (#1257) Also deletes unused templates. Signed-off-by: Christian Nunciato <c@nunciato.org> * Hide scrollbars if not needed (#1256) * Improve Pricing page responsiveness, fix a few other small things (#1259) * Fix section link on the Why Pulumi page Signed-off-by: Christian Nunciato <c@nunciato.org> * Capitalize Kubernetes in copy Signed-off-by: Christian Nunciato <c@nunciato.org> * Adjust image sizes on Whitepaper page Properly size them on both mobile and desktop. Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix paging on mobile Decrease padding to prevent overflow. Signed-off-by: Christian Nunciato <c@nunciato.org> * Improve Pricing page layout Signed-off-by: Christian Nunciato <c@nunciato.org> * Replace home page video with carousel (#1260) Signed-off-by: Christian Nunciato <c@nunciato.org> * Change Segment module to WWW (#1265) * Hook up new www.pulumi.com/staging stack to CI/CD (#1262) * Move older 'pulumi.io' stacks to infrastructure-old * Add new 'www.pulumi.com' infrastructure folder * Scripts to hook up to CI/CD * Switch back to using generic Travis worker * Add alias to CDN for staging.pulumi.io * Remove alias to staging.pulumi.io * Do not use named profiles for deployments There's an issue today where named profiles which use `credential_source=Environment` don't actually behave correctly with the assume-role tool. Instead of actually assuming the role, it just uses the credentials in the environment, which is not exactly what you want. For now, explicitly set the ARN we want to assume, instead of indirecting across a named profile. * Remove CloudFront alias entirely * Add hover menu (#1266) Signed-off-by: Christian Nunciato <c@nunciato.org> * Hook up new www.pulumi.com/production stack to CI/CD (#1267) * Hook up new www.pulumi.com/production stack to CI/CD * Correct Makefile syntax * Migrate blog posts as of 7/2 (#1268) * Fix Makefile syntax * Fix spelling error ::sigh::
2019-07-02 16:30:33 -07:00
---
*This guest post is from Simon Zelazny of
2020-12-10 10:07:02 -08:00
[Wallaroo Labs](https://www.wallaroo.ai/).
GREAT WEBSITE MIGRATION OF 2018 (#1269) * Move content into docs/content * Make navigation and doc generation work Signed-off-by: Christian Nunciato <c@nunciato.org> * Make search work Signed-off-by: Christian Nunciato <c@nunciato.org> * Move docs-specific layouts into layouts/docs Signed-off-by: Christian Nunciato <c@nunciato.org> * Move docs partials into layouts/partials/docs Signed-off-by: Christian Nunciato <c@nunciato.org> * Share a common header and footer Signed-off-by: Christian Nunciato <c@nunciato.org> * Add product & pricing pages, modify main nav Signed-off-by: Christian Nunciato <c@nunciato.org> * Bring images under assets, docs images under assets/images/docs Signed-off-by: Christian Nunciato <c@nunciato.org> * Link to the docs home page, fix image ref Signed-off-by: Christian Nunciato <c@nunciato.org> * Add containers, serverless, kubernetes topics Signed-off-by: Christian Nunciato <c@nunciato.org> * Add careers Signed-off-by: Christian Nunciato <c@nunciato.org> * Add compete, compete -> migrate Signed-off-by: Christian Nunciato <c@nunciato.org> * About, contact Signed-off-by: Christian Nunciato <c@nunciato.org> * Add legal Signed-off-by: Christian Nunciato <c@nunciato.org> * Add product Signed-off-by: Christian Nunciato <c@nunciato.org> * Add partner content Signed-off-by: Christian Nunciato <c@nunciato.org> * Add webinar Signed-off-by: Christian Nunciato <c@nunciato.org> * Add why-pulumi Signed-off-by: Christian Nunciato <c@nunciato.org> * Add GitHub redirect, support Signed-off-by: Christian Nunciato <c@nunciato.org> * Add blog * Add blog - update post frontmatter * Update content/_index.md Co-Authored-By: Justin Van Patten <jvp@justinvp.com> * Remove drafts & redundant fonts, move asset dirs up a level Signed-off-by: Christian Nunciato <c@nunciato.org> * Reconcile blog navigation Signed-off-by: Christian Nunciato <c@nunciato.org> * Migrate some blog content (#1147) * Reconcile www, blog and docs footer items (#1141) Signed-off-by: Christian Nunciato <c@nunciato.org> * Clean up blog layout (#1148) * Migrate more blog posts (#1157) * Replace Bootstrap with TailwindCSS * Add Tailwind * Create a config directory under assets, move PostCSS and Tailwind configs into it * Remove Bootstrap Sass and JS referemce * Refactor the header, base template, and footer to use Tailwind * Pull TOC Sass into its own partial Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor the docs home page Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor docs single, list and section layouts Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor quickstart-clouds partial Signed-off-by: Christian Nunciato <c@nunciato.org> * Reposition config items to fix syntax highlighting Signed-off-by: Christian Nunciato <c@nunciato.org> * Replace syntax CSS theme with Monokai Signed-off-by: Christian Nunciato <c@nunciato.org> * Add a dark blue for links Signed-off-by: Christian Nunciato <c@nunciato.org> * Add the beginnings of Sass color settings Signed-off-by: Christian Nunciato <c@nunciato.org> * Add a Sass file for langchoose Signed-off-by: Christian Nunciato <c@nunciato.org> * Give no-select its own Sass also, since it’s a partial Signed-off-by: Christian Nunciato <c@nunciato.org> * Give docs single and list templates more width for main content Signed-off-by: Christian Nunciato <c@nunciato.org> * Add some padding to the TOC, since we don’t have proper gutters yet Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix button on Quickstart home page Signed-off-by: Christian Nunciato <c@nunciato.org> * TOC styles Signed-off-by: Christian Nunciato <c@nunciato.org> * Quickstart clouds Signed-off-by: Christian Nunciato <c@nunciato.org> * Padding to left and right columns Signed-off-by: Christian Nunciato <c@nunciato.org> * Black for TOC Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor docs/aws to use its own layouts Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix the AWS tech partner image Signed-off-by: Christian Nunciato <c@nunciato.org> * Adjust AWS layouts Signed-off-by: Christian Nunciato <c@nunciato.org> * Move docs-home markup into a layout Signed-off-by: Christian Nunciato <c@nunciato.org> * Format the mini-toc Signed-off-by: Christian Nunciato <c@nunciato.org> * Reduce subhead sizes a bit Signed-off-by: Christian Nunciato <c@nunciato.org> * Remove snowflake styles Signed-off-by: Christian Nunciato <c@nunciato.org> * Extract some Sass partials Signed-off-by: Christian Nunciato <c@nunciato.org> * Define initial purple and blue palettes, use numbered colors instead Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor blog templates Signed-off-by: Christian Nunciato <c@nunciato.org> * Make blog summary a partial, style pagination Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix expanded URLs Signed-off-by: Christian Nunciato <c@nunciato.org> * Rename Documentation to Reference Signed-off-by: Christian Nunciato <c@nunciato.org> * A smattering of minor adjustments Signed-off-by: Christian Nunciato <c@nunciato.org> * Selection state for tags Signed-off-by: Christian Nunciato <c@nunciato.org> * Delete more Bootstrap Signed-off-by: Christian Nunciato <c@nunciato.org> * Comment the banner Signed-off-by: Christian Nunciato <c@nunciato.org> * Restore footer links Signed-off-by: Christian Nunciato <c@nunciato.org> * Legal layout Signed-off-by: Christian Nunciato <c@nunciato.org> * Remove unused layout Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor careers page Signed-off-by: Christian Nunciato <c@nunciato.org> * Use top-level URLs for legal docs Signed-off-by: Christian Nunciato <c@nunciato.org> * Add RSS for the blog (#1170) * Add RSS for the blog * Cleanup team data (#1195) * Cleanup team data * Add missing newlines at EOF * Blog content as of 6/16 (#1196) * Blog content layout tweaks * Migrated blog content (as of Sun 6/16) * Address PR feedback, replace links to pulumi.io * Add fusion stack Any changes to the `fusion` branch will now be deployed to https://fusion.pulumi.io/. * Fix broken links * Fix broken images in fusion branch (#1207) Deletes unnecessary uses of `BaseURL`. In a small number of cases, where we want to emit an absolute URL that includes the `BaseURL`, use the `absURL` function instead, which is smart about handling missing/extra slashes. * Integrate www content (#1208) Signed-off-by: Christian Nunciato <c@nunciato.org> * Highlight currently selected section tab (#1216) * Remove unused partials (#1215) These are no longer referenced, so they can be removed. Signed-off-by: Christian Nunciato <c@nunciato.org> * Blog content as of 6/24 (#1218) * Port running-containers-in-aws-the-lowdown-ecs-fargate-and-eks * Port building-and-publishing-docker-images-to-a-private-amazon-ecr-repository * Port happy-birthday-to-pulumi-open-source * Commit updates to package-lock.json * Link cleanups and other fixes * Remove 'wip' tag * Restore meta_* fields, tidy up some frontmatter (#1214) Signed-off-by: Christian Nunciato <c@nunciato.org> * Add search (#1217) Signed-off-by: Christian Nunciato <c@nunciato.org> * Hide `.language-prologue-*` by default (#1212) So they all don't initially flash as being visible before all but the selected language are hidden. Port from `_pulumi.scss`. * Limit team members to those with status “active” (#1219) Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix links to datadog provider * Remove top margin from code snippets under lang tabs (#1223) * Update MBR DNA logo (#1222) * Add links to cloud logos (#1221) And use `logo-aws_white.png` for AWS * Remove unnecessary aliases (#1210) Now that we'll be hosting the docs on a new domain, there's no need to maintain these aliases. The old site hosted at https://pulumi.io will have redirects from the old aliases to the new location on the new site. * Pricing page updates (#1224) * Add swooshes to the home, pricing and webinar pages. * Replace “tech” PNGs for GitHub, GitLab, Atlassian and SAML with SVGs, and add an email SVG, in order to align all of their images in the pricing grid. * Add a “See plan details” link above the pricing grid. * Update Font Awesome to version 5.8.1 (to match what's in use on www today) in order to pull in the infinity icons used in the pricing grid. * Align CTA buttons horizontally in adjacent boxes containing content of varying heights. * Fix duplicate links on the home and product pages. Signed-off-by: Christian Nunciato <c@nunciato.org> * Update API docs (#1227) * Update tsdocgen paths * Updated API docs * Fix broken images (#1228) Remove unnecessary `{{ .Site.BaseURL }}` prefix from image URLs. * Fix Hugo build warning about non-relative ref/relref page reference (#1229) * Fix page titles and errant anchors (#1226) * Prevent anchors on the home page * Fix page titles Signed-off-by: Christian Nunciato <c@nunciato.org> * Add a robots.txt file (#1225) This change adds a robots.txt template authorizing seach-engine indexing for all pages of the production site. It assumes that all non-production builds will override the `baseURL` configuration property with something other than `https://pulumi.com/`. Signed-off-by: Christian Nunciato <c@nunciato.org> * Blog content fixes (#1231) * Correct post dates, titles * Revert to previous tags * Unify tags, adjust for display * Replace short, social summaries with longer ones * Use a fixed height for the utility bar (#1232) When the GitHub widget loads asynchronously and pops into view, it causes the whole page to shift downward a few pixels, because the widget is taller than the links beside it. Applying an explicit hight to the utility bar fixes this. Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix TOC expansion for the tour (#1234) We're very likely going to remove the tour and disperse its content elsewhere, but in the meantime, fix the TOC expansion for "Beyond the Basics" items. * Add syntax highlighing to layout templates (#1238) This change adds a partial for highlighting code snippets in layouts. Signed-off-by: Christian Nunciato <c@nunciato.org> * Add home-page video (#1240) Also makes a few slight adjustments to improve mobile layout on the home page. Signed-off-by: Christian Nunciato <c@nunciato.org> * Blog layout and styling improvements (#1237) * Use explicit code blcoks with language * Fix sort order for Author and Tag listings * Make sidebar toggleable on mobile * Resize "poster" image for blog listings * Crop photos to be square * Add posted date, post tags to blog footer * Add recent posts lists to sidebar * Add syntax highlighting to some missed posts * Fix Hugo build warning * Adjust sidebar styling * Cleanup the /docs page (#1239) * Cleanup /docs/aws layouts to match other docs sections * Cleanup /docs pages - Add left nav - Make /docs page look slightly less like a "homepage" - Add top-level "Get Started" and "Reference" headings to left nav * Add `.btn-secondary` and use it in a few places * Remove unnecessary cursor setting (#1245) Should be using the default here. I was debugging and forgot to switch this back before committing. Signed-off-by: Christian Nunciato <c@nunciato.org> * Update the home page video (#1244) This is a slightly shorter version, with typing sections sped up slightly to better respect our visitors’ time. :smile: Signed-off-by: Christian Nunciato <c@nunciato.org> * API doc styling improvements (#1247) * Update API doc styling for Python Bring back the styles used for our Python API docs, convert to use Tailwind, and make further tweaks to make it look even better. For example, all definitions now look like code blocks and indentation and spacing is used to improve the hierarchy of the content. * Only emit the <h1>.Title</h1> if there is a .Title The generated Python API docs don't currently include front matter and therefore do not have a title. We should fix the Python docs gen to do that, but in the meantime, only emit `<h1>.Title</h1>` if the page has a `.Title`, to avoid an unnecessary gap at the top of the page. * Update _pygments.scss to select .highlight instead of .chroma The syntax highlighted code generated by Hugo looks like: ``` <div class="highlight"> <pre class="chroma"> <code class="language-foo"> ... </code> </pre> </div> ``` And our styles looks like: ``` .chroma .k { ... } .chroma .kc { ... } ... ``` This works good, but our generated Python docs, which uses Pygments to do the syntax highlighting, doesn't use `.chroma`, so it doesn't get any syntax highlighting currently, even though all the Pygments classes are there. This is true for our Node.js docs as well, although, based on how we generate the code for that currently, we could relatively easily update the templates to include a `.chroma` class. In all cases, the code that we want highlighted will have a `.highlight` class surrounding it, so just update our styles to select `.highlight` instead of `.chroma`. ``` .highlight .k { ... } .highlight .kc { ... } ... ``` * Update API doc styling for Node.js * Various mobile adjustments and cleanup (#1250) * Pull the hero and section nav into Tailwind "components" and apply them. * Adjust home-page video dimensions accordingly. * Add mobile x-padding to sections that hadn't gotten it yet. * Add an anchor exclusion to the head for the About page. * Fix mobile layout for the Support page. * Fix centering and item distribution on the About page. * Additional minor mobile-related adjustments as encountered. Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix bug in lang chooser (#1249) If I've previously viewed a page in our docs with the language tabs, such as the Get Started guide, and I click the Python tab, that language choice will be persisted to a cookie. If I then visit our Node.js API docs, the lang chooser will see the saved value of "Python" and try to select that tab, hiding all other language snippets. But our Node.js API docs only contain JavaScript and TypeScript snippets, so the end result is that all snippets are hidden and no tab is selected. This change fixes that. If the value in the cookie does not exist in any of the tabs on the page, fallback to the default (JavaScript), otherwise fallback to the first tab that is available on the page. * More small fixes (#1254) * Make the header more responsive Adds padding to medium and above, and adjusts font size and spacing at medium width in order to accommodate the number of items we’re displaying currently. Also uses the full Pulumi logo, since we have room for that now, and adds a little color to the hamburger. Signed-off-by: Christian Nunciato <c@nunciato.org> * Bottom-align the image on the whitepaper layout Also removes the `header` selector from `_hero.scss` in order to reduce the specificity of the rule, allowing it to be overidden more easily with other Tailwind classnames. Signed-off-by: Christian Nunciato <c@nunciato.org> * Add team@pulumi link to the footer Signed-off-by: Christian Nunciato <c@nunciato.org> * Restore the newsroom and investors sections Somehow these got dropped! :scream: Signed-off-by: Christian Nunciato <c@nunciato.org> * Add hero background glows (#1257) Also deletes unused templates. Signed-off-by: Christian Nunciato <c@nunciato.org> * Hide scrollbars if not needed (#1256) * Improve Pricing page responsiveness, fix a few other small things (#1259) * Fix section link on the Why Pulumi page Signed-off-by: Christian Nunciato <c@nunciato.org> * Capitalize Kubernetes in copy Signed-off-by: Christian Nunciato <c@nunciato.org> * Adjust image sizes on Whitepaper page Properly size them on both mobile and desktop. Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix paging on mobile Decrease padding to prevent overflow. Signed-off-by: Christian Nunciato <c@nunciato.org> * Improve Pricing page layout Signed-off-by: Christian Nunciato <c@nunciato.org> * Replace home page video with carousel (#1260) Signed-off-by: Christian Nunciato <c@nunciato.org> * Change Segment module to WWW (#1265) * Hook up new www.pulumi.com/staging stack to CI/CD (#1262) * Move older 'pulumi.io' stacks to infrastructure-old * Add new 'www.pulumi.com' infrastructure folder * Scripts to hook up to CI/CD * Switch back to using generic Travis worker * Add alias to CDN for staging.pulumi.io * Remove alias to staging.pulumi.io * Do not use named profiles for deployments There's an issue today where named profiles which use `credential_source=Environment` don't actually behave correctly with the assume-role tool. Instead of actually assuming the role, it just uses the credentials in the environment, which is not exactly what you want. For now, explicitly set the ARN we want to assume, instead of indirecting across a named profile. * Remove CloudFront alias entirely * Add hover menu (#1266) Signed-off-by: Christian Nunciato <c@nunciato.org> * Hook up new www.pulumi.com/production stack to CI/CD (#1267) * Hook up new www.pulumi.com/production stack to CI/CD * Correct Makefile syntax * Migrate blog posts as of 7/2 (#1268) * Fix Makefile syntax * Fix spelling error ::sigh::
2019-07-02 16:30:33 -07:00
Find out how Wallaroo powered their cluster provisioning with Pulumi,
for data science on demand.*
Last month, we took a
2020-01-24 14:08:19 -08:00
[long-running pandas classifier](https://github.com/WallarooLabs/wallaroo_blog_examples/tree/master/provisioned-classifier/classifier)
GREAT WEBSITE MIGRATION OF 2018 (#1269) * Move content into docs/content * Make navigation and doc generation work Signed-off-by: Christian Nunciato <c@nunciato.org> * Make search work Signed-off-by: Christian Nunciato <c@nunciato.org> * Move docs-specific layouts into layouts/docs Signed-off-by: Christian Nunciato <c@nunciato.org> * Move docs partials into layouts/partials/docs Signed-off-by: Christian Nunciato <c@nunciato.org> * Share a common header and footer Signed-off-by: Christian Nunciato <c@nunciato.org> * Add product & pricing pages, modify main nav Signed-off-by: Christian Nunciato <c@nunciato.org> * Bring images under assets, docs images under assets/images/docs Signed-off-by: Christian Nunciato <c@nunciato.org> * Link to the docs home page, fix image ref Signed-off-by: Christian Nunciato <c@nunciato.org> * Add containers, serverless, kubernetes topics Signed-off-by: Christian Nunciato <c@nunciato.org> * Add careers Signed-off-by: Christian Nunciato <c@nunciato.org> * Add compete, compete -> migrate Signed-off-by: Christian Nunciato <c@nunciato.org> * About, contact Signed-off-by: Christian Nunciato <c@nunciato.org> * Add legal Signed-off-by: Christian Nunciato <c@nunciato.org> * Add product Signed-off-by: Christian Nunciato <c@nunciato.org> * Add partner content Signed-off-by: Christian Nunciato <c@nunciato.org> * Add webinar Signed-off-by: Christian Nunciato <c@nunciato.org> * Add why-pulumi Signed-off-by: Christian Nunciato <c@nunciato.org> * Add GitHub redirect, support Signed-off-by: Christian Nunciato <c@nunciato.org> * Add blog * Add blog - update post frontmatter * Update content/_index.md Co-Authored-By: Justin Van Patten <jvp@justinvp.com> * Remove drafts & redundant fonts, move asset dirs up a level Signed-off-by: Christian Nunciato <c@nunciato.org> * Reconcile blog navigation Signed-off-by: Christian Nunciato <c@nunciato.org> * Migrate some blog content (#1147) * Reconcile www, blog and docs footer items (#1141) Signed-off-by: Christian Nunciato <c@nunciato.org> * Clean up blog layout (#1148) * Migrate more blog posts (#1157) * Replace Bootstrap with TailwindCSS * Add Tailwind * Create a config directory under assets, move PostCSS and Tailwind configs into it * Remove Bootstrap Sass and JS referemce * Refactor the header, base template, and footer to use Tailwind * Pull TOC Sass into its own partial Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor the docs home page Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor docs single, list and section layouts Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor quickstart-clouds partial Signed-off-by: Christian Nunciato <c@nunciato.org> * Reposition config items to fix syntax highlighting Signed-off-by: Christian Nunciato <c@nunciato.org> * Replace syntax CSS theme with Monokai Signed-off-by: Christian Nunciato <c@nunciato.org> * Add a dark blue for links Signed-off-by: Christian Nunciato <c@nunciato.org> * Add the beginnings of Sass color settings Signed-off-by: Christian Nunciato <c@nunciato.org> * Add a Sass file for langchoose Signed-off-by: Christian Nunciato <c@nunciato.org> * Give no-select its own Sass also, since it’s a partial Signed-off-by: Christian Nunciato <c@nunciato.org> * Give docs single and list templates more width for main content Signed-off-by: Christian Nunciato <c@nunciato.org> * Add some padding to the TOC, since we don’t have proper gutters yet Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix button on Quickstart home page Signed-off-by: Christian Nunciato <c@nunciato.org> * TOC styles Signed-off-by: Christian Nunciato <c@nunciato.org> * Quickstart clouds Signed-off-by: Christian Nunciato <c@nunciato.org> * Padding to left and right columns Signed-off-by: Christian Nunciato <c@nunciato.org> * Black for TOC Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor docs/aws to use its own layouts Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix the AWS tech partner image Signed-off-by: Christian Nunciato <c@nunciato.org> * Adjust AWS layouts Signed-off-by: Christian Nunciato <c@nunciato.org> * Move docs-home markup into a layout Signed-off-by: Christian Nunciato <c@nunciato.org> * Format the mini-toc Signed-off-by: Christian Nunciato <c@nunciato.org> * Reduce subhead sizes a bit Signed-off-by: Christian Nunciato <c@nunciato.org> * Remove snowflake styles Signed-off-by: Christian Nunciato <c@nunciato.org> * Extract some Sass partials Signed-off-by: Christian Nunciato <c@nunciato.org> * Define initial purple and blue palettes, use numbered colors instead Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor blog templates Signed-off-by: Christian Nunciato <c@nunciato.org> * Make blog summary a partial, style pagination Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix expanded URLs Signed-off-by: Christian Nunciato <c@nunciato.org> * Rename Documentation to Reference Signed-off-by: Christian Nunciato <c@nunciato.org> * A smattering of minor adjustments Signed-off-by: Christian Nunciato <c@nunciato.org> * Selection state for tags Signed-off-by: Christian Nunciato <c@nunciato.org> * Delete more Bootstrap Signed-off-by: Christian Nunciato <c@nunciato.org> * Comment the banner Signed-off-by: Christian Nunciato <c@nunciato.org> * Restore footer links Signed-off-by: Christian Nunciato <c@nunciato.org> * Legal layout Signed-off-by: Christian Nunciato <c@nunciato.org> * Remove unused layout Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor careers page Signed-off-by: Christian Nunciato <c@nunciato.org> * Use top-level URLs for legal docs Signed-off-by: Christian Nunciato <c@nunciato.org> * Add RSS for the blog (#1170) * Add RSS for the blog * Cleanup team data (#1195) * Cleanup team data * Add missing newlines at EOF * Blog content as of 6/16 (#1196) * Blog content layout tweaks * Migrated blog content (as of Sun 6/16) * Address PR feedback, replace links to pulumi.io * Add fusion stack Any changes to the `fusion` branch will now be deployed to https://fusion.pulumi.io/. * Fix broken links * Fix broken images in fusion branch (#1207) Deletes unnecessary uses of `BaseURL`. In a small number of cases, where we want to emit an absolute URL that includes the `BaseURL`, use the `absURL` function instead, which is smart about handling missing/extra slashes. * Integrate www content (#1208) Signed-off-by: Christian Nunciato <c@nunciato.org> * Highlight currently selected section tab (#1216) * Remove unused partials (#1215) These are no longer referenced, so they can be removed. Signed-off-by: Christian Nunciato <c@nunciato.org> * Blog content as of 6/24 (#1218) * Port running-containers-in-aws-the-lowdown-ecs-fargate-and-eks * Port building-and-publishing-docker-images-to-a-private-amazon-ecr-repository * Port happy-birthday-to-pulumi-open-source * Commit updates to package-lock.json * Link cleanups and other fixes * Remove 'wip' tag * Restore meta_* fields, tidy up some frontmatter (#1214) Signed-off-by: Christian Nunciato <c@nunciato.org> * Add search (#1217) Signed-off-by: Christian Nunciato <c@nunciato.org> * Hide `.language-prologue-*` by default (#1212) So they all don't initially flash as being visible before all but the selected language are hidden. Port from `_pulumi.scss`. * Limit team members to those with status “active” (#1219) Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix links to datadog provider * Remove top margin from code snippets under lang tabs (#1223) * Update MBR DNA logo (#1222) * Add links to cloud logos (#1221) And use `logo-aws_white.png` for AWS * Remove unnecessary aliases (#1210) Now that we'll be hosting the docs on a new domain, there's no need to maintain these aliases. The old site hosted at https://pulumi.io will have redirects from the old aliases to the new location on the new site. * Pricing page updates (#1224) * Add swooshes to the home, pricing and webinar pages. * Replace “tech” PNGs for GitHub, GitLab, Atlassian and SAML with SVGs, and add an email SVG, in order to align all of their images in the pricing grid. * Add a “See plan details” link above the pricing grid. * Update Font Awesome to version 5.8.1 (to match what's in use on www today) in order to pull in the infinity icons used in the pricing grid. * Align CTA buttons horizontally in adjacent boxes containing content of varying heights. * Fix duplicate links on the home and product pages. Signed-off-by: Christian Nunciato <c@nunciato.org> * Update API docs (#1227) * Update tsdocgen paths * Updated API docs * Fix broken images (#1228) Remove unnecessary `{{ .Site.BaseURL }}` prefix from image URLs. * Fix Hugo build warning about non-relative ref/relref page reference (#1229) * Fix page titles and errant anchors (#1226) * Prevent anchors on the home page * Fix page titles Signed-off-by: Christian Nunciato <c@nunciato.org> * Add a robots.txt file (#1225) This change adds a robots.txt template authorizing seach-engine indexing for all pages of the production site. It assumes that all non-production builds will override the `baseURL` configuration property with something other than `https://pulumi.com/`. Signed-off-by: Christian Nunciato <c@nunciato.org> * Blog content fixes (#1231) * Correct post dates, titles * Revert to previous tags * Unify tags, adjust for display * Replace short, social summaries with longer ones * Use a fixed height for the utility bar (#1232) When the GitHub widget loads asynchronously and pops into view, it causes the whole page to shift downward a few pixels, because the widget is taller than the links beside it. Applying an explicit hight to the utility bar fixes this. Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix TOC expansion for the tour (#1234) We're very likely going to remove the tour and disperse its content elsewhere, but in the meantime, fix the TOC expansion for "Beyond the Basics" items. * Add syntax highlighing to layout templates (#1238) This change adds a partial for highlighting code snippets in layouts. Signed-off-by: Christian Nunciato <c@nunciato.org> * Add home-page video (#1240) Also makes a few slight adjustments to improve mobile layout on the home page. Signed-off-by: Christian Nunciato <c@nunciato.org> * Blog layout and styling improvements (#1237) * Use explicit code blcoks with language * Fix sort order for Author and Tag listings * Make sidebar toggleable on mobile * Resize "poster" image for blog listings * Crop photos to be square * Add posted date, post tags to blog footer * Add recent posts lists to sidebar * Add syntax highlighting to some missed posts * Fix Hugo build warning * Adjust sidebar styling * Cleanup the /docs page (#1239) * Cleanup /docs/aws layouts to match other docs sections * Cleanup /docs pages - Add left nav - Make /docs page look slightly less like a "homepage" - Add top-level "Get Started" and "Reference" headings to left nav * Add `.btn-secondary` and use it in a few places * Remove unnecessary cursor setting (#1245) Should be using the default here. I was debugging and forgot to switch this back before committing. Signed-off-by: Christian Nunciato <c@nunciato.org> * Update the home page video (#1244) This is a slightly shorter version, with typing sections sped up slightly to better respect our visitors’ time. :smile: Signed-off-by: Christian Nunciato <c@nunciato.org> * API doc styling improvements (#1247) * Update API doc styling for Python Bring back the styles used for our Python API docs, convert to use Tailwind, and make further tweaks to make it look even better. For example, all definitions now look like code blocks and indentation and spacing is used to improve the hierarchy of the content. * Only emit the <h1>.Title</h1> if there is a .Title The generated Python API docs don't currently include front matter and therefore do not have a title. We should fix the Python docs gen to do that, but in the meantime, only emit `<h1>.Title</h1>` if the page has a `.Title`, to avoid an unnecessary gap at the top of the page. * Update _pygments.scss to select .highlight instead of .chroma The syntax highlighted code generated by Hugo looks like: ``` <div class="highlight"> <pre class="chroma"> <code class="language-foo"> ... </code> </pre> </div> ``` And our styles looks like: ``` .chroma .k { ... } .chroma .kc { ... } ... ``` This works good, but our generated Python docs, which uses Pygments to do the syntax highlighting, doesn't use `.chroma`, so it doesn't get any syntax highlighting currently, even though all the Pygments classes are there. This is true for our Node.js docs as well, although, based on how we generate the code for that currently, we could relatively easily update the templates to include a `.chroma` class. In all cases, the code that we want highlighted will have a `.highlight` class surrounding it, so just update our styles to select `.highlight` instead of `.chroma`. ``` .highlight .k { ... } .highlight .kc { ... } ... ``` * Update API doc styling for Node.js * Various mobile adjustments and cleanup (#1250) * Pull the hero and section nav into Tailwind "components" and apply them. * Adjust home-page video dimensions accordingly. * Add mobile x-padding to sections that hadn't gotten it yet. * Add an anchor exclusion to the head for the About page. * Fix mobile layout for the Support page. * Fix centering and item distribution on the About page. * Additional minor mobile-related adjustments as encountered. Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix bug in lang chooser (#1249) If I've previously viewed a page in our docs with the language tabs, such as the Get Started guide, and I click the Python tab, that language choice will be persisted to a cookie. If I then visit our Node.js API docs, the lang chooser will see the saved value of "Python" and try to select that tab, hiding all other language snippets. But our Node.js API docs only contain JavaScript and TypeScript snippets, so the end result is that all snippets are hidden and no tab is selected. This change fixes that. If the value in the cookie does not exist in any of the tabs on the page, fallback to the default (JavaScript), otherwise fallback to the first tab that is available on the page. * More small fixes (#1254) * Make the header more responsive Adds padding to medium and above, and adjusts font size and spacing at medium width in order to accommodate the number of items we’re displaying currently. Also uses the full Pulumi logo, since we have room for that now, and adds a little color to the hamburger. Signed-off-by: Christian Nunciato <c@nunciato.org> * Bottom-align the image on the whitepaper layout Also removes the `header` selector from `_hero.scss` in order to reduce the specificity of the rule, allowing it to be overidden more easily with other Tailwind classnames. Signed-off-by: Christian Nunciato <c@nunciato.org> * Add team@pulumi link to the footer Signed-off-by: Christian Nunciato <c@nunciato.org> * Restore the newsroom and investors sections Somehow these got dropped! :scream: Signed-off-by: Christian Nunciato <c@nunciato.org> * Add hero background glows (#1257) Also deletes unused templates. Signed-off-by: Christian Nunciato <c@nunciato.org> * Hide scrollbars if not needed (#1256) * Improve Pricing page responsiveness, fix a few other small things (#1259) * Fix section link on the Why Pulumi page Signed-off-by: Christian Nunciato <c@nunciato.org> * Capitalize Kubernetes in copy Signed-off-by: Christian Nunciato <c@nunciato.org> * Adjust image sizes on Whitepaper page Properly size them on both mobile and desktop. Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix paging on mobile Decrease padding to prevent overflow. Signed-off-by: Christian Nunciato <c@nunciato.org> * Improve Pricing page layout Signed-off-by: Christian Nunciato <c@nunciato.org> * Replace home page video with carousel (#1260) Signed-off-by: Christian Nunciato <c@nunciato.org> * Change Segment module to WWW (#1265) * Hook up new www.pulumi.com/staging stack to CI/CD (#1262) * Move older 'pulumi.io' stacks to infrastructure-old * Add new 'www.pulumi.com' infrastructure folder * Scripts to hook up to CI/CD * Switch back to using generic Travis worker * Add alias to CDN for staging.pulumi.io * Remove alias to staging.pulumi.io * Do not use named profiles for deployments There's an issue today where named profiles which use `credential_source=Environment` don't actually behave correctly with the assume-role tool. Instead of actually assuming the role, it just uses the credentials in the environment, which is not exactly what you want. For now, explicitly set the ARN we want to assume, instead of indirecting across a named profile. * Remove CloudFront alias entirely * Add hover menu (#1266) Signed-off-by: Christian Nunciato <c@nunciato.org> * Hook up new www.pulumi.com/production stack to CI/CD (#1267) * Hook up new www.pulumi.com/production stack to CI/CD * Correct Makefile syntax * Migrate blog posts as of 7/2 (#1268) * Fix Makefile syntax * Fix spelling error ::sigh::
2019-07-02 16:30:33 -07:00
and made it run faster by leveraging Wallaroo's parallelization
capabilities. This time around, we'd like to kick it up a notch and see
if we can keep scaling out to meet higher demand. We'd also like to be
as economical as possible: provision infrastructure as needed and
de-provision it when we're done processing.
If you don't feel like reading the post linked above, here's a short
summary of the situation: there's a batch job that you're running every
hour, on the hour. This job receives a CSV file and classifies each row
of the file, using a Pandas-based algorithm. The run-time of the job is
starting to near the one-hour mark, and there's concern that the
pipeline will break down once the input data grows past a particular
point.
In the blog post, we show how to split up the input data into smaller
dataframes, and distribute them among workers in an ad-hoc Wallaroo
cluster, running on one physical machine. Parallelizing the work in this
manner buys us a lot of time, and the batch job can continue processing
increasing amounts of data.
<!--more-->
Sure, we can handle a million rows in reasonable time, but what if the
data set grows by orders of magnitude? By running our classifier on a
local Wallaroo cluster, we were able to cut the processing time of a
million rows to ~16 minutes, thus fitting within our allotted time slot
of one hour. But if the input data is, say, 10x more, we're going to
have a hard time processing it all locally.
Let's see how we can keep up with the data growth by launching a
cloud-based Wallaroo cluster on-demand, running the job, collecting the
data, and shutting down the cluster, all in a fully automated fashion.
## Tools of the trade
Wallaroo's big idea is that your application doesn't have to know
whether it's running on one process, several local processes, or a
distributed system comprising many physical machines. In this sense,
there's no extra work involved in 'migrating' our classifier application
from the previous blog post.
We will need some tools to help us set up and manage our cluster in the
cloud. Wallaroo can work with a lot of different tools. Our friends at
Pulumi provide an excellent tool that removes the
headaches involved in provisioning infrastructure. We'll use Pulumi to
define, set up, and finally tear down our processing cluster in this
example.
We'll also need [Ansible](https://www.ansible.com/) to start, stop, and
inspect the state of our cluster, and, last but not least, we'll need
an [AWS](https://aws.amazon.com/) account where our machines will live.
Let's jump into it!
## A sample run
First of all, if you'd like to follow along (and spend some money
provisioning EC2 servers), please
[download and set up Pulumi](/docs/install/).
GREAT WEBSITE MIGRATION OF 2018 (#1269) * Move content into docs/content * Make navigation and doc generation work Signed-off-by: Christian Nunciato <c@nunciato.org> * Make search work Signed-off-by: Christian Nunciato <c@nunciato.org> * Move docs-specific layouts into layouts/docs Signed-off-by: Christian Nunciato <c@nunciato.org> * Move docs partials into layouts/partials/docs Signed-off-by: Christian Nunciato <c@nunciato.org> * Share a common header and footer Signed-off-by: Christian Nunciato <c@nunciato.org> * Add product & pricing pages, modify main nav Signed-off-by: Christian Nunciato <c@nunciato.org> * Bring images under assets, docs images under assets/images/docs Signed-off-by: Christian Nunciato <c@nunciato.org> * Link to the docs home page, fix image ref Signed-off-by: Christian Nunciato <c@nunciato.org> * Add containers, serverless, kubernetes topics Signed-off-by: Christian Nunciato <c@nunciato.org> * Add careers Signed-off-by: Christian Nunciato <c@nunciato.org> * Add compete, compete -> migrate Signed-off-by: Christian Nunciato <c@nunciato.org> * About, contact Signed-off-by: Christian Nunciato <c@nunciato.org> * Add legal Signed-off-by: Christian Nunciato <c@nunciato.org> * Add product Signed-off-by: Christian Nunciato <c@nunciato.org> * Add partner content Signed-off-by: Christian Nunciato <c@nunciato.org> * Add webinar Signed-off-by: Christian Nunciato <c@nunciato.org> * Add why-pulumi Signed-off-by: Christian Nunciato <c@nunciato.org> * Add GitHub redirect, support Signed-off-by: Christian Nunciato <c@nunciato.org> * Add blog * Add blog - update post frontmatter * Update content/_index.md Co-Authored-By: Justin Van Patten <jvp@justinvp.com> * Remove drafts & redundant fonts, move asset dirs up a level Signed-off-by: Christian Nunciato <c@nunciato.org> * Reconcile blog navigation Signed-off-by: Christian Nunciato <c@nunciato.org> * Migrate some blog content (#1147) * Reconcile www, blog and docs footer items (#1141) Signed-off-by: Christian Nunciato <c@nunciato.org> * Clean up blog layout (#1148) * Migrate more blog posts (#1157) * Replace Bootstrap with TailwindCSS * Add Tailwind * Create a config directory under assets, move PostCSS and Tailwind configs into it * Remove Bootstrap Sass and JS referemce * Refactor the header, base template, and footer to use Tailwind * Pull TOC Sass into its own partial Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor the docs home page Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor docs single, list and section layouts Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor quickstart-clouds partial Signed-off-by: Christian Nunciato <c@nunciato.org> * Reposition config items to fix syntax highlighting Signed-off-by: Christian Nunciato <c@nunciato.org> * Replace syntax CSS theme with Monokai Signed-off-by: Christian Nunciato <c@nunciato.org> * Add a dark blue for links Signed-off-by: Christian Nunciato <c@nunciato.org> * Add the beginnings of Sass color settings Signed-off-by: Christian Nunciato <c@nunciato.org> * Add a Sass file for langchoose Signed-off-by: Christian Nunciato <c@nunciato.org> * Give no-select its own Sass also, since it’s a partial Signed-off-by: Christian Nunciato <c@nunciato.org> * Give docs single and list templates more width for main content Signed-off-by: Christian Nunciato <c@nunciato.org> * Add some padding to the TOC, since we don’t have proper gutters yet Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix button on Quickstart home page Signed-off-by: Christian Nunciato <c@nunciato.org> * TOC styles Signed-off-by: Christian Nunciato <c@nunciato.org> * Quickstart clouds Signed-off-by: Christian Nunciato <c@nunciato.org> * Padding to left and right columns Signed-off-by: Christian Nunciato <c@nunciato.org> * Black for TOC Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor docs/aws to use its own layouts Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix the AWS tech partner image Signed-off-by: Christian Nunciato <c@nunciato.org> * Adjust AWS layouts Signed-off-by: Christian Nunciato <c@nunciato.org> * Move docs-home markup into a layout Signed-off-by: Christian Nunciato <c@nunciato.org> * Format the mini-toc Signed-off-by: Christian Nunciato <c@nunciato.org> * Reduce subhead sizes a bit Signed-off-by: Christian Nunciato <c@nunciato.org> * Remove snowflake styles Signed-off-by: Christian Nunciato <c@nunciato.org> * Extract some Sass partials Signed-off-by: Christian Nunciato <c@nunciato.org> * Define initial purple and blue palettes, use numbered colors instead Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor blog templates Signed-off-by: Christian Nunciato <c@nunciato.org> * Make blog summary a partial, style pagination Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix expanded URLs Signed-off-by: Christian Nunciato <c@nunciato.org> * Rename Documentation to Reference Signed-off-by: Christian Nunciato <c@nunciato.org> * A smattering of minor adjustments Signed-off-by: Christian Nunciato <c@nunciato.org> * Selection state for tags Signed-off-by: Christian Nunciato <c@nunciato.org> * Delete more Bootstrap Signed-off-by: Christian Nunciato <c@nunciato.org> * Comment the banner Signed-off-by: Christian Nunciato <c@nunciato.org> * Restore footer links Signed-off-by: Christian Nunciato <c@nunciato.org> * Legal layout Signed-off-by: Christian Nunciato <c@nunciato.org> * Remove unused layout Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor careers page Signed-off-by: Christian Nunciato <c@nunciato.org> * Use top-level URLs for legal docs Signed-off-by: Christian Nunciato <c@nunciato.org> * Add RSS for the blog (#1170) * Add RSS for the blog * Cleanup team data (#1195) * Cleanup team data * Add missing newlines at EOF * Blog content as of 6/16 (#1196) * Blog content layout tweaks * Migrated blog content (as of Sun 6/16) * Address PR feedback, replace links to pulumi.io * Add fusion stack Any changes to the `fusion` branch will now be deployed to https://fusion.pulumi.io/. * Fix broken links * Fix broken images in fusion branch (#1207) Deletes unnecessary uses of `BaseURL`. In a small number of cases, where we want to emit an absolute URL that includes the `BaseURL`, use the `absURL` function instead, which is smart about handling missing/extra slashes. * Integrate www content (#1208) Signed-off-by: Christian Nunciato <c@nunciato.org> * Highlight currently selected section tab (#1216) * Remove unused partials (#1215) These are no longer referenced, so they can be removed. Signed-off-by: Christian Nunciato <c@nunciato.org> * Blog content as of 6/24 (#1218) * Port running-containers-in-aws-the-lowdown-ecs-fargate-and-eks * Port building-and-publishing-docker-images-to-a-private-amazon-ecr-repository * Port happy-birthday-to-pulumi-open-source * Commit updates to package-lock.json * Link cleanups and other fixes * Remove 'wip' tag * Restore meta_* fields, tidy up some frontmatter (#1214) Signed-off-by: Christian Nunciato <c@nunciato.org> * Add search (#1217) Signed-off-by: Christian Nunciato <c@nunciato.org> * Hide `.language-prologue-*` by default (#1212) So they all don't initially flash as being visible before all but the selected language are hidden. Port from `_pulumi.scss`. * Limit team members to those with status “active” (#1219) Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix links to datadog provider * Remove top margin from code snippets under lang tabs (#1223) * Update MBR DNA logo (#1222) * Add links to cloud logos (#1221) And use `logo-aws_white.png` for AWS * Remove unnecessary aliases (#1210) Now that we'll be hosting the docs on a new domain, there's no need to maintain these aliases. The old site hosted at https://pulumi.io will have redirects from the old aliases to the new location on the new site. * Pricing page updates (#1224) * Add swooshes to the home, pricing and webinar pages. * Replace “tech” PNGs for GitHub, GitLab, Atlassian and SAML with SVGs, and add an email SVG, in order to align all of their images in the pricing grid. * Add a “See plan details” link above the pricing grid. * Update Font Awesome to version 5.8.1 (to match what's in use on www today) in order to pull in the infinity icons used in the pricing grid. * Align CTA buttons horizontally in adjacent boxes containing content of varying heights. * Fix duplicate links on the home and product pages. Signed-off-by: Christian Nunciato <c@nunciato.org> * Update API docs (#1227) * Update tsdocgen paths * Updated API docs * Fix broken images (#1228) Remove unnecessary `{{ .Site.BaseURL }}` prefix from image URLs. * Fix Hugo build warning about non-relative ref/relref page reference (#1229) * Fix page titles and errant anchors (#1226) * Prevent anchors on the home page * Fix page titles Signed-off-by: Christian Nunciato <c@nunciato.org> * Add a robots.txt file (#1225) This change adds a robots.txt template authorizing seach-engine indexing for all pages of the production site. It assumes that all non-production builds will override the `baseURL` configuration property with something other than `https://pulumi.com/`. Signed-off-by: Christian Nunciato <c@nunciato.org> * Blog content fixes (#1231) * Correct post dates, titles * Revert to previous tags * Unify tags, adjust for display * Replace short, social summaries with longer ones * Use a fixed height for the utility bar (#1232) When the GitHub widget loads asynchronously and pops into view, it causes the whole page to shift downward a few pixels, because the widget is taller than the links beside it. Applying an explicit hight to the utility bar fixes this. Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix TOC expansion for the tour (#1234) We're very likely going to remove the tour and disperse its content elsewhere, but in the meantime, fix the TOC expansion for "Beyond the Basics" items. * Add syntax highlighing to layout templates (#1238) This change adds a partial for highlighting code snippets in layouts. Signed-off-by: Christian Nunciato <c@nunciato.org> * Add home-page video (#1240) Also makes a few slight adjustments to improve mobile layout on the home page. Signed-off-by: Christian Nunciato <c@nunciato.org> * Blog layout and styling improvements (#1237) * Use explicit code blcoks with language * Fix sort order for Author and Tag listings * Make sidebar toggleable on mobile * Resize "poster" image for blog listings * Crop photos to be square * Add posted date, post tags to blog footer * Add recent posts lists to sidebar * Add syntax highlighting to some missed posts * Fix Hugo build warning * Adjust sidebar styling * Cleanup the /docs page (#1239) * Cleanup /docs/aws layouts to match other docs sections * Cleanup /docs pages - Add left nav - Make /docs page look slightly less like a "homepage" - Add top-level "Get Started" and "Reference" headings to left nav * Add `.btn-secondary` and use it in a few places * Remove unnecessary cursor setting (#1245) Should be using the default here. I was debugging and forgot to switch this back before committing. Signed-off-by: Christian Nunciato <c@nunciato.org> * Update the home page video (#1244) This is a slightly shorter version, with typing sections sped up slightly to better respect our visitors’ time. :smile: Signed-off-by: Christian Nunciato <c@nunciato.org> * API doc styling improvements (#1247) * Update API doc styling for Python Bring back the styles used for our Python API docs, convert to use Tailwind, and make further tweaks to make it look even better. For example, all definitions now look like code blocks and indentation and spacing is used to improve the hierarchy of the content. * Only emit the <h1>.Title</h1> if there is a .Title The generated Python API docs don't currently include front matter and therefore do not have a title. We should fix the Python docs gen to do that, but in the meantime, only emit `<h1>.Title</h1>` if the page has a `.Title`, to avoid an unnecessary gap at the top of the page. * Update _pygments.scss to select .highlight instead of .chroma The syntax highlighted code generated by Hugo looks like: ``` <div class="highlight"> <pre class="chroma"> <code class="language-foo"> ... </code> </pre> </div> ``` And our styles looks like: ``` .chroma .k { ... } .chroma .kc { ... } ... ``` This works good, but our generated Python docs, which uses Pygments to do the syntax highlighting, doesn't use `.chroma`, so it doesn't get any syntax highlighting currently, even though all the Pygments classes are there. This is true for our Node.js docs as well, although, based on how we generate the code for that currently, we could relatively easily update the templates to include a `.chroma` class. In all cases, the code that we want highlighted will have a `.highlight` class surrounding it, so just update our styles to select `.highlight` instead of `.chroma`. ``` .highlight .k { ... } .highlight .kc { ... } ... ``` * Update API doc styling for Node.js * Various mobile adjustments and cleanup (#1250) * Pull the hero and section nav into Tailwind "components" and apply them. * Adjust home-page video dimensions accordingly. * Add mobile x-padding to sections that hadn't gotten it yet. * Add an anchor exclusion to the head for the About page. * Fix mobile layout for the Support page. * Fix centering and item distribution on the About page. * Additional minor mobile-related adjustments as encountered. Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix bug in lang chooser (#1249) If I've previously viewed a page in our docs with the language tabs, such as the Get Started guide, and I click the Python tab, that language choice will be persisted to a cookie. If I then visit our Node.js API docs, the lang chooser will see the saved value of "Python" and try to select that tab, hiding all other language snippets. But our Node.js API docs only contain JavaScript and TypeScript snippets, so the end result is that all snippets are hidden and no tab is selected. This change fixes that. If the value in the cookie does not exist in any of the tabs on the page, fallback to the default (JavaScript), otherwise fallback to the first tab that is available on the page. * More small fixes (#1254) * Make the header more responsive Adds padding to medium and above, and adjusts font size and spacing at medium width in order to accommodate the number of items we’re displaying currently. Also uses the full Pulumi logo, since we have room for that now, and adds a little color to the hamburger. Signed-off-by: Christian Nunciato <c@nunciato.org> * Bottom-align the image on the whitepaper layout Also removes the `header` selector from `_hero.scss` in order to reduce the specificity of the rule, allowing it to be overidden more easily with other Tailwind classnames. Signed-off-by: Christian Nunciato <c@nunciato.org> * Add team@pulumi link to the footer Signed-off-by: Christian Nunciato <c@nunciato.org> * Restore the newsroom and investors sections Somehow these got dropped! :scream: Signed-off-by: Christian Nunciato <c@nunciato.org> * Add hero background glows (#1257) Also deletes unused templates. Signed-off-by: Christian Nunciato <c@nunciato.org> * Hide scrollbars if not needed (#1256) * Improve Pricing page responsiveness, fix a few other small things (#1259) * Fix section link on the Why Pulumi page Signed-off-by: Christian Nunciato <c@nunciato.org> * Capitalize Kubernetes in copy Signed-off-by: Christian Nunciato <c@nunciato.org> * Adjust image sizes on Whitepaper page Properly size them on both mobile and desktop. Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix paging on mobile Decrease padding to prevent overflow. Signed-off-by: Christian Nunciato <c@nunciato.org> * Improve Pricing page layout Signed-off-by: Christian Nunciato <c@nunciato.org> * Replace home page video with carousel (#1260) Signed-off-by: Christian Nunciato <c@nunciato.org> * Change Segment module to WWW (#1265) * Hook up new www.pulumi.com/staging stack to CI/CD (#1262) * Move older 'pulumi.io' stacks to infrastructure-old * Add new 'www.pulumi.com' infrastructure folder * Scripts to hook up to CI/CD * Switch back to using generic Travis worker * Add alias to CDN for staging.pulumi.io * Remove alias to staging.pulumi.io * Do not use named profiles for deployments There's an issue today where named profiles which use `credential_source=Environment` don't actually behave correctly with the assume-role tool. Instead of actually assuming the role, it just uses the credentials in the environment, which is not exactly what you want. For now, explicitly set the ARN we want to assume, instead of indirecting across a named profile. * Remove CloudFront alias entirely * Add hover menu (#1266) Signed-off-by: Christian Nunciato <c@nunciato.org> * Hook up new www.pulumi.com/production stack to CI/CD (#1267) * Hook up new www.pulumi.com/production stack to CI/CD * Correct Makefile syntax * Migrate blog posts as of 7/2 (#1268) * Fix Makefile syntax * Fix spelling error ::sigh::
2019-07-02 16:30:33 -07:00
Next, [clone the wallaroo blog examples repo](https://github.com/WallarooLabs/wallaroo_blog_examples) and
navigate to `provisioned-classifier`. If you followed along with the
previous Pandas blog post, you'll find our old application nested away
here, under`classifier`. What's more interesting are the two new
directories: `pulumi` and `ansible`.
Without delving into details, let's see how to run our application on a
freshly-provisioned cluster in the EC2 cloud:
```bash
make up run-cluster get-results down INPUT_LINES=1000000 CLUSTER_SIZE=3
```
![tty-fast](https://www.pulumi.com/uploads/content/blog/data-science-on-demand-spinning-up-a-wallaroo-cluster-is-easy-with-pulumi/tty-fast.gif)
GREAT WEBSITE MIGRATION OF 2018 (#1269) * Move content into docs/content * Make navigation and doc generation work Signed-off-by: Christian Nunciato <c@nunciato.org> * Make search work Signed-off-by: Christian Nunciato <c@nunciato.org> * Move docs-specific layouts into layouts/docs Signed-off-by: Christian Nunciato <c@nunciato.org> * Move docs partials into layouts/partials/docs Signed-off-by: Christian Nunciato <c@nunciato.org> * Share a common header and footer Signed-off-by: Christian Nunciato <c@nunciato.org> * Add product & pricing pages, modify main nav Signed-off-by: Christian Nunciato <c@nunciato.org> * Bring images under assets, docs images under assets/images/docs Signed-off-by: Christian Nunciato <c@nunciato.org> * Link to the docs home page, fix image ref Signed-off-by: Christian Nunciato <c@nunciato.org> * Add containers, serverless, kubernetes topics Signed-off-by: Christian Nunciato <c@nunciato.org> * Add careers Signed-off-by: Christian Nunciato <c@nunciato.org> * Add compete, compete -> migrate Signed-off-by: Christian Nunciato <c@nunciato.org> * About, contact Signed-off-by: Christian Nunciato <c@nunciato.org> * Add legal Signed-off-by: Christian Nunciato <c@nunciato.org> * Add product Signed-off-by: Christian Nunciato <c@nunciato.org> * Add partner content Signed-off-by: Christian Nunciato <c@nunciato.org> * Add webinar Signed-off-by: Christian Nunciato <c@nunciato.org> * Add why-pulumi Signed-off-by: Christian Nunciato <c@nunciato.org> * Add GitHub redirect, support Signed-off-by: Christian Nunciato <c@nunciato.org> * Add blog * Add blog - update post frontmatter * Update content/_index.md Co-Authored-By: Justin Van Patten <jvp@justinvp.com> * Remove drafts & redundant fonts, move asset dirs up a level Signed-off-by: Christian Nunciato <c@nunciato.org> * Reconcile blog navigation Signed-off-by: Christian Nunciato <c@nunciato.org> * Migrate some blog content (#1147) * Reconcile www, blog and docs footer items (#1141) Signed-off-by: Christian Nunciato <c@nunciato.org> * Clean up blog layout (#1148) * Migrate more blog posts (#1157) * Replace Bootstrap with TailwindCSS * Add Tailwind * Create a config directory under assets, move PostCSS and Tailwind configs into it * Remove Bootstrap Sass and JS referemce * Refactor the header, base template, and footer to use Tailwind * Pull TOC Sass into its own partial Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor the docs home page Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor docs single, list and section layouts Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor quickstart-clouds partial Signed-off-by: Christian Nunciato <c@nunciato.org> * Reposition config items to fix syntax highlighting Signed-off-by: Christian Nunciato <c@nunciato.org> * Replace syntax CSS theme with Monokai Signed-off-by: Christian Nunciato <c@nunciato.org> * Add a dark blue for links Signed-off-by: Christian Nunciato <c@nunciato.org> * Add the beginnings of Sass color settings Signed-off-by: Christian Nunciato <c@nunciato.org> * Add a Sass file for langchoose Signed-off-by: Christian Nunciato <c@nunciato.org> * Give no-select its own Sass also, since it’s a partial Signed-off-by: Christian Nunciato <c@nunciato.org> * Give docs single and list templates more width for main content Signed-off-by: Christian Nunciato <c@nunciato.org> * Add some padding to the TOC, since we don’t have proper gutters yet Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix button on Quickstart home page Signed-off-by: Christian Nunciato <c@nunciato.org> * TOC styles Signed-off-by: Christian Nunciato <c@nunciato.org> * Quickstart clouds Signed-off-by: Christian Nunciato <c@nunciato.org> * Padding to left and right columns Signed-off-by: Christian Nunciato <c@nunciato.org> * Black for TOC Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor docs/aws to use its own layouts Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix the AWS tech partner image Signed-off-by: Christian Nunciato <c@nunciato.org> * Adjust AWS layouts Signed-off-by: Christian Nunciato <c@nunciato.org> * Move docs-home markup into a layout Signed-off-by: Christian Nunciato <c@nunciato.org> * Format the mini-toc Signed-off-by: Christian Nunciato <c@nunciato.org> * Reduce subhead sizes a bit Signed-off-by: Christian Nunciato <c@nunciato.org> * Remove snowflake styles Signed-off-by: Christian Nunciato <c@nunciato.org> * Extract some Sass partials Signed-off-by: Christian Nunciato <c@nunciato.org> * Define initial purple and blue palettes, use numbered colors instead Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor blog templates Signed-off-by: Christian Nunciato <c@nunciato.org> * Make blog summary a partial, style pagination Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix expanded URLs Signed-off-by: Christian Nunciato <c@nunciato.org> * Rename Documentation to Reference Signed-off-by: Christian Nunciato <c@nunciato.org> * A smattering of minor adjustments Signed-off-by: Christian Nunciato <c@nunciato.org> * Selection state for tags Signed-off-by: Christian Nunciato <c@nunciato.org> * Delete more Bootstrap Signed-off-by: Christian Nunciato <c@nunciato.org> * Comment the banner Signed-off-by: Christian Nunciato <c@nunciato.org> * Restore footer links Signed-off-by: Christian Nunciato <c@nunciato.org> * Legal layout Signed-off-by: Christian Nunciato <c@nunciato.org> * Remove unused layout Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor careers page Signed-off-by: Christian Nunciato <c@nunciato.org> * Use top-level URLs for legal docs Signed-off-by: Christian Nunciato <c@nunciato.org> * Add RSS for the blog (#1170) * Add RSS for the blog * Cleanup team data (#1195) * Cleanup team data * Add missing newlines at EOF * Blog content as of 6/16 (#1196) * Blog content layout tweaks * Migrated blog content (as of Sun 6/16) * Address PR feedback, replace links to pulumi.io * Add fusion stack Any changes to the `fusion` branch will now be deployed to https://fusion.pulumi.io/. * Fix broken links * Fix broken images in fusion branch (#1207) Deletes unnecessary uses of `BaseURL`. In a small number of cases, where we want to emit an absolute URL that includes the `BaseURL`, use the `absURL` function instead, which is smart about handling missing/extra slashes. * Integrate www content (#1208) Signed-off-by: Christian Nunciato <c@nunciato.org> * Highlight currently selected section tab (#1216) * Remove unused partials (#1215) These are no longer referenced, so they can be removed. Signed-off-by: Christian Nunciato <c@nunciato.org> * Blog content as of 6/24 (#1218) * Port running-containers-in-aws-the-lowdown-ecs-fargate-and-eks * Port building-and-publishing-docker-images-to-a-private-amazon-ecr-repository * Port happy-birthday-to-pulumi-open-source * Commit updates to package-lock.json * Link cleanups and other fixes * Remove 'wip' tag * Restore meta_* fields, tidy up some frontmatter (#1214) Signed-off-by: Christian Nunciato <c@nunciato.org> * Add search (#1217) Signed-off-by: Christian Nunciato <c@nunciato.org> * Hide `.language-prologue-*` by default (#1212) So they all don't initially flash as being visible before all but the selected language are hidden. Port from `_pulumi.scss`. * Limit team members to those with status “active” (#1219) Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix links to datadog provider * Remove top margin from code snippets under lang tabs (#1223) * Update MBR DNA logo (#1222) * Add links to cloud logos (#1221) And use `logo-aws_white.png` for AWS * Remove unnecessary aliases (#1210) Now that we'll be hosting the docs on a new domain, there's no need to maintain these aliases. The old site hosted at https://pulumi.io will have redirects from the old aliases to the new location on the new site. * Pricing page updates (#1224) * Add swooshes to the home, pricing and webinar pages. * Replace “tech” PNGs for GitHub, GitLab, Atlassian and SAML with SVGs, and add an email SVG, in order to align all of their images in the pricing grid. * Add a “See plan details” link above the pricing grid. * Update Font Awesome to version 5.8.1 (to match what's in use on www today) in order to pull in the infinity icons used in the pricing grid. * Align CTA buttons horizontally in adjacent boxes containing content of varying heights. * Fix duplicate links on the home and product pages. Signed-off-by: Christian Nunciato <c@nunciato.org> * Update API docs (#1227) * Update tsdocgen paths * Updated API docs * Fix broken images (#1228) Remove unnecessary `{{ .Site.BaseURL }}` prefix from image URLs. * Fix Hugo build warning about non-relative ref/relref page reference (#1229) * Fix page titles and errant anchors (#1226) * Prevent anchors on the home page * Fix page titles Signed-off-by: Christian Nunciato <c@nunciato.org> * Add a robots.txt file (#1225) This change adds a robots.txt template authorizing seach-engine indexing for all pages of the production site. It assumes that all non-production builds will override the `baseURL` configuration property with something other than `https://pulumi.com/`. Signed-off-by: Christian Nunciato <c@nunciato.org> * Blog content fixes (#1231) * Correct post dates, titles * Revert to previous tags * Unify tags, adjust for display * Replace short, social summaries with longer ones * Use a fixed height for the utility bar (#1232) When the GitHub widget loads asynchronously and pops into view, it causes the whole page to shift downward a few pixels, because the widget is taller than the links beside it. Applying an explicit hight to the utility bar fixes this. Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix TOC expansion for the tour (#1234) We're very likely going to remove the tour and disperse its content elsewhere, but in the meantime, fix the TOC expansion for "Beyond the Basics" items. * Add syntax highlighing to layout templates (#1238) This change adds a partial for highlighting code snippets in layouts. Signed-off-by: Christian Nunciato <c@nunciato.org> * Add home-page video (#1240) Also makes a few slight adjustments to improve mobile layout on the home page. Signed-off-by: Christian Nunciato <c@nunciato.org> * Blog layout and styling improvements (#1237) * Use explicit code blcoks with language * Fix sort order for Author and Tag listings * Make sidebar toggleable on mobile * Resize "poster" image for blog listings * Crop photos to be square * Add posted date, post tags to blog footer * Add recent posts lists to sidebar * Add syntax highlighting to some missed posts * Fix Hugo build warning * Adjust sidebar styling * Cleanup the /docs page (#1239) * Cleanup /docs/aws layouts to match other docs sections * Cleanup /docs pages - Add left nav - Make /docs page look slightly less like a "homepage" - Add top-level "Get Started" and "Reference" headings to left nav * Add `.btn-secondary` and use it in a few places * Remove unnecessary cursor setting (#1245) Should be using the default here. I was debugging and forgot to switch this back before committing. Signed-off-by: Christian Nunciato <c@nunciato.org> * Update the home page video (#1244) This is a slightly shorter version, with typing sections sped up slightly to better respect our visitors’ time. :smile: Signed-off-by: Christian Nunciato <c@nunciato.org> * API doc styling improvements (#1247) * Update API doc styling for Python Bring back the styles used for our Python API docs, convert to use Tailwind, and make further tweaks to make it look even better. For example, all definitions now look like code blocks and indentation and spacing is used to improve the hierarchy of the content. * Only emit the <h1>.Title</h1> if there is a .Title The generated Python API docs don't currently include front matter and therefore do not have a title. We should fix the Python docs gen to do that, but in the meantime, only emit `<h1>.Title</h1>` if the page has a `.Title`, to avoid an unnecessary gap at the top of the page. * Update _pygments.scss to select .highlight instead of .chroma The syntax highlighted code generated by Hugo looks like: ``` <div class="highlight"> <pre class="chroma"> <code class="language-foo"> ... </code> </pre> </div> ``` And our styles looks like: ``` .chroma .k { ... } .chroma .kc { ... } ... ``` This works good, but our generated Python docs, which uses Pygments to do the syntax highlighting, doesn't use `.chroma`, so it doesn't get any syntax highlighting currently, even though all the Pygments classes are there. This is true for our Node.js docs as well, although, based on how we generate the code for that currently, we could relatively easily update the templates to include a `.chroma` class. In all cases, the code that we want highlighted will have a `.highlight` class surrounding it, so just update our styles to select `.highlight` instead of `.chroma`. ``` .highlight .k { ... } .highlight .kc { ... } ... ``` * Update API doc styling for Node.js * Various mobile adjustments and cleanup (#1250) * Pull the hero and section nav into Tailwind "components" and apply them. * Adjust home-page video dimensions accordingly. * Add mobile x-padding to sections that hadn't gotten it yet. * Add an anchor exclusion to the head for the About page. * Fix mobile layout for the Support page. * Fix centering and item distribution on the About page. * Additional minor mobile-related adjustments as encountered. Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix bug in lang chooser (#1249) If I've previously viewed a page in our docs with the language tabs, such as the Get Started guide, and I click the Python tab, that language choice will be persisted to a cookie. If I then visit our Node.js API docs, the lang chooser will see the saved value of "Python" and try to select that tab, hiding all other language snippets. But our Node.js API docs only contain JavaScript and TypeScript snippets, so the end result is that all snippets are hidden and no tab is selected. This change fixes that. If the value in the cookie does not exist in any of the tabs on the page, fallback to the default (JavaScript), otherwise fallback to the first tab that is available on the page. * More small fixes (#1254) * Make the header more responsive Adds padding to medium and above, and adjusts font size and spacing at medium width in order to accommodate the number of items we’re displaying currently. Also uses the full Pulumi logo, since we have room for that now, and adds a little color to the hamburger. Signed-off-by: Christian Nunciato <c@nunciato.org> * Bottom-align the image on the whitepaper layout Also removes the `header` selector from `_hero.scss` in order to reduce the specificity of the rule, allowing it to be overidden more easily with other Tailwind classnames. Signed-off-by: Christian Nunciato <c@nunciato.org> * Add team@pulumi link to the footer Signed-off-by: Christian Nunciato <c@nunciato.org> * Restore the newsroom and investors sections Somehow these got dropped! :scream: Signed-off-by: Christian Nunciato <c@nunciato.org> * Add hero background glows (#1257) Also deletes unused templates. Signed-off-by: Christian Nunciato <c@nunciato.org> * Hide scrollbars if not needed (#1256) * Improve Pricing page responsiveness, fix a few other small things (#1259) * Fix section link on the Why Pulumi page Signed-off-by: Christian Nunciato <c@nunciato.org> * Capitalize Kubernetes in copy Signed-off-by: Christian Nunciato <c@nunciato.org> * Adjust image sizes on Whitepaper page Properly size them on both mobile and desktop. Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix paging on mobile Decrease padding to prevent overflow. Signed-off-by: Christian Nunciato <c@nunciato.org> * Improve Pricing page layout Signed-off-by: Christian Nunciato <c@nunciato.org> * Replace home page video with carousel (#1260) Signed-off-by: Christian Nunciato <c@nunciato.org> * Change Segment module to WWW (#1265) * Hook up new www.pulumi.com/staging stack to CI/CD (#1262) * Move older 'pulumi.io' stacks to infrastructure-old * Add new 'www.pulumi.com' infrastructure folder * Scripts to hook up to CI/CD * Switch back to using generic Travis worker * Add alias to CDN for staging.pulumi.io * Remove alias to staging.pulumi.io * Do not use named profiles for deployments There's an issue today where named profiles which use `credential_source=Environment` don't actually behave correctly with the assume-role tool. Instead of actually assuming the role, it just uses the credentials in the environment, which is not exactly what you want. For now, explicitly set the ARN we want to assume, instead of indirecting across a named profile. * Remove CloudFront alias entirely * Add hover menu (#1266) Signed-off-by: Christian Nunciato <c@nunciato.org> * Hook up new www.pulumi.com/production stack to CI/CD (#1267) * Hook up new www.pulumi.com/production stack to CI/CD * Correct Makefile syntax * Migrate blog posts as of 7/2 (#1268) * Fix Makefile syntax * Fix spelling error ::sigh::
2019-07-02 16:30:33 -07:00
Let's break that down and see what's really going on here.
1. `make up CLUSTER_SIZE=3` configures the cluster to consist of 3
GREAT WEBSITE MIGRATION OF 2018 (#1269) * Move content into docs/content * Make navigation and doc generation work Signed-off-by: Christian Nunciato <c@nunciato.org> * Make search work Signed-off-by: Christian Nunciato <c@nunciato.org> * Move docs-specific layouts into layouts/docs Signed-off-by: Christian Nunciato <c@nunciato.org> * Move docs partials into layouts/partials/docs Signed-off-by: Christian Nunciato <c@nunciato.org> * Share a common header and footer Signed-off-by: Christian Nunciato <c@nunciato.org> * Add product & pricing pages, modify main nav Signed-off-by: Christian Nunciato <c@nunciato.org> * Bring images under assets, docs images under assets/images/docs Signed-off-by: Christian Nunciato <c@nunciato.org> * Link to the docs home page, fix image ref Signed-off-by: Christian Nunciato <c@nunciato.org> * Add containers, serverless, kubernetes topics Signed-off-by: Christian Nunciato <c@nunciato.org> * Add careers Signed-off-by: Christian Nunciato <c@nunciato.org> * Add compete, compete -> migrate Signed-off-by: Christian Nunciato <c@nunciato.org> * About, contact Signed-off-by: Christian Nunciato <c@nunciato.org> * Add legal Signed-off-by: Christian Nunciato <c@nunciato.org> * Add product Signed-off-by: Christian Nunciato <c@nunciato.org> * Add partner content Signed-off-by: Christian Nunciato <c@nunciato.org> * Add webinar Signed-off-by: Christian Nunciato <c@nunciato.org> * Add why-pulumi Signed-off-by: Christian Nunciato <c@nunciato.org> * Add GitHub redirect, support Signed-off-by: Christian Nunciato <c@nunciato.org> * Add blog * Add blog - update post frontmatter * Update content/_index.md Co-Authored-By: Justin Van Patten <jvp@justinvp.com> * Remove drafts & redundant fonts, move asset dirs up a level Signed-off-by: Christian Nunciato <c@nunciato.org> * Reconcile blog navigation Signed-off-by: Christian Nunciato <c@nunciato.org> * Migrate some blog content (#1147) * Reconcile www, blog and docs footer items (#1141) Signed-off-by: Christian Nunciato <c@nunciato.org> * Clean up blog layout (#1148) * Migrate more blog posts (#1157) * Replace Bootstrap with TailwindCSS * Add Tailwind * Create a config directory under assets, move PostCSS and Tailwind configs into it * Remove Bootstrap Sass and JS referemce * Refactor the header, base template, and footer to use Tailwind * Pull TOC Sass into its own partial Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor the docs home page Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor docs single, list and section layouts Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor quickstart-clouds partial Signed-off-by: Christian Nunciato <c@nunciato.org> * Reposition config items to fix syntax highlighting Signed-off-by: Christian Nunciato <c@nunciato.org> * Replace syntax CSS theme with Monokai Signed-off-by: Christian Nunciato <c@nunciato.org> * Add a dark blue for links Signed-off-by: Christian Nunciato <c@nunciato.org> * Add the beginnings of Sass color settings Signed-off-by: Christian Nunciato <c@nunciato.org> * Add a Sass file for langchoose Signed-off-by: Christian Nunciato <c@nunciato.org> * Give no-select its own Sass also, since it’s a partial Signed-off-by: Christian Nunciato <c@nunciato.org> * Give docs single and list templates more width for main content Signed-off-by: Christian Nunciato <c@nunciato.org> * Add some padding to the TOC, since we don’t have proper gutters yet Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix button on Quickstart home page Signed-off-by: Christian Nunciato <c@nunciato.org> * TOC styles Signed-off-by: Christian Nunciato <c@nunciato.org> * Quickstart clouds Signed-off-by: Christian Nunciato <c@nunciato.org> * Padding to left and right columns Signed-off-by: Christian Nunciato <c@nunciato.org> * Black for TOC Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor docs/aws to use its own layouts Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix the AWS tech partner image Signed-off-by: Christian Nunciato <c@nunciato.org> * Adjust AWS layouts Signed-off-by: Christian Nunciato <c@nunciato.org> * Move docs-home markup into a layout Signed-off-by: Christian Nunciato <c@nunciato.org> * Format the mini-toc Signed-off-by: Christian Nunciato <c@nunciato.org> * Reduce subhead sizes a bit Signed-off-by: Christian Nunciato <c@nunciato.org> * Remove snowflake styles Signed-off-by: Christian Nunciato <c@nunciato.org> * Extract some Sass partials Signed-off-by: Christian Nunciato <c@nunciato.org> * Define initial purple and blue palettes, use numbered colors instead Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor blog templates Signed-off-by: Christian Nunciato <c@nunciato.org> * Make blog summary a partial, style pagination Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix expanded URLs Signed-off-by: Christian Nunciato <c@nunciato.org> * Rename Documentation to Reference Signed-off-by: Christian Nunciato <c@nunciato.org> * A smattering of minor adjustments Signed-off-by: Christian Nunciato <c@nunciato.org> * Selection state for tags Signed-off-by: Christian Nunciato <c@nunciato.org> * Delete more Bootstrap Signed-off-by: Christian Nunciato <c@nunciato.org> * Comment the banner Signed-off-by: Christian Nunciato <c@nunciato.org> * Restore footer links Signed-off-by: Christian Nunciato <c@nunciato.org> * Legal layout Signed-off-by: Christian Nunciato <c@nunciato.org> * Remove unused layout Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor careers page Signed-off-by: Christian Nunciato <c@nunciato.org> * Use top-level URLs for legal docs Signed-off-by: Christian Nunciato <c@nunciato.org> * Add RSS for the blog (#1170) * Add RSS for the blog * Cleanup team data (#1195) * Cleanup team data * Add missing newlines at EOF * Blog content as of 6/16 (#1196) * Blog content layout tweaks * Migrated blog content (as of Sun 6/16) * Address PR feedback, replace links to pulumi.io * Add fusion stack Any changes to the `fusion` branch will now be deployed to https://fusion.pulumi.io/. * Fix broken links * Fix broken images in fusion branch (#1207) Deletes unnecessary uses of `BaseURL`. In a small number of cases, where we want to emit an absolute URL that includes the `BaseURL`, use the `absURL` function instead, which is smart about handling missing/extra slashes. * Integrate www content (#1208) Signed-off-by: Christian Nunciato <c@nunciato.org> * Highlight currently selected section tab (#1216) * Remove unused partials (#1215) These are no longer referenced, so they can be removed. Signed-off-by: Christian Nunciato <c@nunciato.org> * Blog content as of 6/24 (#1218) * Port running-containers-in-aws-the-lowdown-ecs-fargate-and-eks * Port building-and-publishing-docker-images-to-a-private-amazon-ecr-repository * Port happy-birthday-to-pulumi-open-source * Commit updates to package-lock.json * Link cleanups and other fixes * Remove 'wip' tag * Restore meta_* fields, tidy up some frontmatter (#1214) Signed-off-by: Christian Nunciato <c@nunciato.org> * Add search (#1217) Signed-off-by: Christian Nunciato <c@nunciato.org> * Hide `.language-prologue-*` by default (#1212) So they all don't initially flash as being visible before all but the selected language are hidden. Port from `_pulumi.scss`. * Limit team members to those with status “active” (#1219) Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix links to datadog provider * Remove top margin from code snippets under lang tabs (#1223) * Update MBR DNA logo (#1222) * Add links to cloud logos (#1221) And use `logo-aws_white.png` for AWS * Remove unnecessary aliases (#1210) Now that we'll be hosting the docs on a new domain, there's no need to maintain these aliases. The old site hosted at https://pulumi.io will have redirects from the old aliases to the new location on the new site. * Pricing page updates (#1224) * Add swooshes to the home, pricing and webinar pages. * Replace “tech” PNGs for GitHub, GitLab, Atlassian and SAML with SVGs, and add an email SVG, in order to align all of their images in the pricing grid. * Add a “See plan details” link above the pricing grid. * Update Font Awesome to version 5.8.1 (to match what's in use on www today) in order to pull in the infinity icons used in the pricing grid. * Align CTA buttons horizontally in adjacent boxes containing content of varying heights. * Fix duplicate links on the home and product pages. Signed-off-by: Christian Nunciato <c@nunciato.org> * Update API docs (#1227) * Update tsdocgen paths * Updated API docs * Fix broken images (#1228) Remove unnecessary `{{ .Site.BaseURL }}` prefix from image URLs. * Fix Hugo build warning about non-relative ref/relref page reference (#1229) * Fix page titles and errant anchors (#1226) * Prevent anchors on the home page * Fix page titles Signed-off-by: Christian Nunciato <c@nunciato.org> * Add a robots.txt file (#1225) This change adds a robots.txt template authorizing seach-engine indexing for all pages of the production site. It assumes that all non-production builds will override the `baseURL` configuration property with something other than `https://pulumi.com/`. Signed-off-by: Christian Nunciato <c@nunciato.org> * Blog content fixes (#1231) * Correct post dates, titles * Revert to previous tags * Unify tags, adjust for display * Replace short, social summaries with longer ones * Use a fixed height for the utility bar (#1232) When the GitHub widget loads asynchronously and pops into view, it causes the whole page to shift downward a few pixels, because the widget is taller than the links beside it. Applying an explicit hight to the utility bar fixes this. Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix TOC expansion for the tour (#1234) We're very likely going to remove the tour and disperse its content elsewhere, but in the meantime, fix the TOC expansion for "Beyond the Basics" items. * Add syntax highlighing to layout templates (#1238) This change adds a partial for highlighting code snippets in layouts. Signed-off-by: Christian Nunciato <c@nunciato.org> * Add home-page video (#1240) Also makes a few slight adjustments to improve mobile layout on the home page. Signed-off-by: Christian Nunciato <c@nunciato.org> * Blog layout and styling improvements (#1237) * Use explicit code blcoks with language * Fix sort order for Author and Tag listings * Make sidebar toggleable on mobile * Resize "poster" image for blog listings * Crop photos to be square * Add posted date, post tags to blog footer * Add recent posts lists to sidebar * Add syntax highlighting to some missed posts * Fix Hugo build warning * Adjust sidebar styling * Cleanup the /docs page (#1239) * Cleanup /docs/aws layouts to match other docs sections * Cleanup /docs pages - Add left nav - Make /docs page look slightly less like a "homepage" - Add top-level "Get Started" and "Reference" headings to left nav * Add `.btn-secondary` and use it in a few places * Remove unnecessary cursor setting (#1245) Should be using the default here. I was debugging and forgot to switch this back before committing. Signed-off-by: Christian Nunciato <c@nunciato.org> * Update the home page video (#1244) This is a slightly shorter version, with typing sections sped up slightly to better respect our visitors’ time. :smile: Signed-off-by: Christian Nunciato <c@nunciato.org> * API doc styling improvements (#1247) * Update API doc styling for Python Bring back the styles used for our Python API docs, convert to use Tailwind, and make further tweaks to make it look even better. For example, all definitions now look like code blocks and indentation and spacing is used to improve the hierarchy of the content. * Only emit the <h1>.Title</h1> if there is a .Title The generated Python API docs don't currently include front matter and therefore do not have a title. We should fix the Python docs gen to do that, but in the meantime, only emit `<h1>.Title</h1>` if the page has a `.Title`, to avoid an unnecessary gap at the top of the page. * Update _pygments.scss to select .highlight instead of .chroma The syntax highlighted code generated by Hugo looks like: ``` <div class="highlight"> <pre class="chroma"> <code class="language-foo"> ... </code> </pre> </div> ``` And our styles looks like: ``` .chroma .k { ... } .chroma .kc { ... } ... ``` This works good, but our generated Python docs, which uses Pygments to do the syntax highlighting, doesn't use `.chroma`, so it doesn't get any syntax highlighting currently, even though all the Pygments classes are there. This is true for our Node.js docs as well, although, based on how we generate the code for that currently, we could relatively easily update the templates to include a `.chroma` class. In all cases, the code that we want highlighted will have a `.highlight` class surrounding it, so just update our styles to select `.highlight` instead of `.chroma`. ``` .highlight .k { ... } .highlight .kc { ... } ... ``` * Update API doc styling for Node.js * Various mobile adjustments and cleanup (#1250) * Pull the hero and section nav into Tailwind "components" and apply them. * Adjust home-page video dimensions accordingly. * Add mobile x-padding to sections that hadn't gotten it yet. * Add an anchor exclusion to the head for the About page. * Fix mobile layout for the Support page. * Fix centering and item distribution on the About page. * Additional minor mobile-related adjustments as encountered. Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix bug in lang chooser (#1249) If I've previously viewed a page in our docs with the language tabs, such as the Get Started guide, and I click the Python tab, that language choice will be persisted to a cookie. If I then visit our Node.js API docs, the lang chooser will see the saved value of "Python" and try to select that tab, hiding all other language snippets. But our Node.js API docs only contain JavaScript and TypeScript snippets, so the end result is that all snippets are hidden and no tab is selected. This change fixes that. If the value in the cookie does not exist in any of the tabs on the page, fallback to the default (JavaScript), otherwise fallback to the first tab that is available on the page. * More small fixes (#1254) * Make the header more responsive Adds padding to medium and above, and adjusts font size and spacing at medium width in order to accommodate the number of items we’re displaying currently. Also uses the full Pulumi logo, since we have room for that now, and adds a little color to the hamburger. Signed-off-by: Christian Nunciato <c@nunciato.org> * Bottom-align the image on the whitepaper layout Also removes the `header` selector from `_hero.scss` in order to reduce the specificity of the rule, allowing it to be overidden more easily with other Tailwind classnames. Signed-off-by: Christian Nunciato <c@nunciato.org> * Add team@pulumi link to the footer Signed-off-by: Christian Nunciato <c@nunciato.org> * Restore the newsroom and investors sections Somehow these got dropped! :scream: Signed-off-by: Christian Nunciato <c@nunciato.org> * Add hero background glows (#1257) Also deletes unused templates. Signed-off-by: Christian Nunciato <c@nunciato.org> * Hide scrollbars if not needed (#1256) * Improve Pricing page responsiveness, fix a few other small things (#1259) * Fix section link on the Why Pulumi page Signed-off-by: Christian Nunciato <c@nunciato.org> * Capitalize Kubernetes in copy Signed-off-by: Christian Nunciato <c@nunciato.org> * Adjust image sizes on Whitepaper page Properly size them on both mobile and desktop. Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix paging on mobile Decrease padding to prevent overflow. Signed-off-by: Christian Nunciato <c@nunciato.org> * Improve Pricing page layout Signed-off-by: Christian Nunciato <c@nunciato.org> * Replace home page video with carousel (#1260) Signed-off-by: Christian Nunciato <c@nunciato.org> * Change Segment module to WWW (#1265) * Hook up new www.pulumi.com/staging stack to CI/CD (#1262) * Move older 'pulumi.io' stacks to infrastructure-old * Add new 'www.pulumi.com' infrastructure folder * Scripts to hook up to CI/CD * Switch back to using generic Travis worker * Add alias to CDN for staging.pulumi.io * Remove alias to staging.pulumi.io * Do not use named profiles for deployments There's an issue today where named profiles which use `credential_source=Environment` don't actually behave correctly with the assume-role tool. Instead of actually assuming the role, it just uses the credentials in the environment, which is not exactly what you want. For now, explicitly set the ARN we want to assume, instead of indirecting across a named profile. * Remove CloudFront alias entirely * Add hover menu (#1266) Signed-off-by: Christian Nunciato <c@nunciato.org> * Hook up new www.pulumi.com/production stack to CI/CD (#1267) * Hook up new www.pulumi.com/production stack to CI/CD * Correct Makefile syntax * Migrate blog posts as of 7/2 (#1268) * Fix Makefile syntax * Fix spelling error ::sigh::
2019-07-02 16:30:33 -07:00
machines, and delegates to `pulumi up` the actual business of spinning
up the infrastructure. Our physical cluster will contain 3 nodes for
2022-05-19 19:04:04 -07:00
processing, and one extra metrics_host node for hosting our Metrics
UI, and collecting results.
GREAT WEBSITE MIGRATION OF 2018 (#1269) * Move content into docs/content * Make navigation and doc generation work Signed-off-by: Christian Nunciato <c@nunciato.org> * Make search work Signed-off-by: Christian Nunciato <c@nunciato.org> * Move docs-specific layouts into layouts/docs Signed-off-by: Christian Nunciato <c@nunciato.org> * Move docs partials into layouts/partials/docs Signed-off-by: Christian Nunciato <c@nunciato.org> * Share a common header and footer Signed-off-by: Christian Nunciato <c@nunciato.org> * Add product & pricing pages, modify main nav Signed-off-by: Christian Nunciato <c@nunciato.org> * Bring images under assets, docs images under assets/images/docs Signed-off-by: Christian Nunciato <c@nunciato.org> * Link to the docs home page, fix image ref Signed-off-by: Christian Nunciato <c@nunciato.org> * Add containers, serverless, kubernetes topics Signed-off-by: Christian Nunciato <c@nunciato.org> * Add careers Signed-off-by: Christian Nunciato <c@nunciato.org> * Add compete, compete -> migrate Signed-off-by: Christian Nunciato <c@nunciato.org> * About, contact Signed-off-by: Christian Nunciato <c@nunciato.org> * Add legal Signed-off-by: Christian Nunciato <c@nunciato.org> * Add product Signed-off-by: Christian Nunciato <c@nunciato.org> * Add partner content Signed-off-by: Christian Nunciato <c@nunciato.org> * Add webinar Signed-off-by: Christian Nunciato <c@nunciato.org> * Add why-pulumi Signed-off-by: Christian Nunciato <c@nunciato.org> * Add GitHub redirect, support Signed-off-by: Christian Nunciato <c@nunciato.org> * Add blog * Add blog - update post frontmatter * Update content/_index.md Co-Authored-By: Justin Van Patten <jvp@justinvp.com> * Remove drafts & redundant fonts, move asset dirs up a level Signed-off-by: Christian Nunciato <c@nunciato.org> * Reconcile blog navigation Signed-off-by: Christian Nunciato <c@nunciato.org> * Migrate some blog content (#1147) * Reconcile www, blog and docs footer items (#1141) Signed-off-by: Christian Nunciato <c@nunciato.org> * Clean up blog layout (#1148) * Migrate more blog posts (#1157) * Replace Bootstrap with TailwindCSS * Add Tailwind * Create a config directory under assets, move PostCSS and Tailwind configs into it * Remove Bootstrap Sass and JS referemce * Refactor the header, base template, and footer to use Tailwind * Pull TOC Sass into its own partial Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor the docs home page Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor docs single, list and section layouts Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor quickstart-clouds partial Signed-off-by: Christian Nunciato <c@nunciato.org> * Reposition config items to fix syntax highlighting Signed-off-by: Christian Nunciato <c@nunciato.org> * Replace syntax CSS theme with Monokai Signed-off-by: Christian Nunciato <c@nunciato.org> * Add a dark blue for links Signed-off-by: Christian Nunciato <c@nunciato.org> * Add the beginnings of Sass color settings Signed-off-by: Christian Nunciato <c@nunciato.org> * Add a Sass file for langchoose Signed-off-by: Christian Nunciato <c@nunciato.org> * Give no-select its own Sass also, since it’s a partial Signed-off-by: Christian Nunciato <c@nunciato.org> * Give docs single and list templates more width for main content Signed-off-by: Christian Nunciato <c@nunciato.org> * Add some padding to the TOC, since we don’t have proper gutters yet Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix button on Quickstart home page Signed-off-by: Christian Nunciato <c@nunciato.org> * TOC styles Signed-off-by: Christian Nunciato <c@nunciato.org> * Quickstart clouds Signed-off-by: Christian Nunciato <c@nunciato.org> * Padding to left and right columns Signed-off-by: Christian Nunciato <c@nunciato.org> * Black for TOC Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor docs/aws to use its own layouts Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix the AWS tech partner image Signed-off-by: Christian Nunciato <c@nunciato.org> * Adjust AWS layouts Signed-off-by: Christian Nunciato <c@nunciato.org> * Move docs-home markup into a layout Signed-off-by: Christian Nunciato <c@nunciato.org> * Format the mini-toc Signed-off-by: Christian Nunciato <c@nunciato.org> * Reduce subhead sizes a bit Signed-off-by: Christian Nunciato <c@nunciato.org> * Remove snowflake styles Signed-off-by: Christian Nunciato <c@nunciato.org> * Extract some Sass partials Signed-off-by: Christian Nunciato <c@nunciato.org> * Define initial purple and blue palettes, use numbered colors instead Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor blog templates Signed-off-by: Christian Nunciato <c@nunciato.org> * Make blog summary a partial, style pagination Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix expanded URLs Signed-off-by: Christian Nunciato <c@nunciato.org> * Rename Documentation to Reference Signed-off-by: Christian Nunciato <c@nunciato.org> * A smattering of minor adjustments Signed-off-by: Christian Nunciato <c@nunciato.org> * Selection state for tags Signed-off-by: Christian Nunciato <c@nunciato.org> * Delete more Bootstrap Signed-off-by: Christian Nunciato <c@nunciato.org> * Comment the banner Signed-off-by: Christian Nunciato <c@nunciato.org> * Restore footer links Signed-off-by: Christian Nunciato <c@nunciato.org> * Legal layout Signed-off-by: Christian Nunciato <c@nunciato.org> * Remove unused layout Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor careers page Signed-off-by: Christian Nunciato <c@nunciato.org> * Use top-level URLs for legal docs Signed-off-by: Christian Nunciato <c@nunciato.org> * Add RSS for the blog (#1170) * Add RSS for the blog * Cleanup team data (#1195) * Cleanup team data * Add missing newlines at EOF * Blog content as of 6/16 (#1196) * Blog content layout tweaks * Migrated blog content (as of Sun 6/16) * Address PR feedback, replace links to pulumi.io * Add fusion stack Any changes to the `fusion` branch will now be deployed to https://fusion.pulumi.io/. * Fix broken links * Fix broken images in fusion branch (#1207) Deletes unnecessary uses of `BaseURL`. In a small number of cases, where we want to emit an absolute URL that includes the `BaseURL`, use the `absURL` function instead, which is smart about handling missing/extra slashes. * Integrate www content (#1208) Signed-off-by: Christian Nunciato <c@nunciato.org> * Highlight currently selected section tab (#1216) * Remove unused partials (#1215) These are no longer referenced, so they can be removed. Signed-off-by: Christian Nunciato <c@nunciato.org> * Blog content as of 6/24 (#1218) * Port running-containers-in-aws-the-lowdown-ecs-fargate-and-eks * Port building-and-publishing-docker-images-to-a-private-amazon-ecr-repository * Port happy-birthday-to-pulumi-open-source * Commit updates to package-lock.json * Link cleanups and other fixes * Remove 'wip' tag * Restore meta_* fields, tidy up some frontmatter (#1214) Signed-off-by: Christian Nunciato <c@nunciato.org> * Add search (#1217) Signed-off-by: Christian Nunciato <c@nunciato.org> * Hide `.language-prologue-*` by default (#1212) So they all don't initially flash as being visible before all but the selected language are hidden. Port from `_pulumi.scss`. * Limit team members to those with status “active” (#1219) Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix links to datadog provider * Remove top margin from code snippets under lang tabs (#1223) * Update MBR DNA logo (#1222) * Add links to cloud logos (#1221) And use `logo-aws_white.png` for AWS * Remove unnecessary aliases (#1210) Now that we'll be hosting the docs on a new domain, there's no need to maintain these aliases. The old site hosted at https://pulumi.io will have redirects from the old aliases to the new location on the new site. * Pricing page updates (#1224) * Add swooshes to the home, pricing and webinar pages. * Replace “tech” PNGs for GitHub, GitLab, Atlassian and SAML with SVGs, and add an email SVG, in order to align all of their images in the pricing grid. * Add a “See plan details” link above the pricing grid. * Update Font Awesome to version 5.8.1 (to match what's in use on www today) in order to pull in the infinity icons used in the pricing grid. * Align CTA buttons horizontally in adjacent boxes containing content of varying heights. * Fix duplicate links on the home and product pages. Signed-off-by: Christian Nunciato <c@nunciato.org> * Update API docs (#1227) * Update tsdocgen paths * Updated API docs * Fix broken images (#1228) Remove unnecessary `{{ .Site.BaseURL }}` prefix from image URLs. * Fix Hugo build warning about non-relative ref/relref page reference (#1229) * Fix page titles and errant anchors (#1226) * Prevent anchors on the home page * Fix page titles Signed-off-by: Christian Nunciato <c@nunciato.org> * Add a robots.txt file (#1225) This change adds a robots.txt template authorizing seach-engine indexing for all pages of the production site. It assumes that all non-production builds will override the `baseURL` configuration property with something other than `https://pulumi.com/`. Signed-off-by: Christian Nunciato <c@nunciato.org> * Blog content fixes (#1231) * Correct post dates, titles * Revert to previous tags * Unify tags, adjust for display * Replace short, social summaries with longer ones * Use a fixed height for the utility bar (#1232) When the GitHub widget loads asynchronously and pops into view, it causes the whole page to shift downward a few pixels, because the widget is taller than the links beside it. Applying an explicit hight to the utility bar fixes this. Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix TOC expansion for the tour (#1234) We're very likely going to remove the tour and disperse its content elsewhere, but in the meantime, fix the TOC expansion for "Beyond the Basics" items. * Add syntax highlighing to layout templates (#1238) This change adds a partial for highlighting code snippets in layouts. Signed-off-by: Christian Nunciato <c@nunciato.org> * Add home-page video (#1240) Also makes a few slight adjustments to improve mobile layout on the home page. Signed-off-by: Christian Nunciato <c@nunciato.org> * Blog layout and styling improvements (#1237) * Use explicit code blcoks with language * Fix sort order for Author and Tag listings * Make sidebar toggleable on mobile * Resize "poster" image for blog listings * Crop photos to be square * Add posted date, post tags to blog footer * Add recent posts lists to sidebar * Add syntax highlighting to some missed posts * Fix Hugo build warning * Adjust sidebar styling * Cleanup the /docs page (#1239) * Cleanup /docs/aws layouts to match other docs sections * Cleanup /docs pages - Add left nav - Make /docs page look slightly less like a "homepage" - Add top-level "Get Started" and "Reference" headings to left nav * Add `.btn-secondary` and use it in a few places * Remove unnecessary cursor setting (#1245) Should be using the default here. I was debugging and forgot to switch this back before committing. Signed-off-by: Christian Nunciato <c@nunciato.org> * Update the home page video (#1244) This is a slightly shorter version, with typing sections sped up slightly to better respect our visitors’ time. :smile: Signed-off-by: Christian Nunciato <c@nunciato.org> * API doc styling improvements (#1247) * Update API doc styling for Python Bring back the styles used for our Python API docs, convert to use Tailwind, and make further tweaks to make it look even better. For example, all definitions now look like code blocks and indentation and spacing is used to improve the hierarchy of the content. * Only emit the <h1>.Title</h1> if there is a .Title The generated Python API docs don't currently include front matter and therefore do not have a title. We should fix the Python docs gen to do that, but in the meantime, only emit `<h1>.Title</h1>` if the page has a `.Title`, to avoid an unnecessary gap at the top of the page. * Update _pygments.scss to select .highlight instead of .chroma The syntax highlighted code generated by Hugo looks like: ``` <div class="highlight"> <pre class="chroma"> <code class="language-foo"> ... </code> </pre> </div> ``` And our styles looks like: ``` .chroma .k { ... } .chroma .kc { ... } ... ``` This works good, but our generated Python docs, which uses Pygments to do the syntax highlighting, doesn't use `.chroma`, so it doesn't get any syntax highlighting currently, even though all the Pygments classes are there. This is true for our Node.js docs as well, although, based on how we generate the code for that currently, we could relatively easily update the templates to include a `.chroma` class. In all cases, the code that we want highlighted will have a `.highlight` class surrounding it, so just update our styles to select `.highlight` instead of `.chroma`. ``` .highlight .k { ... } .highlight .kc { ... } ... ``` * Update API doc styling for Node.js * Various mobile adjustments and cleanup (#1250) * Pull the hero and section nav into Tailwind "components" and apply them. * Adjust home-page video dimensions accordingly. * Add mobile x-padding to sections that hadn't gotten it yet. * Add an anchor exclusion to the head for the About page. * Fix mobile layout for the Support page. * Fix centering and item distribution on the About page. * Additional minor mobile-related adjustments as encountered. Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix bug in lang chooser (#1249) If I've previously viewed a page in our docs with the language tabs, such as the Get Started guide, and I click the Python tab, that language choice will be persisted to a cookie. If I then visit our Node.js API docs, the lang chooser will see the saved value of "Python" and try to select that tab, hiding all other language snippets. But our Node.js API docs only contain JavaScript and TypeScript snippets, so the end result is that all snippets are hidden and no tab is selected. This change fixes that. If the value in the cookie does not exist in any of the tabs on the page, fallback to the default (JavaScript), otherwise fallback to the first tab that is available on the page. * More small fixes (#1254) * Make the header more responsive Adds padding to medium and above, and adjusts font size and spacing at medium width in order to accommodate the number of items we’re displaying currently. Also uses the full Pulumi logo, since we have room for that now, and adds a little color to the hamburger. Signed-off-by: Christian Nunciato <c@nunciato.org> * Bottom-align the image on the whitepaper layout Also removes the `header` selector from `_hero.scss` in order to reduce the specificity of the rule, allowing it to be overidden more easily with other Tailwind classnames. Signed-off-by: Christian Nunciato <c@nunciato.org> * Add team@pulumi link to the footer Signed-off-by: Christian Nunciato <c@nunciato.org> * Restore the newsroom and investors sections Somehow these got dropped! :scream: Signed-off-by: Christian Nunciato <c@nunciato.org> * Add hero background glows (#1257) Also deletes unused templates. Signed-off-by: Christian Nunciato <c@nunciato.org> * Hide scrollbars if not needed (#1256) * Improve Pricing page responsiveness, fix a few other small things (#1259) * Fix section link on the Why Pulumi page Signed-off-by: Christian Nunciato <c@nunciato.org> * Capitalize Kubernetes in copy Signed-off-by: Christian Nunciato <c@nunciato.org> * Adjust image sizes on Whitepaper page Properly size them on both mobile and desktop. Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix paging on mobile Decrease padding to prevent overflow. Signed-off-by: Christian Nunciato <c@nunciato.org> * Improve Pricing page layout Signed-off-by: Christian Nunciato <c@nunciato.org> * Replace home page video with carousel (#1260) Signed-off-by: Christian Nunciato <c@nunciato.org> * Change Segment module to WWW (#1265) * Hook up new www.pulumi.com/staging stack to CI/CD (#1262) * Move older 'pulumi.io' stacks to infrastructure-old * Add new 'www.pulumi.com' infrastructure folder * Scripts to hook up to CI/CD * Switch back to using generic Travis worker * Add alias to CDN for staging.pulumi.io * Remove alias to staging.pulumi.io * Do not use named profiles for deployments There's an issue today where named profiles which use `credential_source=Environment` don't actually behave correctly with the assume-role tool. Instead of actually assuming the role, it just uses the credentials in the environment, which is not exactly what you want. For now, explicitly set the ARN we want to assume, instead of indirecting across a named profile. * Remove CloudFront alias entirely * Add hover menu (#1266) Signed-off-by: Christian Nunciato <c@nunciato.org> * Hook up new www.pulumi.com/production stack to CI/CD (#1267) * Hook up new www.pulumi.com/production stack to CI/CD * Correct Makefile syntax * Migrate blog posts as of 7/2 (#1268) * Fix Makefile syntax * Fix spelling error ::sigh::
2019-07-02 16:30:33 -07:00
2. Once provisioning is complete, the next make
GREAT WEBSITE MIGRATION OF 2018 (#1269) * Move content into docs/content * Make navigation and doc generation work Signed-off-by: Christian Nunciato <c@nunciato.org> * Make search work Signed-off-by: Christian Nunciato <c@nunciato.org> * Move docs-specific layouts into layouts/docs Signed-off-by: Christian Nunciato <c@nunciato.org> * Move docs partials into layouts/partials/docs Signed-off-by: Christian Nunciato <c@nunciato.org> * Share a common header and footer Signed-off-by: Christian Nunciato <c@nunciato.org> * Add product & pricing pages, modify main nav Signed-off-by: Christian Nunciato <c@nunciato.org> * Bring images under assets, docs images under assets/images/docs Signed-off-by: Christian Nunciato <c@nunciato.org> * Link to the docs home page, fix image ref Signed-off-by: Christian Nunciato <c@nunciato.org> * Add containers, serverless, kubernetes topics Signed-off-by: Christian Nunciato <c@nunciato.org> * Add careers Signed-off-by: Christian Nunciato <c@nunciato.org> * Add compete, compete -> migrate Signed-off-by: Christian Nunciato <c@nunciato.org> * About, contact Signed-off-by: Christian Nunciato <c@nunciato.org> * Add legal Signed-off-by: Christian Nunciato <c@nunciato.org> * Add product Signed-off-by: Christian Nunciato <c@nunciato.org> * Add partner content Signed-off-by: Christian Nunciato <c@nunciato.org> * Add webinar Signed-off-by: Christian Nunciato <c@nunciato.org> * Add why-pulumi Signed-off-by: Christian Nunciato <c@nunciato.org> * Add GitHub redirect, support Signed-off-by: Christian Nunciato <c@nunciato.org> * Add blog * Add blog - update post frontmatter * Update content/_index.md Co-Authored-By: Justin Van Patten <jvp@justinvp.com> * Remove drafts & redundant fonts, move asset dirs up a level Signed-off-by: Christian Nunciato <c@nunciato.org> * Reconcile blog navigation Signed-off-by: Christian Nunciato <c@nunciato.org> * Migrate some blog content (#1147) * Reconcile www, blog and docs footer items (#1141) Signed-off-by: Christian Nunciato <c@nunciato.org> * Clean up blog layout (#1148) * Migrate more blog posts (#1157) * Replace Bootstrap with TailwindCSS * Add Tailwind * Create a config directory under assets, move PostCSS and Tailwind configs into it * Remove Bootstrap Sass and JS referemce * Refactor the header, base template, and footer to use Tailwind * Pull TOC Sass into its own partial Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor the docs home page Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor docs single, list and section layouts Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor quickstart-clouds partial Signed-off-by: Christian Nunciato <c@nunciato.org> * Reposition config items to fix syntax highlighting Signed-off-by: Christian Nunciato <c@nunciato.org> * Replace syntax CSS theme with Monokai Signed-off-by: Christian Nunciato <c@nunciato.org> * Add a dark blue for links Signed-off-by: Christian Nunciato <c@nunciato.org> * Add the beginnings of Sass color settings Signed-off-by: Christian Nunciato <c@nunciato.org> * Add a Sass file for langchoose Signed-off-by: Christian Nunciato <c@nunciato.org> * Give no-select its own Sass also, since it’s a partial Signed-off-by: Christian Nunciato <c@nunciato.org> * Give docs single and list templates more width for main content Signed-off-by: Christian Nunciato <c@nunciato.org> * Add some padding to the TOC, since we don’t have proper gutters yet Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix button on Quickstart home page Signed-off-by: Christian Nunciato <c@nunciato.org> * TOC styles Signed-off-by: Christian Nunciato <c@nunciato.org> * Quickstart clouds Signed-off-by: Christian Nunciato <c@nunciato.org> * Padding to left and right columns Signed-off-by: Christian Nunciato <c@nunciato.org> * Black for TOC Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor docs/aws to use its own layouts Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix the AWS tech partner image Signed-off-by: Christian Nunciato <c@nunciato.org> * Adjust AWS layouts Signed-off-by: Christian Nunciato <c@nunciato.org> * Move docs-home markup into a layout Signed-off-by: Christian Nunciato <c@nunciato.org> * Format the mini-toc Signed-off-by: Christian Nunciato <c@nunciato.org> * Reduce subhead sizes a bit Signed-off-by: Christian Nunciato <c@nunciato.org> * Remove snowflake styles Signed-off-by: Christian Nunciato <c@nunciato.org> * Extract some Sass partials Signed-off-by: Christian Nunciato <c@nunciato.org> * Define initial purple and blue palettes, use numbered colors instead Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor blog templates Signed-off-by: Christian Nunciato <c@nunciato.org> * Make blog summary a partial, style pagination Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix expanded URLs Signed-off-by: Christian Nunciato <c@nunciato.org> * Rename Documentation to Reference Signed-off-by: Christian Nunciato <c@nunciato.org> * A smattering of minor adjustments Signed-off-by: Christian Nunciato <c@nunciato.org> * Selection state for tags Signed-off-by: Christian Nunciato <c@nunciato.org> * Delete more Bootstrap Signed-off-by: Christian Nunciato <c@nunciato.org> * Comment the banner Signed-off-by: Christian Nunciato <c@nunciato.org> * Restore footer links Signed-off-by: Christian Nunciato <c@nunciato.org> * Legal layout Signed-off-by: Christian Nunciato <c@nunciato.org> * Remove unused layout Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor careers page Signed-off-by: Christian Nunciato <c@nunciato.org> * Use top-level URLs for legal docs Signed-off-by: Christian Nunciato <c@nunciato.org> * Add RSS for the blog (#1170) * Add RSS for the blog * Cleanup team data (#1195) * Cleanup team data * Add missing newlines at EOF * Blog content as of 6/16 (#1196) * Blog content layout tweaks * Migrated blog content (as of Sun 6/16) * Address PR feedback, replace links to pulumi.io * Add fusion stack Any changes to the `fusion` branch will now be deployed to https://fusion.pulumi.io/. * Fix broken links * Fix broken images in fusion branch (#1207) Deletes unnecessary uses of `BaseURL`. In a small number of cases, where we want to emit an absolute URL that includes the `BaseURL`, use the `absURL` function instead, which is smart about handling missing/extra slashes. * Integrate www content (#1208) Signed-off-by: Christian Nunciato <c@nunciato.org> * Highlight currently selected section tab (#1216) * Remove unused partials (#1215) These are no longer referenced, so they can be removed. Signed-off-by: Christian Nunciato <c@nunciato.org> * Blog content as of 6/24 (#1218) * Port running-containers-in-aws-the-lowdown-ecs-fargate-and-eks * Port building-and-publishing-docker-images-to-a-private-amazon-ecr-repository * Port happy-birthday-to-pulumi-open-source * Commit updates to package-lock.json * Link cleanups and other fixes * Remove 'wip' tag * Restore meta_* fields, tidy up some frontmatter (#1214) Signed-off-by: Christian Nunciato <c@nunciato.org> * Add search (#1217) Signed-off-by: Christian Nunciato <c@nunciato.org> * Hide `.language-prologue-*` by default (#1212) So they all don't initially flash as being visible before all but the selected language are hidden. Port from `_pulumi.scss`. * Limit team members to those with status “active” (#1219) Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix links to datadog provider * Remove top margin from code snippets under lang tabs (#1223) * Update MBR DNA logo (#1222) * Add links to cloud logos (#1221) And use `logo-aws_white.png` for AWS * Remove unnecessary aliases (#1210) Now that we'll be hosting the docs on a new domain, there's no need to maintain these aliases. The old site hosted at https://pulumi.io will have redirects from the old aliases to the new location on the new site. * Pricing page updates (#1224) * Add swooshes to the home, pricing and webinar pages. * Replace “tech” PNGs for GitHub, GitLab, Atlassian and SAML with SVGs, and add an email SVG, in order to align all of their images in the pricing grid. * Add a “See plan details” link above the pricing grid. * Update Font Awesome to version 5.8.1 (to match what's in use on www today) in order to pull in the infinity icons used in the pricing grid. * Align CTA buttons horizontally in adjacent boxes containing content of varying heights. * Fix duplicate links on the home and product pages. Signed-off-by: Christian Nunciato <c@nunciato.org> * Update API docs (#1227) * Update tsdocgen paths * Updated API docs * Fix broken images (#1228) Remove unnecessary `{{ .Site.BaseURL }}` prefix from image URLs. * Fix Hugo build warning about non-relative ref/relref page reference (#1229) * Fix page titles and errant anchors (#1226) * Prevent anchors on the home page * Fix page titles Signed-off-by: Christian Nunciato <c@nunciato.org> * Add a robots.txt file (#1225) This change adds a robots.txt template authorizing seach-engine indexing for all pages of the production site. It assumes that all non-production builds will override the `baseURL` configuration property with something other than `https://pulumi.com/`. Signed-off-by: Christian Nunciato <c@nunciato.org> * Blog content fixes (#1231) * Correct post dates, titles * Revert to previous tags * Unify tags, adjust for display * Replace short, social summaries with longer ones * Use a fixed height for the utility bar (#1232) When the GitHub widget loads asynchronously and pops into view, it causes the whole page to shift downward a few pixels, because the widget is taller than the links beside it. Applying an explicit hight to the utility bar fixes this. Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix TOC expansion for the tour (#1234) We're very likely going to remove the tour and disperse its content elsewhere, but in the meantime, fix the TOC expansion for "Beyond the Basics" items. * Add syntax highlighing to layout templates (#1238) This change adds a partial for highlighting code snippets in layouts. Signed-off-by: Christian Nunciato <c@nunciato.org> * Add home-page video (#1240) Also makes a few slight adjustments to improve mobile layout on the home page. Signed-off-by: Christian Nunciato <c@nunciato.org> * Blog layout and styling improvements (#1237) * Use explicit code blcoks with language * Fix sort order for Author and Tag listings * Make sidebar toggleable on mobile * Resize "poster" image for blog listings * Crop photos to be square * Add posted date, post tags to blog footer * Add recent posts lists to sidebar * Add syntax highlighting to some missed posts * Fix Hugo build warning * Adjust sidebar styling * Cleanup the /docs page (#1239) * Cleanup /docs/aws layouts to match other docs sections * Cleanup /docs pages - Add left nav - Make /docs page look slightly less like a "homepage" - Add top-level "Get Started" and "Reference" headings to left nav * Add `.btn-secondary` and use it in a few places * Remove unnecessary cursor setting (#1245) Should be using the default here. I was debugging and forgot to switch this back before committing. Signed-off-by: Christian Nunciato <c@nunciato.org> * Update the home page video (#1244) This is a slightly shorter version, with typing sections sped up slightly to better respect our visitors’ time. :smile: Signed-off-by: Christian Nunciato <c@nunciato.org> * API doc styling improvements (#1247) * Update API doc styling for Python Bring back the styles used for our Python API docs, convert to use Tailwind, and make further tweaks to make it look even better. For example, all definitions now look like code blocks and indentation and spacing is used to improve the hierarchy of the content. * Only emit the <h1>.Title</h1> if there is a .Title The generated Python API docs don't currently include front matter and therefore do not have a title. We should fix the Python docs gen to do that, but in the meantime, only emit `<h1>.Title</h1>` if the page has a `.Title`, to avoid an unnecessary gap at the top of the page. * Update _pygments.scss to select .highlight instead of .chroma The syntax highlighted code generated by Hugo looks like: ``` <div class="highlight"> <pre class="chroma"> <code class="language-foo"> ... </code> </pre> </div> ``` And our styles looks like: ``` .chroma .k { ... } .chroma .kc { ... } ... ``` This works good, but our generated Python docs, which uses Pygments to do the syntax highlighting, doesn't use `.chroma`, so it doesn't get any syntax highlighting currently, even though all the Pygments classes are there. This is true for our Node.js docs as well, although, based on how we generate the code for that currently, we could relatively easily update the templates to include a `.chroma` class. In all cases, the code that we want highlighted will have a `.highlight` class surrounding it, so just update our styles to select `.highlight` instead of `.chroma`. ``` .highlight .k { ... } .highlight .kc { ... } ... ``` * Update API doc styling for Node.js * Various mobile adjustments and cleanup (#1250) * Pull the hero and section nav into Tailwind "components" and apply them. * Adjust home-page video dimensions accordingly. * Add mobile x-padding to sections that hadn't gotten it yet. * Add an anchor exclusion to the head for the About page. * Fix mobile layout for the Support page. * Fix centering and item distribution on the About page. * Additional minor mobile-related adjustments as encountered. Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix bug in lang chooser (#1249) If I've previously viewed a page in our docs with the language tabs, such as the Get Started guide, and I click the Python tab, that language choice will be persisted to a cookie. If I then visit our Node.js API docs, the lang chooser will see the saved value of "Python" and try to select that tab, hiding all other language snippets. But our Node.js API docs only contain JavaScript and TypeScript snippets, so the end result is that all snippets are hidden and no tab is selected. This change fixes that. If the value in the cookie does not exist in any of the tabs on the page, fallback to the default (JavaScript), otherwise fallback to the first tab that is available on the page. * More small fixes (#1254) * Make the header more responsive Adds padding to medium and above, and adjusts font size and spacing at medium width in order to accommodate the number of items we’re displaying currently. Also uses the full Pulumi logo, since we have room for that now, and adds a little color to the hamburger. Signed-off-by: Christian Nunciato <c@nunciato.org> * Bottom-align the image on the whitepaper layout Also removes the `header` selector from `_hero.scss` in order to reduce the specificity of the rule, allowing it to be overidden more easily with other Tailwind classnames. Signed-off-by: Christian Nunciato <c@nunciato.org> * Add team@pulumi link to the footer Signed-off-by: Christian Nunciato <c@nunciato.org> * Restore the newsroom and investors sections Somehow these got dropped! :scream: Signed-off-by: Christian Nunciato <c@nunciato.org> * Add hero background glows (#1257) Also deletes unused templates. Signed-off-by: Christian Nunciato <c@nunciato.org> * Hide scrollbars if not needed (#1256) * Improve Pricing page responsiveness, fix a few other small things (#1259) * Fix section link on the Why Pulumi page Signed-off-by: Christian Nunciato <c@nunciato.org> * Capitalize Kubernetes in copy Signed-off-by: Christian Nunciato <c@nunciato.org> * Adjust image sizes on Whitepaper page Properly size them on both mobile and desktop. Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix paging on mobile Decrease padding to prevent overflow. Signed-off-by: Christian Nunciato <c@nunciato.org> * Improve Pricing page layout Signed-off-by: Christian Nunciato <c@nunciato.org> * Replace home page video with carousel (#1260) Signed-off-by: Christian Nunciato <c@nunciato.org> * Change Segment module to WWW (#1265) * Hook up new www.pulumi.com/staging stack to CI/CD (#1262) * Move older 'pulumi.io' stacks to infrastructure-old * Add new 'www.pulumi.com' infrastructure folder * Scripts to hook up to CI/CD * Switch back to using generic Travis worker * Add alias to CDN for staging.pulumi.io * Remove alias to staging.pulumi.io * Do not use named profiles for deployments There's an issue today where named profiles which use `credential_source=Environment` don't actually behave correctly with the assume-role tool. Instead of actually assuming the role, it just uses the credentials in the environment, which is not exactly what you want. For now, explicitly set the ARN we want to assume, instead of indirecting across a named profile. * Remove CloudFront alias entirely * Add hover menu (#1266) Signed-off-by: Christian Nunciato <c@nunciato.org> * Hook up new www.pulumi.com/production stack to CI/CD (#1267) * Hook up new www.pulumi.com/production stack to CI/CD * Correct Makefile syntax * Migrate blog posts as of 7/2 (#1268) * Fix Makefile syntax * Fix spelling error ::sigh::
2019-07-02 16:30:33 -07:00
task: `run-cluster INPUT_LINES=1000000` uses our Ansible playbooks to
upload application code from `classifier/*` to all 3 machines
provisioned above, and then start up a Wallaroo cluster with 7 worker
processes per machine.
3. Next, Ansible starts sending 1 million lines of our
GREAT WEBSITE MIGRATION OF 2018 (#1269) * Move content into docs/content * Make navigation and doc generation work Signed-off-by: Christian Nunciato <c@nunciato.org> * Make search work Signed-off-by: Christian Nunciato <c@nunciato.org> * Move docs-specific layouts into layouts/docs Signed-off-by: Christian Nunciato <c@nunciato.org> * Move docs partials into layouts/partials/docs Signed-off-by: Christian Nunciato <c@nunciato.org> * Share a common header and footer Signed-off-by: Christian Nunciato <c@nunciato.org> * Add product & pricing pages, modify main nav Signed-off-by: Christian Nunciato <c@nunciato.org> * Bring images under assets, docs images under assets/images/docs Signed-off-by: Christian Nunciato <c@nunciato.org> * Link to the docs home page, fix image ref Signed-off-by: Christian Nunciato <c@nunciato.org> * Add containers, serverless, kubernetes topics Signed-off-by: Christian Nunciato <c@nunciato.org> * Add careers Signed-off-by: Christian Nunciato <c@nunciato.org> * Add compete, compete -> migrate Signed-off-by: Christian Nunciato <c@nunciato.org> * About, contact Signed-off-by: Christian Nunciato <c@nunciato.org> * Add legal Signed-off-by: Christian Nunciato <c@nunciato.org> * Add product Signed-off-by: Christian Nunciato <c@nunciato.org> * Add partner content Signed-off-by: Christian Nunciato <c@nunciato.org> * Add webinar Signed-off-by: Christian Nunciato <c@nunciato.org> * Add why-pulumi Signed-off-by: Christian Nunciato <c@nunciato.org> * Add GitHub redirect, support Signed-off-by: Christian Nunciato <c@nunciato.org> * Add blog * Add blog - update post frontmatter * Update content/_index.md Co-Authored-By: Justin Van Patten <jvp@justinvp.com> * Remove drafts & redundant fonts, move asset dirs up a level Signed-off-by: Christian Nunciato <c@nunciato.org> * Reconcile blog navigation Signed-off-by: Christian Nunciato <c@nunciato.org> * Migrate some blog content (#1147) * Reconcile www, blog and docs footer items (#1141) Signed-off-by: Christian Nunciato <c@nunciato.org> * Clean up blog layout (#1148) * Migrate more blog posts (#1157) * Replace Bootstrap with TailwindCSS * Add Tailwind * Create a config directory under assets, move PostCSS and Tailwind configs into it * Remove Bootstrap Sass and JS referemce * Refactor the header, base template, and footer to use Tailwind * Pull TOC Sass into its own partial Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor the docs home page Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor docs single, list and section layouts Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor quickstart-clouds partial Signed-off-by: Christian Nunciato <c@nunciato.org> * Reposition config items to fix syntax highlighting Signed-off-by: Christian Nunciato <c@nunciato.org> * Replace syntax CSS theme with Monokai Signed-off-by: Christian Nunciato <c@nunciato.org> * Add a dark blue for links Signed-off-by: Christian Nunciato <c@nunciato.org> * Add the beginnings of Sass color settings Signed-off-by: Christian Nunciato <c@nunciato.org> * Add a Sass file for langchoose Signed-off-by: Christian Nunciato <c@nunciato.org> * Give no-select its own Sass also, since it’s a partial Signed-off-by: Christian Nunciato <c@nunciato.org> * Give docs single and list templates more width for main content Signed-off-by: Christian Nunciato <c@nunciato.org> * Add some padding to the TOC, since we don’t have proper gutters yet Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix button on Quickstart home page Signed-off-by: Christian Nunciato <c@nunciato.org> * TOC styles Signed-off-by: Christian Nunciato <c@nunciato.org> * Quickstart clouds Signed-off-by: Christian Nunciato <c@nunciato.org> * Padding to left and right columns Signed-off-by: Christian Nunciato <c@nunciato.org> * Black for TOC Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor docs/aws to use its own layouts Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix the AWS tech partner image Signed-off-by: Christian Nunciato <c@nunciato.org> * Adjust AWS layouts Signed-off-by: Christian Nunciato <c@nunciato.org> * Move docs-home markup into a layout Signed-off-by: Christian Nunciato <c@nunciato.org> * Format the mini-toc Signed-off-by: Christian Nunciato <c@nunciato.org> * Reduce subhead sizes a bit Signed-off-by: Christian Nunciato <c@nunciato.org> * Remove snowflake styles Signed-off-by: Christian Nunciato <c@nunciato.org> * Extract some Sass partials Signed-off-by: Christian Nunciato <c@nunciato.org> * Define initial purple and blue palettes, use numbered colors instead Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor blog templates Signed-off-by: Christian Nunciato <c@nunciato.org> * Make blog summary a partial, style pagination Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix expanded URLs Signed-off-by: Christian Nunciato <c@nunciato.org> * Rename Documentation to Reference Signed-off-by: Christian Nunciato <c@nunciato.org> * A smattering of minor adjustments Signed-off-by: Christian Nunciato <c@nunciato.org> * Selection state for tags Signed-off-by: Christian Nunciato <c@nunciato.org> * Delete more Bootstrap Signed-off-by: Christian Nunciato <c@nunciato.org> * Comment the banner Signed-off-by: Christian Nunciato <c@nunciato.org> * Restore footer links Signed-off-by: Christian Nunciato <c@nunciato.org> * Legal layout Signed-off-by: Christian Nunciato <c@nunciato.org> * Remove unused layout Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor careers page Signed-off-by: Christian Nunciato <c@nunciato.org> * Use top-level URLs for legal docs Signed-off-by: Christian Nunciato <c@nunciato.org> * Add RSS for the blog (#1170) * Add RSS for the blog * Cleanup team data (#1195) * Cleanup team data * Add missing newlines at EOF * Blog content as of 6/16 (#1196) * Blog content layout tweaks * Migrated blog content (as of Sun 6/16) * Address PR feedback, replace links to pulumi.io * Add fusion stack Any changes to the `fusion` branch will now be deployed to https://fusion.pulumi.io/. * Fix broken links * Fix broken images in fusion branch (#1207) Deletes unnecessary uses of `BaseURL`. In a small number of cases, where we want to emit an absolute URL that includes the `BaseURL`, use the `absURL` function instead, which is smart about handling missing/extra slashes. * Integrate www content (#1208) Signed-off-by: Christian Nunciato <c@nunciato.org> * Highlight currently selected section tab (#1216) * Remove unused partials (#1215) These are no longer referenced, so they can be removed. Signed-off-by: Christian Nunciato <c@nunciato.org> * Blog content as of 6/24 (#1218) * Port running-containers-in-aws-the-lowdown-ecs-fargate-and-eks * Port building-and-publishing-docker-images-to-a-private-amazon-ecr-repository * Port happy-birthday-to-pulumi-open-source * Commit updates to package-lock.json * Link cleanups and other fixes * Remove 'wip' tag * Restore meta_* fields, tidy up some frontmatter (#1214) Signed-off-by: Christian Nunciato <c@nunciato.org> * Add search (#1217) Signed-off-by: Christian Nunciato <c@nunciato.org> * Hide `.language-prologue-*` by default (#1212) So they all don't initially flash as being visible before all but the selected language are hidden. Port from `_pulumi.scss`. * Limit team members to those with status “active” (#1219) Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix links to datadog provider * Remove top margin from code snippets under lang tabs (#1223) * Update MBR DNA logo (#1222) * Add links to cloud logos (#1221) And use `logo-aws_white.png` for AWS * Remove unnecessary aliases (#1210) Now that we'll be hosting the docs on a new domain, there's no need to maintain these aliases. The old site hosted at https://pulumi.io will have redirects from the old aliases to the new location on the new site. * Pricing page updates (#1224) * Add swooshes to the home, pricing and webinar pages. * Replace “tech” PNGs for GitHub, GitLab, Atlassian and SAML with SVGs, and add an email SVG, in order to align all of their images in the pricing grid. * Add a “See plan details” link above the pricing grid. * Update Font Awesome to version 5.8.1 (to match what's in use on www today) in order to pull in the infinity icons used in the pricing grid. * Align CTA buttons horizontally in adjacent boxes containing content of varying heights. * Fix duplicate links on the home and product pages. Signed-off-by: Christian Nunciato <c@nunciato.org> * Update API docs (#1227) * Update tsdocgen paths * Updated API docs * Fix broken images (#1228) Remove unnecessary `{{ .Site.BaseURL }}` prefix from image URLs. * Fix Hugo build warning about non-relative ref/relref page reference (#1229) * Fix page titles and errant anchors (#1226) * Prevent anchors on the home page * Fix page titles Signed-off-by: Christian Nunciato <c@nunciato.org> * Add a robots.txt file (#1225) This change adds a robots.txt template authorizing seach-engine indexing for all pages of the production site. It assumes that all non-production builds will override the `baseURL` configuration property with something other than `https://pulumi.com/`. Signed-off-by: Christian Nunciato <c@nunciato.org> * Blog content fixes (#1231) * Correct post dates, titles * Revert to previous tags * Unify tags, adjust for display * Replace short, social summaries with longer ones * Use a fixed height for the utility bar (#1232) When the GitHub widget loads asynchronously and pops into view, it causes the whole page to shift downward a few pixels, because the widget is taller than the links beside it. Applying an explicit hight to the utility bar fixes this. Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix TOC expansion for the tour (#1234) We're very likely going to remove the tour and disperse its content elsewhere, but in the meantime, fix the TOC expansion for "Beyond the Basics" items. * Add syntax highlighing to layout templates (#1238) This change adds a partial for highlighting code snippets in layouts. Signed-off-by: Christian Nunciato <c@nunciato.org> * Add home-page video (#1240) Also makes a few slight adjustments to improve mobile layout on the home page. Signed-off-by: Christian Nunciato <c@nunciato.org> * Blog layout and styling improvements (#1237) * Use explicit code blcoks with language * Fix sort order for Author and Tag listings * Make sidebar toggleable on mobile * Resize "poster" image for blog listings * Crop photos to be square * Add posted date, post tags to blog footer * Add recent posts lists to sidebar * Add syntax highlighting to some missed posts * Fix Hugo build warning * Adjust sidebar styling * Cleanup the /docs page (#1239) * Cleanup /docs/aws layouts to match other docs sections * Cleanup /docs pages - Add left nav - Make /docs page look slightly less like a "homepage" - Add top-level "Get Started" and "Reference" headings to left nav * Add `.btn-secondary` and use it in a few places * Remove unnecessary cursor setting (#1245) Should be using the default here. I was debugging and forgot to switch this back before committing. Signed-off-by: Christian Nunciato <c@nunciato.org> * Update the home page video (#1244) This is a slightly shorter version, with typing sections sped up slightly to better respect our visitors’ time. :smile: Signed-off-by: Christian Nunciato <c@nunciato.org> * API doc styling improvements (#1247) * Update API doc styling for Python Bring back the styles used for our Python API docs, convert to use Tailwind, and make further tweaks to make it look even better. For example, all definitions now look like code blocks and indentation and spacing is used to improve the hierarchy of the content. * Only emit the <h1>.Title</h1> if there is a .Title The generated Python API docs don't currently include front matter and therefore do not have a title. We should fix the Python docs gen to do that, but in the meantime, only emit `<h1>.Title</h1>` if the page has a `.Title`, to avoid an unnecessary gap at the top of the page. * Update _pygments.scss to select .highlight instead of .chroma The syntax highlighted code generated by Hugo looks like: ``` <div class="highlight"> <pre class="chroma"> <code class="language-foo"> ... </code> </pre> </div> ``` And our styles looks like: ``` .chroma .k { ... } .chroma .kc { ... } ... ``` This works good, but our generated Python docs, which uses Pygments to do the syntax highlighting, doesn't use `.chroma`, so it doesn't get any syntax highlighting currently, even though all the Pygments classes are there. This is true for our Node.js docs as well, although, based on how we generate the code for that currently, we could relatively easily update the templates to include a `.chroma` class. In all cases, the code that we want highlighted will have a `.highlight` class surrounding it, so just update our styles to select `.highlight` instead of `.chroma`. ``` .highlight .k { ... } .highlight .kc { ... } ... ``` * Update API doc styling for Node.js * Various mobile adjustments and cleanup (#1250) * Pull the hero and section nav into Tailwind "components" and apply them. * Adjust home-page video dimensions accordingly. * Add mobile x-padding to sections that hadn't gotten it yet. * Add an anchor exclusion to the head for the About page. * Fix mobile layout for the Support page. * Fix centering and item distribution on the About page. * Additional minor mobile-related adjustments as encountered. Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix bug in lang chooser (#1249) If I've previously viewed a page in our docs with the language tabs, such as the Get Started guide, and I click the Python tab, that language choice will be persisted to a cookie. If I then visit our Node.js API docs, the lang chooser will see the saved value of "Python" and try to select that tab, hiding all other language snippets. But our Node.js API docs only contain JavaScript and TypeScript snippets, so the end result is that all snippets are hidden and no tab is selected. This change fixes that. If the value in the cookie does not exist in any of the tabs on the page, fallback to the default (JavaScript), otherwise fallback to the first tab that is available on the page. * More small fixes (#1254) * Make the header more responsive Adds padding to medium and above, and adjusts font size and spacing at medium width in order to accommodate the number of items we’re displaying currently. Also uses the full Pulumi logo, since we have room for that now, and adds a little color to the hamburger. Signed-off-by: Christian Nunciato <c@nunciato.org> * Bottom-align the image on the whitepaper layout Also removes the `header` selector from `_hero.scss` in order to reduce the specificity of the rule, allowing it to be overidden more easily with other Tailwind classnames. Signed-off-by: Christian Nunciato <c@nunciato.org> * Add team@pulumi link to the footer Signed-off-by: Christian Nunciato <c@nunciato.org> * Restore the newsroom and investors sections Somehow these got dropped! :scream: Signed-off-by: Christian Nunciato <c@nunciato.org> * Add hero background glows (#1257) Also deletes unused templates. Signed-off-by: Christian Nunciato <c@nunciato.org> * Hide scrollbars if not needed (#1256) * Improve Pricing page responsiveness, fix a few other small things (#1259) * Fix section link on the Why Pulumi page Signed-off-by: Christian Nunciato <c@nunciato.org> * Capitalize Kubernetes in copy Signed-off-by: Christian Nunciato <c@nunciato.org> * Adjust image sizes on Whitepaper page Properly size them on both mobile and desktop. Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix paging on mobile Decrease padding to prevent overflow. Signed-off-by: Christian Nunciato <c@nunciato.org> * Improve Pricing page layout Signed-off-by: Christian Nunciato <c@nunciato.org> * Replace home page video with carousel (#1260) Signed-off-by: Christian Nunciato <c@nunciato.org> * Change Segment module to WWW (#1265) * Hook up new www.pulumi.com/staging stack to CI/CD (#1262) * Move older 'pulumi.io' stacks to infrastructure-old * Add new 'www.pulumi.com' infrastructure folder * Scripts to hook up to CI/CD * Switch back to using generic Travis worker * Add alias to CDN for staging.pulumi.io * Remove alias to staging.pulumi.io * Do not use named profiles for deployments There's an issue today where named profiles which use `credential_source=Environment` don't actually behave correctly with the assume-role tool. Instead of actually assuming the role, it just uses the credentials in the environment, which is not exactly what you want. For now, explicitly set the ARN we want to assume, instead of indirecting across a named profile. * Remove CloudFront alias entirely * Add hover menu (#1266) Signed-off-by: Christian Nunciato <c@nunciato.org> * Hook up new www.pulumi.com/production stack to CI/CD (#1267) * Hook up new www.pulumi.com/production stack to CI/CD * Correct Makefile syntax * Migrate blog posts as of 7/2 (#1268) * Fix Makefile syntax * Fix spelling error ::sigh::
2019-07-02 16:30:33 -07:00
[synthetic CSV data](https://github.com/WallarooLabs/wallaroo_blog_examples/blob/master/provisioned-classifier/bin/send.py),
and waits for 1 million lines to arrive at the `data_receiver` process.
When those lines arrive, they are compressed, and the cluster is shut
down.
4. `make get-results` pulls the compressed result file
GREAT WEBSITE MIGRATION OF 2018 (#1269) * Move content into docs/content * Make navigation and doc generation work Signed-off-by: Christian Nunciato <c@nunciato.org> * Make search work Signed-off-by: Christian Nunciato <c@nunciato.org> * Move docs-specific layouts into layouts/docs Signed-off-by: Christian Nunciato <c@nunciato.org> * Move docs partials into layouts/partials/docs Signed-off-by: Christian Nunciato <c@nunciato.org> * Share a common header and footer Signed-off-by: Christian Nunciato <c@nunciato.org> * Add product & pricing pages, modify main nav Signed-off-by: Christian Nunciato <c@nunciato.org> * Bring images under assets, docs images under assets/images/docs Signed-off-by: Christian Nunciato <c@nunciato.org> * Link to the docs home page, fix image ref Signed-off-by: Christian Nunciato <c@nunciato.org> * Add containers, serverless, kubernetes topics Signed-off-by: Christian Nunciato <c@nunciato.org> * Add careers Signed-off-by: Christian Nunciato <c@nunciato.org> * Add compete, compete -> migrate Signed-off-by: Christian Nunciato <c@nunciato.org> * About, contact Signed-off-by: Christian Nunciato <c@nunciato.org> * Add legal Signed-off-by: Christian Nunciato <c@nunciato.org> * Add product Signed-off-by: Christian Nunciato <c@nunciato.org> * Add partner content Signed-off-by: Christian Nunciato <c@nunciato.org> * Add webinar Signed-off-by: Christian Nunciato <c@nunciato.org> * Add why-pulumi Signed-off-by: Christian Nunciato <c@nunciato.org> * Add GitHub redirect, support Signed-off-by: Christian Nunciato <c@nunciato.org> * Add blog * Add blog - update post frontmatter * Update content/_index.md Co-Authored-By: Justin Van Patten <jvp@justinvp.com> * Remove drafts & redundant fonts, move asset dirs up a level Signed-off-by: Christian Nunciato <c@nunciato.org> * Reconcile blog navigation Signed-off-by: Christian Nunciato <c@nunciato.org> * Migrate some blog content (#1147) * Reconcile www, blog and docs footer items (#1141) Signed-off-by: Christian Nunciato <c@nunciato.org> * Clean up blog layout (#1148) * Migrate more blog posts (#1157) * Replace Bootstrap with TailwindCSS * Add Tailwind * Create a config directory under assets, move PostCSS and Tailwind configs into it * Remove Bootstrap Sass and JS referemce * Refactor the header, base template, and footer to use Tailwind * Pull TOC Sass into its own partial Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor the docs home page Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor docs single, list and section layouts Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor quickstart-clouds partial Signed-off-by: Christian Nunciato <c@nunciato.org> * Reposition config items to fix syntax highlighting Signed-off-by: Christian Nunciato <c@nunciato.org> * Replace syntax CSS theme with Monokai Signed-off-by: Christian Nunciato <c@nunciato.org> * Add a dark blue for links Signed-off-by: Christian Nunciato <c@nunciato.org> * Add the beginnings of Sass color settings Signed-off-by: Christian Nunciato <c@nunciato.org> * Add a Sass file for langchoose Signed-off-by: Christian Nunciato <c@nunciato.org> * Give no-select its own Sass also, since it’s a partial Signed-off-by: Christian Nunciato <c@nunciato.org> * Give docs single and list templates more width for main content Signed-off-by: Christian Nunciato <c@nunciato.org> * Add some padding to the TOC, since we don’t have proper gutters yet Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix button on Quickstart home page Signed-off-by: Christian Nunciato <c@nunciato.org> * TOC styles Signed-off-by: Christian Nunciato <c@nunciato.org> * Quickstart clouds Signed-off-by: Christian Nunciato <c@nunciato.org> * Padding to left and right columns Signed-off-by: Christian Nunciato <c@nunciato.org> * Black for TOC Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor docs/aws to use its own layouts Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix the AWS tech partner image Signed-off-by: Christian Nunciato <c@nunciato.org> * Adjust AWS layouts Signed-off-by: Christian Nunciato <c@nunciato.org> * Move docs-home markup into a layout Signed-off-by: Christian Nunciato <c@nunciato.org> * Format the mini-toc Signed-off-by: Christian Nunciato <c@nunciato.org> * Reduce subhead sizes a bit Signed-off-by: Christian Nunciato <c@nunciato.org> * Remove snowflake styles Signed-off-by: Christian Nunciato <c@nunciato.org> * Extract some Sass partials Signed-off-by: Christian Nunciato <c@nunciato.org> * Define initial purple and blue palettes, use numbered colors instead Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor blog templates Signed-off-by: Christian Nunciato <c@nunciato.org> * Make blog summary a partial, style pagination Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix expanded URLs Signed-off-by: Christian Nunciato <c@nunciato.org> * Rename Documentation to Reference Signed-off-by: Christian Nunciato <c@nunciato.org> * A smattering of minor adjustments Signed-off-by: Christian Nunciato <c@nunciato.org> * Selection state for tags Signed-off-by: Christian Nunciato <c@nunciato.org> * Delete more Bootstrap Signed-off-by: Christian Nunciato <c@nunciato.org> * Comment the banner Signed-off-by: Christian Nunciato <c@nunciato.org> * Restore footer links Signed-off-by: Christian Nunciato <c@nunciato.org> * Legal layout Signed-off-by: Christian Nunciato <c@nunciato.org> * Remove unused layout Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor careers page Signed-off-by: Christian Nunciato <c@nunciato.org> * Use top-level URLs for legal docs Signed-off-by: Christian Nunciato <c@nunciato.org> * Add RSS for the blog (#1170) * Add RSS for the blog * Cleanup team data (#1195) * Cleanup team data * Add missing newlines at EOF * Blog content as of 6/16 (#1196) * Blog content layout tweaks * Migrated blog content (as of Sun 6/16) * Address PR feedback, replace links to pulumi.io * Add fusion stack Any changes to the `fusion` branch will now be deployed to https://fusion.pulumi.io/. * Fix broken links * Fix broken images in fusion branch (#1207) Deletes unnecessary uses of `BaseURL`. In a small number of cases, where we want to emit an absolute URL that includes the `BaseURL`, use the `absURL` function instead, which is smart about handling missing/extra slashes. * Integrate www content (#1208) Signed-off-by: Christian Nunciato <c@nunciato.org> * Highlight currently selected section tab (#1216) * Remove unused partials (#1215) These are no longer referenced, so they can be removed. Signed-off-by: Christian Nunciato <c@nunciato.org> * Blog content as of 6/24 (#1218) * Port running-containers-in-aws-the-lowdown-ecs-fargate-and-eks * Port building-and-publishing-docker-images-to-a-private-amazon-ecr-repository * Port happy-birthday-to-pulumi-open-source * Commit updates to package-lock.json * Link cleanups and other fixes * Remove 'wip' tag * Restore meta_* fields, tidy up some frontmatter (#1214) Signed-off-by: Christian Nunciato <c@nunciato.org> * Add search (#1217) Signed-off-by: Christian Nunciato <c@nunciato.org> * Hide `.language-prologue-*` by default (#1212) So they all don't initially flash as being visible before all but the selected language are hidden. Port from `_pulumi.scss`. * Limit team members to those with status “active” (#1219) Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix links to datadog provider * Remove top margin from code snippets under lang tabs (#1223) * Update MBR DNA logo (#1222) * Add links to cloud logos (#1221) And use `logo-aws_white.png` for AWS * Remove unnecessary aliases (#1210) Now that we'll be hosting the docs on a new domain, there's no need to maintain these aliases. The old site hosted at https://pulumi.io will have redirects from the old aliases to the new location on the new site. * Pricing page updates (#1224) * Add swooshes to the home, pricing and webinar pages. * Replace “tech” PNGs for GitHub, GitLab, Atlassian and SAML with SVGs, and add an email SVG, in order to align all of their images in the pricing grid. * Add a “See plan details” link above the pricing grid. * Update Font Awesome to version 5.8.1 (to match what's in use on www today) in order to pull in the infinity icons used in the pricing grid. * Align CTA buttons horizontally in adjacent boxes containing content of varying heights. * Fix duplicate links on the home and product pages. Signed-off-by: Christian Nunciato <c@nunciato.org> * Update API docs (#1227) * Update tsdocgen paths * Updated API docs * Fix broken images (#1228) Remove unnecessary `{{ .Site.BaseURL }}` prefix from image URLs. * Fix Hugo build warning about non-relative ref/relref page reference (#1229) * Fix page titles and errant anchors (#1226) * Prevent anchors on the home page * Fix page titles Signed-off-by: Christian Nunciato <c@nunciato.org> * Add a robots.txt file (#1225) This change adds a robots.txt template authorizing seach-engine indexing for all pages of the production site. It assumes that all non-production builds will override the `baseURL` configuration property with something other than `https://pulumi.com/`. Signed-off-by: Christian Nunciato <c@nunciato.org> * Blog content fixes (#1231) * Correct post dates, titles * Revert to previous tags * Unify tags, adjust for display * Replace short, social summaries with longer ones * Use a fixed height for the utility bar (#1232) When the GitHub widget loads asynchronously and pops into view, it causes the whole page to shift downward a few pixels, because the widget is taller than the links beside it. Applying an explicit hight to the utility bar fixes this. Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix TOC expansion for the tour (#1234) We're very likely going to remove the tour and disperse its content elsewhere, but in the meantime, fix the TOC expansion for "Beyond the Basics" items. * Add syntax highlighing to layout templates (#1238) This change adds a partial for highlighting code snippets in layouts. Signed-off-by: Christian Nunciato <c@nunciato.org> * Add home-page video (#1240) Also makes a few slight adjustments to improve mobile layout on the home page. Signed-off-by: Christian Nunciato <c@nunciato.org> * Blog layout and styling improvements (#1237) * Use explicit code blcoks with language * Fix sort order for Author and Tag listings * Make sidebar toggleable on mobile * Resize "poster" image for blog listings * Crop photos to be square * Add posted date, post tags to blog footer * Add recent posts lists to sidebar * Add syntax highlighting to some missed posts * Fix Hugo build warning * Adjust sidebar styling * Cleanup the /docs page (#1239) * Cleanup /docs/aws layouts to match other docs sections * Cleanup /docs pages - Add left nav - Make /docs page look slightly less like a "homepage" - Add top-level "Get Started" and "Reference" headings to left nav * Add `.btn-secondary` and use it in a few places * Remove unnecessary cursor setting (#1245) Should be using the default here. I was debugging and forgot to switch this back before committing. Signed-off-by: Christian Nunciato <c@nunciato.org> * Update the home page video (#1244) This is a slightly shorter version, with typing sections sped up slightly to better respect our visitors’ time. :smile: Signed-off-by: Christian Nunciato <c@nunciato.org> * API doc styling improvements (#1247) * Update API doc styling for Python Bring back the styles used for our Python API docs, convert to use Tailwind, and make further tweaks to make it look even better. For example, all definitions now look like code blocks and indentation and spacing is used to improve the hierarchy of the content. * Only emit the <h1>.Title</h1> if there is a .Title The generated Python API docs don't currently include front matter and therefore do not have a title. We should fix the Python docs gen to do that, but in the meantime, only emit `<h1>.Title</h1>` if the page has a `.Title`, to avoid an unnecessary gap at the top of the page. * Update _pygments.scss to select .highlight instead of .chroma The syntax highlighted code generated by Hugo looks like: ``` <div class="highlight"> <pre class="chroma"> <code class="language-foo"> ... </code> </pre> </div> ``` And our styles looks like: ``` .chroma .k { ... } .chroma .kc { ... } ... ``` This works good, but our generated Python docs, which uses Pygments to do the syntax highlighting, doesn't use `.chroma`, so it doesn't get any syntax highlighting currently, even though all the Pygments classes are there. This is true for our Node.js docs as well, although, based on how we generate the code for that currently, we could relatively easily update the templates to include a `.chroma` class. In all cases, the code that we want highlighted will have a `.highlight` class surrounding it, so just update our styles to select `.highlight` instead of `.chroma`. ``` .highlight .k { ... } .highlight .kc { ... } ... ``` * Update API doc styling for Node.js * Various mobile adjustments and cleanup (#1250) * Pull the hero and section nav into Tailwind "components" and apply them. * Adjust home-page video dimensions accordingly. * Add mobile x-padding to sections that hadn't gotten it yet. * Add an anchor exclusion to the head for the About page. * Fix mobile layout for the Support page. * Fix centering and item distribution on the About page. * Additional minor mobile-related adjustments as encountered. Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix bug in lang chooser (#1249) If I've previously viewed a page in our docs with the language tabs, such as the Get Started guide, and I click the Python tab, that language choice will be persisted to a cookie. If I then visit our Node.js API docs, the lang chooser will see the saved value of "Python" and try to select that tab, hiding all other language snippets. But our Node.js API docs only contain JavaScript and TypeScript snippets, so the end result is that all snippets are hidden and no tab is selected. This change fixes that. If the value in the cookie does not exist in any of the tabs on the page, fallback to the default (JavaScript), otherwise fallback to the first tab that is available on the page. * More small fixes (#1254) * Make the header more responsive Adds padding to medium and above, and adjusts font size and spacing at medium width in order to accommodate the number of items we’re displaying currently. Also uses the full Pulumi logo, since we have room for that now, and adds a little color to the hamburger. Signed-off-by: Christian Nunciato <c@nunciato.org> * Bottom-align the image on the whitepaper layout Also removes the `header` selector from `_hero.scss` in order to reduce the specificity of the rule, allowing it to be overidden more easily with other Tailwind classnames. Signed-off-by: Christian Nunciato <c@nunciato.org> * Add team@pulumi link to the footer Signed-off-by: Christian Nunciato <c@nunciato.org> * Restore the newsroom and investors sections Somehow these got dropped! :scream: Signed-off-by: Christian Nunciato <c@nunciato.org> * Add hero background glows (#1257) Also deletes unused templates. Signed-off-by: Christian Nunciato <c@nunciato.org> * Hide scrollbars if not needed (#1256) * Improve Pricing page responsiveness, fix a few other small things (#1259) * Fix section link on the Why Pulumi page Signed-off-by: Christian Nunciato <c@nunciato.org> * Capitalize Kubernetes in copy Signed-off-by: Christian Nunciato <c@nunciato.org> * Adjust image sizes on Whitepaper page Properly size them on both mobile and desktop. Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix paging on mobile Decrease padding to prevent overflow. Signed-off-by: Christian Nunciato <c@nunciato.org> * Improve Pricing page layout Signed-off-by: Christian Nunciato <c@nunciato.org> * Replace home page video with carousel (#1260) Signed-off-by: Christian Nunciato <c@nunciato.org> * Change Segment module to WWW (#1265) * Hook up new www.pulumi.com/staging stack to CI/CD (#1262) * Move older 'pulumi.io' stacks to infrastructure-old * Add new 'www.pulumi.com' infrastructure folder * Scripts to hook up to CI/CD * Switch back to using generic Travis worker * Add alias to CDN for staging.pulumi.io * Remove alias to staging.pulumi.io * Do not use named profiles for deployments There's an issue today where named profiles which use `credential_source=Environment` don't actually behave correctly with the assume-role tool. Instead of actually assuming the role, it just uses the credentials in the environment, which is not exactly what you want. For now, explicitly set the ARN we want to assume, instead of indirecting across a named profile. * Remove CloudFront alias entirely * Add hover menu (#1266) Signed-off-by: Christian Nunciato <c@nunciato.org> * Hook up new www.pulumi.com/production stack to CI/CD (#1267) * Hook up new www.pulumi.com/production stack to CI/CD * Correct Makefile syntax * Migrate blog posts as of 7/2 (#1268) * Fix Makefile syntax * Fix spelling error ::sigh::
2019-07-02 16:30:33 -07:00
to `output/results.tgz`,
5. And finally, `make down` destroys the cloud infrastructure that was
GREAT WEBSITE MIGRATION OF 2018 (#1269) * Move content into docs/content * Make navigation and doc generation work Signed-off-by: Christian Nunciato <c@nunciato.org> * Make search work Signed-off-by: Christian Nunciato <c@nunciato.org> * Move docs-specific layouts into layouts/docs Signed-off-by: Christian Nunciato <c@nunciato.org> * Move docs partials into layouts/partials/docs Signed-off-by: Christian Nunciato <c@nunciato.org> * Share a common header and footer Signed-off-by: Christian Nunciato <c@nunciato.org> * Add product & pricing pages, modify main nav Signed-off-by: Christian Nunciato <c@nunciato.org> * Bring images under assets, docs images under assets/images/docs Signed-off-by: Christian Nunciato <c@nunciato.org> * Link to the docs home page, fix image ref Signed-off-by: Christian Nunciato <c@nunciato.org> * Add containers, serverless, kubernetes topics Signed-off-by: Christian Nunciato <c@nunciato.org> * Add careers Signed-off-by: Christian Nunciato <c@nunciato.org> * Add compete, compete -> migrate Signed-off-by: Christian Nunciato <c@nunciato.org> * About, contact Signed-off-by: Christian Nunciato <c@nunciato.org> * Add legal Signed-off-by: Christian Nunciato <c@nunciato.org> * Add product Signed-off-by: Christian Nunciato <c@nunciato.org> * Add partner content Signed-off-by: Christian Nunciato <c@nunciato.org> * Add webinar Signed-off-by: Christian Nunciato <c@nunciato.org> * Add why-pulumi Signed-off-by: Christian Nunciato <c@nunciato.org> * Add GitHub redirect, support Signed-off-by: Christian Nunciato <c@nunciato.org> * Add blog * Add blog - update post frontmatter * Update content/_index.md Co-Authored-By: Justin Van Patten <jvp@justinvp.com> * Remove drafts & redundant fonts, move asset dirs up a level Signed-off-by: Christian Nunciato <c@nunciato.org> * Reconcile blog navigation Signed-off-by: Christian Nunciato <c@nunciato.org> * Migrate some blog content (#1147) * Reconcile www, blog and docs footer items (#1141) Signed-off-by: Christian Nunciato <c@nunciato.org> * Clean up blog layout (#1148) * Migrate more blog posts (#1157) * Replace Bootstrap with TailwindCSS * Add Tailwind * Create a config directory under assets, move PostCSS and Tailwind configs into it * Remove Bootstrap Sass and JS referemce * Refactor the header, base template, and footer to use Tailwind * Pull TOC Sass into its own partial Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor the docs home page Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor docs single, list and section layouts Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor quickstart-clouds partial Signed-off-by: Christian Nunciato <c@nunciato.org> * Reposition config items to fix syntax highlighting Signed-off-by: Christian Nunciato <c@nunciato.org> * Replace syntax CSS theme with Monokai Signed-off-by: Christian Nunciato <c@nunciato.org> * Add a dark blue for links Signed-off-by: Christian Nunciato <c@nunciato.org> * Add the beginnings of Sass color settings Signed-off-by: Christian Nunciato <c@nunciato.org> * Add a Sass file for langchoose Signed-off-by: Christian Nunciato <c@nunciato.org> * Give no-select its own Sass also, since it’s a partial Signed-off-by: Christian Nunciato <c@nunciato.org> * Give docs single and list templates more width for main content Signed-off-by: Christian Nunciato <c@nunciato.org> * Add some padding to the TOC, since we don’t have proper gutters yet Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix button on Quickstart home page Signed-off-by: Christian Nunciato <c@nunciato.org> * TOC styles Signed-off-by: Christian Nunciato <c@nunciato.org> * Quickstart clouds Signed-off-by: Christian Nunciato <c@nunciato.org> * Padding to left and right columns Signed-off-by: Christian Nunciato <c@nunciato.org> * Black for TOC Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor docs/aws to use its own layouts Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix the AWS tech partner image Signed-off-by: Christian Nunciato <c@nunciato.org> * Adjust AWS layouts Signed-off-by: Christian Nunciato <c@nunciato.org> * Move docs-home markup into a layout Signed-off-by: Christian Nunciato <c@nunciato.org> * Format the mini-toc Signed-off-by: Christian Nunciato <c@nunciato.org> * Reduce subhead sizes a bit Signed-off-by: Christian Nunciato <c@nunciato.org> * Remove snowflake styles Signed-off-by: Christian Nunciato <c@nunciato.org> * Extract some Sass partials Signed-off-by: Christian Nunciato <c@nunciato.org> * Define initial purple and blue palettes, use numbered colors instead Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor blog templates Signed-off-by: Christian Nunciato <c@nunciato.org> * Make blog summary a partial, style pagination Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix expanded URLs Signed-off-by: Christian Nunciato <c@nunciato.org> * Rename Documentation to Reference Signed-off-by: Christian Nunciato <c@nunciato.org> * A smattering of minor adjustments Signed-off-by: Christian Nunciato <c@nunciato.org> * Selection state for tags Signed-off-by: Christian Nunciato <c@nunciato.org> * Delete more Bootstrap Signed-off-by: Christian Nunciato <c@nunciato.org> * Comment the banner Signed-off-by: Christian Nunciato <c@nunciato.org> * Restore footer links Signed-off-by: Christian Nunciato <c@nunciato.org> * Legal layout Signed-off-by: Christian Nunciato <c@nunciato.org> * Remove unused layout Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor careers page Signed-off-by: Christian Nunciato <c@nunciato.org> * Use top-level URLs for legal docs Signed-off-by: Christian Nunciato <c@nunciato.org> * Add RSS for the blog (#1170) * Add RSS for the blog * Cleanup team data (#1195) * Cleanup team data * Add missing newlines at EOF * Blog content as of 6/16 (#1196) * Blog content layout tweaks * Migrated blog content (as of Sun 6/16) * Address PR feedback, replace links to pulumi.io * Add fusion stack Any changes to the `fusion` branch will now be deployed to https://fusion.pulumi.io/. * Fix broken links * Fix broken images in fusion branch (#1207) Deletes unnecessary uses of `BaseURL`. In a small number of cases, where we want to emit an absolute URL that includes the `BaseURL`, use the `absURL` function instead, which is smart about handling missing/extra slashes. * Integrate www content (#1208) Signed-off-by: Christian Nunciato <c@nunciato.org> * Highlight currently selected section tab (#1216) * Remove unused partials (#1215) These are no longer referenced, so they can be removed. Signed-off-by: Christian Nunciato <c@nunciato.org> * Blog content as of 6/24 (#1218) * Port running-containers-in-aws-the-lowdown-ecs-fargate-and-eks * Port building-and-publishing-docker-images-to-a-private-amazon-ecr-repository * Port happy-birthday-to-pulumi-open-source * Commit updates to package-lock.json * Link cleanups and other fixes * Remove 'wip' tag * Restore meta_* fields, tidy up some frontmatter (#1214) Signed-off-by: Christian Nunciato <c@nunciato.org> * Add search (#1217) Signed-off-by: Christian Nunciato <c@nunciato.org> * Hide `.language-prologue-*` by default (#1212) So they all don't initially flash as being visible before all but the selected language are hidden. Port from `_pulumi.scss`. * Limit team members to those with status “active” (#1219) Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix links to datadog provider * Remove top margin from code snippets under lang tabs (#1223) * Update MBR DNA logo (#1222) * Add links to cloud logos (#1221) And use `logo-aws_white.png` for AWS * Remove unnecessary aliases (#1210) Now that we'll be hosting the docs on a new domain, there's no need to maintain these aliases. The old site hosted at https://pulumi.io will have redirects from the old aliases to the new location on the new site. * Pricing page updates (#1224) * Add swooshes to the home, pricing and webinar pages. * Replace “tech” PNGs for GitHub, GitLab, Atlassian and SAML with SVGs, and add an email SVG, in order to align all of their images in the pricing grid. * Add a “See plan details” link above the pricing grid. * Update Font Awesome to version 5.8.1 (to match what's in use on www today) in order to pull in the infinity icons used in the pricing grid. * Align CTA buttons horizontally in adjacent boxes containing content of varying heights. * Fix duplicate links on the home and product pages. Signed-off-by: Christian Nunciato <c@nunciato.org> * Update API docs (#1227) * Update tsdocgen paths * Updated API docs * Fix broken images (#1228) Remove unnecessary `{{ .Site.BaseURL }}` prefix from image URLs. * Fix Hugo build warning about non-relative ref/relref page reference (#1229) * Fix page titles and errant anchors (#1226) * Prevent anchors on the home page * Fix page titles Signed-off-by: Christian Nunciato <c@nunciato.org> * Add a robots.txt file (#1225) This change adds a robots.txt template authorizing seach-engine indexing for all pages of the production site. It assumes that all non-production builds will override the `baseURL` configuration property with something other than `https://pulumi.com/`. Signed-off-by: Christian Nunciato <c@nunciato.org> * Blog content fixes (#1231) * Correct post dates, titles * Revert to previous tags * Unify tags, adjust for display * Replace short, social summaries with longer ones * Use a fixed height for the utility bar (#1232) When the GitHub widget loads asynchronously and pops into view, it causes the whole page to shift downward a few pixels, because the widget is taller than the links beside it. Applying an explicit hight to the utility bar fixes this. Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix TOC expansion for the tour (#1234) We're very likely going to remove the tour and disperse its content elsewhere, but in the meantime, fix the TOC expansion for "Beyond the Basics" items. * Add syntax highlighing to layout templates (#1238) This change adds a partial for highlighting code snippets in layouts. Signed-off-by: Christian Nunciato <c@nunciato.org> * Add home-page video (#1240) Also makes a few slight adjustments to improve mobile layout on the home page. Signed-off-by: Christian Nunciato <c@nunciato.org> * Blog layout and styling improvements (#1237) * Use explicit code blcoks with language * Fix sort order for Author and Tag listings * Make sidebar toggleable on mobile * Resize "poster" image for blog listings * Crop photos to be square * Add posted date, post tags to blog footer * Add recent posts lists to sidebar * Add syntax highlighting to some missed posts * Fix Hugo build warning * Adjust sidebar styling * Cleanup the /docs page (#1239) * Cleanup /docs/aws layouts to match other docs sections * Cleanup /docs pages - Add left nav - Make /docs page look slightly less like a "homepage" - Add top-level "Get Started" and "Reference" headings to left nav * Add `.btn-secondary` and use it in a few places * Remove unnecessary cursor setting (#1245) Should be using the default here. I was debugging and forgot to switch this back before committing. Signed-off-by: Christian Nunciato <c@nunciato.org> * Update the home page video (#1244) This is a slightly shorter version, with typing sections sped up slightly to better respect our visitors’ time. :smile: Signed-off-by: Christian Nunciato <c@nunciato.org> * API doc styling improvements (#1247) * Update API doc styling for Python Bring back the styles used for our Python API docs, convert to use Tailwind, and make further tweaks to make it look even better. For example, all definitions now look like code blocks and indentation and spacing is used to improve the hierarchy of the content. * Only emit the <h1>.Title</h1> if there is a .Title The generated Python API docs don't currently include front matter and therefore do not have a title. We should fix the Python docs gen to do that, but in the meantime, only emit `<h1>.Title</h1>` if the page has a `.Title`, to avoid an unnecessary gap at the top of the page. * Update _pygments.scss to select .highlight instead of .chroma The syntax highlighted code generated by Hugo looks like: ``` <div class="highlight"> <pre class="chroma"> <code class="language-foo"> ... </code> </pre> </div> ``` And our styles looks like: ``` .chroma .k { ... } .chroma .kc { ... } ... ``` This works good, but our generated Python docs, which uses Pygments to do the syntax highlighting, doesn't use `.chroma`, so it doesn't get any syntax highlighting currently, even though all the Pygments classes are there. This is true for our Node.js docs as well, although, based on how we generate the code for that currently, we could relatively easily update the templates to include a `.chroma` class. In all cases, the code that we want highlighted will have a `.highlight` class surrounding it, so just update our styles to select `.highlight` instead of `.chroma`. ``` .highlight .k { ... } .highlight .kc { ... } ... ``` * Update API doc styling for Node.js * Various mobile adjustments and cleanup (#1250) * Pull the hero and section nav into Tailwind "components" and apply them. * Adjust home-page video dimensions accordingly. * Add mobile x-padding to sections that hadn't gotten it yet. * Add an anchor exclusion to the head for the About page. * Fix mobile layout for the Support page. * Fix centering and item distribution on the About page. * Additional minor mobile-related adjustments as encountered. Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix bug in lang chooser (#1249) If I've previously viewed a page in our docs with the language tabs, such as the Get Started guide, and I click the Python tab, that language choice will be persisted to a cookie. If I then visit our Node.js API docs, the lang chooser will see the saved value of "Python" and try to select that tab, hiding all other language snippets. But our Node.js API docs only contain JavaScript and TypeScript snippets, so the end result is that all snippets are hidden and no tab is selected. This change fixes that. If the value in the cookie does not exist in any of the tabs on the page, fallback to the default (JavaScript), otherwise fallback to the first tab that is available on the page. * More small fixes (#1254) * Make the header more responsive Adds padding to medium and above, and adjusts font size and spacing at medium width in order to accommodate the number of items we’re displaying currently. Also uses the full Pulumi logo, since we have room for that now, and adds a little color to the hamburger. Signed-off-by: Christian Nunciato <c@nunciato.org> * Bottom-align the image on the whitepaper layout Also removes the `header` selector from `_hero.scss` in order to reduce the specificity of the rule, allowing it to be overidden more easily with other Tailwind classnames. Signed-off-by: Christian Nunciato <c@nunciato.org> * Add team@pulumi link to the footer Signed-off-by: Christian Nunciato <c@nunciato.org> * Restore the newsroom and investors sections Somehow these got dropped! :scream: Signed-off-by: Christian Nunciato <c@nunciato.org> * Add hero background glows (#1257) Also deletes unused templates. Signed-off-by: Christian Nunciato <c@nunciato.org> * Hide scrollbars if not needed (#1256) * Improve Pricing page responsiveness, fix a few other small things (#1259) * Fix section link on the Why Pulumi page Signed-off-by: Christian Nunciato <c@nunciato.org> * Capitalize Kubernetes in copy Signed-off-by: Christian Nunciato <c@nunciato.org> * Adjust image sizes on Whitepaper page Properly size them on both mobile and desktop. Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix paging on mobile Decrease padding to prevent overflow. Signed-off-by: Christian Nunciato <c@nunciato.org> * Improve Pricing page layout Signed-off-by: Christian Nunciato <c@nunciato.org> * Replace home page video with carousel (#1260) Signed-off-by: Christian Nunciato <c@nunciato.org> * Change Segment module to WWW (#1265) * Hook up new www.pulumi.com/staging stack to CI/CD (#1262) * Move older 'pulumi.io' stacks to infrastructure-old * Add new 'www.pulumi.com' infrastructure folder * Scripts to hook up to CI/CD * Switch back to using generic Travis worker * Add alias to CDN for staging.pulumi.io * Remove alias to staging.pulumi.io * Do not use named profiles for deployments There's an issue today where named profiles which use `credential_source=Environment` don't actually behave correctly with the assume-role tool. Instead of actually assuming the role, it just uses the credentials in the environment, which is not exactly what you want. For now, explicitly set the ARN we want to assume, instead of indirecting across a named profile. * Remove CloudFront alias entirely * Add hover menu (#1266) Signed-off-by: Christian Nunciato <c@nunciato.org> * Hook up new www.pulumi.com/production stack to CI/CD (#1267) * Hook up new www.pulumi.com/production stack to CI/CD * Correct Makefile syntax * Migrate blog posts as of 7/2 (#1268) * Fix Makefile syntax * Fix spelling error ::sigh::
2019-07-02 16:30:33 -07:00
used to power our computation.
## The Pulumi cluster definition
Let's take a look at how our infrastructure is defined. This is the core
of the
[definition](https://github.com/WallarooLabs/wallaroo_blog_examples/blob/master/provisioned-classifier/pulumi/index.js):
```javascript
function instance(name) {
return new aws.ec2.Instance(
name,
{associatePublicIpAddress: true,
instanceType: instanceType,
securityGroups: [secGrp.name],
ami: ami,
tags: {"Name": name},
keyName: keyPair.keyName})
}
let metrics_host = instance("classifier-metrics_host");
let initializer = instance("classifier-initializer");
let workers = [];
for(var i=0; i<clusterSize-1; i++){
workers.push(instance("classifier-"+(i+1).toString()));
}
```
As you can see from the above, our little `instance()` function
encapsulates the common settings for every machine that we want to
provision.
The `metrics_host` and `initializer` are `ec2.Instance` objects with
descriptive names, while the `workers` are `ec2.Instance`s that are
distinguished solely by their ordinal number. Pulumi lets us define --
in code -- things like Security Groups, SSH keypairs, and practically
every other aspect of cloud infrastructure.
An example of this capability is the `keyPair` object that's used to
access the instances via SSH. Our Makefile ensures that an ssh key is
generated on-the-fly for our cluster, and Pulumi knows how to use it to
set up SSH access for newly-provisioned nodes:
```
let pubKey = fs.readFileSync("../ssh_pubkey_in_ec2_format.pub").toString();
let keyPair = new aws.ec2.KeyPair("ClassifierKey", {publicKey: pubKey});
```
With the relevant bits of our computing infrastructure thus defined, we
can tell Pulumi to take action in the real world and make it conform to
our definition:
When we run `make up CLUSTER_SIZE=3`, we'll see Pulumi output something
like the following:
Performing changes:
+ pulumi:pulumi:Stack classifier-classifier-demo creating
+ aws:ec2:KeyPair ClassifierKey creating
(...)
+ aws:ec2:Instance classifier-2 created
---outputs:---
metrics_host: [
[0]: {
name : "classifier-metrics_host"
private_ip: "172.31.47.236"
public_dns: "ec2-54-245-53-87.us-west-2.compute.amazonaws.com"
}
(...)
]
info: 7 changes performed:
+ 7 resources created
Update duration: 1m59.524017637s
We can use Pulumi's output to stitch together an Ansible inventory,
which will let us interact programmatically with our provisioned
instances.
If we want to modify our cluster, we can edit `pulumi/index.js`, and
then rerun `make up CLUSTER_SIZE=N`. If the changes don't require
restarting the instances (for example if they only concern the Security
Group), Pulumi will do the right thing and not disturb the rest of the
infrastructure.
If you examine the Pulumi definition file in depth, you'll see that it
relies on a mystery AMI: `ami-058d2ca16567a23f7`. This is an
experimental ubuntu-based image, with Wallaroo binaries
(`machida`, `cluster_shutdown`,`cluster_shrinker`, and `data_receiver`)
pre-loaded. For now, it only exists in the `us-west-2` AWS region, but
we hope to make Wallaroo AMIs available for experimentation in all
regions starting with the next Wallaroo release.
## Running the computation
Now that we know what magic powers conjured up our AWS infrastructure,
let's take a look at how we use it to run our task. Fundamentally, the
components of our cluster can be described as follows:
1) The data source -- In our case it's the
file [send.py](https://github.com/WallarooLabs/wallaroo_blog_examples/blob/master/provisioned-classifier/bin/send.py),
which can generate and transmit randomly-generated CSV data for our
computation to consume.
2) The machida processes: one Initializer and a bunch of Workers. The
distinction between the two is only relevant at cluster startup.
3) The data receiver -- A process that listens on a TCP port for the
output of our computation. This is the `data_receiver`, provided as part
of a Wallaroo installation.
2022-05-19 19:04:04 -07:00
4) The metrics UI -- Our Elixir-powered realtime dashboard.
GREAT WEBSITE MIGRATION OF 2018 (#1269) * Move content into docs/content * Make navigation and doc generation work Signed-off-by: Christian Nunciato <c@nunciato.org> * Make search work Signed-off-by: Christian Nunciato <c@nunciato.org> * Move docs-specific layouts into layouts/docs Signed-off-by: Christian Nunciato <c@nunciato.org> * Move docs partials into layouts/partials/docs Signed-off-by: Christian Nunciato <c@nunciato.org> * Share a common header and footer Signed-off-by: Christian Nunciato <c@nunciato.org> * Add product & pricing pages, modify main nav Signed-off-by: Christian Nunciato <c@nunciato.org> * Bring images under assets, docs images under assets/images/docs Signed-off-by: Christian Nunciato <c@nunciato.org> * Link to the docs home page, fix image ref Signed-off-by: Christian Nunciato <c@nunciato.org> * Add containers, serverless, kubernetes topics Signed-off-by: Christian Nunciato <c@nunciato.org> * Add careers Signed-off-by: Christian Nunciato <c@nunciato.org> * Add compete, compete -> migrate Signed-off-by: Christian Nunciato <c@nunciato.org> * About, contact Signed-off-by: Christian Nunciato <c@nunciato.org> * Add legal Signed-off-by: Christian Nunciato <c@nunciato.org> * Add product Signed-off-by: Christian Nunciato <c@nunciato.org> * Add partner content Signed-off-by: Christian Nunciato <c@nunciato.org> * Add webinar Signed-off-by: Christian Nunciato <c@nunciato.org> * Add why-pulumi Signed-off-by: Christian Nunciato <c@nunciato.org> * Add GitHub redirect, support Signed-off-by: Christian Nunciato <c@nunciato.org> * Add blog * Add blog - update post frontmatter * Update content/_index.md Co-Authored-By: Justin Van Patten <jvp@justinvp.com> * Remove drafts & redundant fonts, move asset dirs up a level Signed-off-by: Christian Nunciato <c@nunciato.org> * Reconcile blog navigation Signed-off-by: Christian Nunciato <c@nunciato.org> * Migrate some blog content (#1147) * Reconcile www, blog and docs footer items (#1141) Signed-off-by: Christian Nunciato <c@nunciato.org> * Clean up blog layout (#1148) * Migrate more blog posts (#1157) * Replace Bootstrap with TailwindCSS * Add Tailwind * Create a config directory under assets, move PostCSS and Tailwind configs into it * Remove Bootstrap Sass and JS referemce * Refactor the header, base template, and footer to use Tailwind * Pull TOC Sass into its own partial Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor the docs home page Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor docs single, list and section layouts Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor quickstart-clouds partial Signed-off-by: Christian Nunciato <c@nunciato.org> * Reposition config items to fix syntax highlighting Signed-off-by: Christian Nunciato <c@nunciato.org> * Replace syntax CSS theme with Monokai Signed-off-by: Christian Nunciato <c@nunciato.org> * Add a dark blue for links Signed-off-by: Christian Nunciato <c@nunciato.org> * Add the beginnings of Sass color settings Signed-off-by: Christian Nunciato <c@nunciato.org> * Add a Sass file for langchoose Signed-off-by: Christian Nunciato <c@nunciato.org> * Give no-select its own Sass also, since it’s a partial Signed-off-by: Christian Nunciato <c@nunciato.org> * Give docs single and list templates more width for main content Signed-off-by: Christian Nunciato <c@nunciato.org> * Add some padding to the TOC, since we don’t have proper gutters yet Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix button on Quickstart home page Signed-off-by: Christian Nunciato <c@nunciato.org> * TOC styles Signed-off-by: Christian Nunciato <c@nunciato.org> * Quickstart clouds Signed-off-by: Christian Nunciato <c@nunciato.org> * Padding to left and right columns Signed-off-by: Christian Nunciato <c@nunciato.org> * Black for TOC Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor docs/aws to use its own layouts Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix the AWS tech partner image Signed-off-by: Christian Nunciato <c@nunciato.org> * Adjust AWS layouts Signed-off-by: Christian Nunciato <c@nunciato.org> * Move docs-home markup into a layout Signed-off-by: Christian Nunciato <c@nunciato.org> * Format the mini-toc Signed-off-by: Christian Nunciato <c@nunciato.org> * Reduce subhead sizes a bit Signed-off-by: Christian Nunciato <c@nunciato.org> * Remove snowflake styles Signed-off-by: Christian Nunciato <c@nunciato.org> * Extract some Sass partials Signed-off-by: Christian Nunciato <c@nunciato.org> * Define initial purple and blue palettes, use numbered colors instead Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor blog templates Signed-off-by: Christian Nunciato <c@nunciato.org> * Make blog summary a partial, style pagination Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix expanded URLs Signed-off-by: Christian Nunciato <c@nunciato.org> * Rename Documentation to Reference Signed-off-by: Christian Nunciato <c@nunciato.org> * A smattering of minor adjustments Signed-off-by: Christian Nunciato <c@nunciato.org> * Selection state for tags Signed-off-by: Christian Nunciato <c@nunciato.org> * Delete more Bootstrap Signed-off-by: Christian Nunciato <c@nunciato.org> * Comment the banner Signed-off-by: Christian Nunciato <c@nunciato.org> * Restore footer links Signed-off-by: Christian Nunciato <c@nunciato.org> * Legal layout Signed-off-by: Christian Nunciato <c@nunciato.org> * Remove unused layout Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor careers page Signed-off-by: Christian Nunciato <c@nunciato.org> * Use top-level URLs for legal docs Signed-off-by: Christian Nunciato <c@nunciato.org> * Add RSS for the blog (#1170) * Add RSS for the blog * Cleanup team data (#1195) * Cleanup team data * Add missing newlines at EOF * Blog content as of 6/16 (#1196) * Blog content layout tweaks * Migrated blog content (as of Sun 6/16) * Address PR feedback, replace links to pulumi.io * Add fusion stack Any changes to the `fusion` branch will now be deployed to https://fusion.pulumi.io/. * Fix broken links * Fix broken images in fusion branch (#1207) Deletes unnecessary uses of `BaseURL`. In a small number of cases, where we want to emit an absolute URL that includes the `BaseURL`, use the `absURL` function instead, which is smart about handling missing/extra slashes. * Integrate www content (#1208) Signed-off-by: Christian Nunciato <c@nunciato.org> * Highlight currently selected section tab (#1216) * Remove unused partials (#1215) These are no longer referenced, so they can be removed. Signed-off-by: Christian Nunciato <c@nunciato.org> * Blog content as of 6/24 (#1218) * Port running-containers-in-aws-the-lowdown-ecs-fargate-and-eks * Port building-and-publishing-docker-images-to-a-private-amazon-ecr-repository * Port happy-birthday-to-pulumi-open-source * Commit updates to package-lock.json * Link cleanups and other fixes * Remove 'wip' tag * Restore meta_* fields, tidy up some frontmatter (#1214) Signed-off-by: Christian Nunciato <c@nunciato.org> * Add search (#1217) Signed-off-by: Christian Nunciato <c@nunciato.org> * Hide `.language-prologue-*` by default (#1212) So they all don't initially flash as being visible before all but the selected language are hidden. Port from `_pulumi.scss`. * Limit team members to those with status “active” (#1219) Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix links to datadog provider * Remove top margin from code snippets under lang tabs (#1223) * Update MBR DNA logo (#1222) * Add links to cloud logos (#1221) And use `logo-aws_white.png` for AWS * Remove unnecessary aliases (#1210) Now that we'll be hosting the docs on a new domain, there's no need to maintain these aliases. The old site hosted at https://pulumi.io will have redirects from the old aliases to the new location on the new site. * Pricing page updates (#1224) * Add swooshes to the home, pricing and webinar pages. * Replace “tech” PNGs for GitHub, GitLab, Atlassian and SAML with SVGs, and add an email SVG, in order to align all of their images in the pricing grid. * Add a “See plan details” link above the pricing grid. * Update Font Awesome to version 5.8.1 (to match what's in use on www today) in order to pull in the infinity icons used in the pricing grid. * Align CTA buttons horizontally in adjacent boxes containing content of varying heights. * Fix duplicate links on the home and product pages. Signed-off-by: Christian Nunciato <c@nunciato.org> * Update API docs (#1227) * Update tsdocgen paths * Updated API docs * Fix broken images (#1228) Remove unnecessary `{{ .Site.BaseURL }}` prefix from image URLs. * Fix Hugo build warning about non-relative ref/relref page reference (#1229) * Fix page titles and errant anchors (#1226) * Prevent anchors on the home page * Fix page titles Signed-off-by: Christian Nunciato <c@nunciato.org> * Add a robots.txt file (#1225) This change adds a robots.txt template authorizing seach-engine indexing for all pages of the production site. It assumes that all non-production builds will override the `baseURL` configuration property with something other than `https://pulumi.com/`. Signed-off-by: Christian Nunciato <c@nunciato.org> * Blog content fixes (#1231) * Correct post dates, titles * Revert to previous tags * Unify tags, adjust for display * Replace short, social summaries with longer ones * Use a fixed height for the utility bar (#1232) When the GitHub widget loads asynchronously and pops into view, it causes the whole page to shift downward a few pixels, because the widget is taller than the links beside it. Applying an explicit hight to the utility bar fixes this. Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix TOC expansion for the tour (#1234) We're very likely going to remove the tour and disperse its content elsewhere, but in the meantime, fix the TOC expansion for "Beyond the Basics" items. * Add syntax highlighing to layout templates (#1238) This change adds a partial for highlighting code snippets in layouts. Signed-off-by: Christian Nunciato <c@nunciato.org> * Add home-page video (#1240) Also makes a few slight adjustments to improve mobile layout on the home page. Signed-off-by: Christian Nunciato <c@nunciato.org> * Blog layout and styling improvements (#1237) * Use explicit code blcoks with language * Fix sort order for Author and Tag listings * Make sidebar toggleable on mobile * Resize "poster" image for blog listings * Crop photos to be square * Add posted date, post tags to blog footer * Add recent posts lists to sidebar * Add syntax highlighting to some missed posts * Fix Hugo build warning * Adjust sidebar styling * Cleanup the /docs page (#1239) * Cleanup /docs/aws layouts to match other docs sections * Cleanup /docs pages - Add left nav - Make /docs page look slightly less like a "homepage" - Add top-level "Get Started" and "Reference" headings to left nav * Add `.btn-secondary` and use it in a few places * Remove unnecessary cursor setting (#1245) Should be using the default here. I was debugging and forgot to switch this back before committing. Signed-off-by: Christian Nunciato <c@nunciato.org> * Update the home page video (#1244) This is a slightly shorter version, with typing sections sped up slightly to better respect our visitors’ time. :smile: Signed-off-by: Christian Nunciato <c@nunciato.org> * API doc styling improvements (#1247) * Update API doc styling for Python Bring back the styles used for our Python API docs, convert to use Tailwind, and make further tweaks to make it look even better. For example, all definitions now look like code blocks and indentation and spacing is used to improve the hierarchy of the content. * Only emit the <h1>.Title</h1> if there is a .Title The generated Python API docs don't currently include front matter and therefore do not have a title. We should fix the Python docs gen to do that, but in the meantime, only emit `<h1>.Title</h1>` if the page has a `.Title`, to avoid an unnecessary gap at the top of the page. * Update _pygments.scss to select .highlight instead of .chroma The syntax highlighted code generated by Hugo looks like: ``` <div class="highlight"> <pre class="chroma"> <code class="language-foo"> ... </code> </pre> </div> ``` And our styles looks like: ``` .chroma .k { ... } .chroma .kc { ... } ... ``` This works good, but our generated Python docs, which uses Pygments to do the syntax highlighting, doesn't use `.chroma`, so it doesn't get any syntax highlighting currently, even though all the Pygments classes are there. This is true for our Node.js docs as well, although, based on how we generate the code for that currently, we could relatively easily update the templates to include a `.chroma` class. In all cases, the code that we want highlighted will have a `.highlight` class surrounding it, so just update our styles to select `.highlight` instead of `.chroma`. ``` .highlight .k { ... } .highlight .kc { ... } ... ``` * Update API doc styling for Node.js * Various mobile adjustments and cleanup (#1250) * Pull the hero and section nav into Tailwind "components" and apply them. * Adjust home-page video dimensions accordingly. * Add mobile x-padding to sections that hadn't gotten it yet. * Add an anchor exclusion to the head for the About page. * Fix mobile layout for the Support page. * Fix centering and item distribution on the About page. * Additional minor mobile-related adjustments as encountered. Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix bug in lang chooser (#1249) If I've previously viewed a page in our docs with the language tabs, such as the Get Started guide, and I click the Python tab, that language choice will be persisted to a cookie. If I then visit our Node.js API docs, the lang chooser will see the saved value of "Python" and try to select that tab, hiding all other language snippets. But our Node.js API docs only contain JavaScript and TypeScript snippets, so the end result is that all snippets are hidden and no tab is selected. This change fixes that. If the value in the cookie does not exist in any of the tabs on the page, fallback to the default (JavaScript), otherwise fallback to the first tab that is available on the page. * More small fixes (#1254) * Make the header more responsive Adds padding to medium and above, and adjusts font size and spacing at medium width in order to accommodate the number of items we’re displaying currently. Also uses the full Pulumi logo, since we have room for that now, and adds a little color to the hamburger. Signed-off-by: Christian Nunciato <c@nunciato.org> * Bottom-align the image on the whitepaper layout Also removes the `header` selector from `_hero.scss` in order to reduce the specificity of the rule, allowing it to be overidden more easily with other Tailwind classnames. Signed-off-by: Christian Nunciato <c@nunciato.org> * Add team@pulumi link to the footer Signed-off-by: Christian Nunciato <c@nunciato.org> * Restore the newsroom and investors sections Somehow these got dropped! :scream: Signed-off-by: Christian Nunciato <c@nunciato.org> * Add hero background glows (#1257) Also deletes unused templates. Signed-off-by: Christian Nunciato <c@nunciato.org> * Hide scrollbars if not needed (#1256) * Improve Pricing page responsiveness, fix a few other small things (#1259) * Fix section link on the Why Pulumi page Signed-off-by: Christian Nunciato <c@nunciato.org> * Capitalize Kubernetes in copy Signed-off-by: Christian Nunciato <c@nunciato.org> * Adjust image sizes on Whitepaper page Properly size them on both mobile and desktop. Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix paging on mobile Decrease padding to prevent overflow. Signed-off-by: Christian Nunciato <c@nunciato.org> * Improve Pricing page layout Signed-off-by: Christian Nunciato <c@nunciato.org> * Replace home page video with carousel (#1260) Signed-off-by: Christian Nunciato <c@nunciato.org> * Change Segment module to WWW (#1265) * Hook up new www.pulumi.com/staging stack to CI/CD (#1262) * Move older 'pulumi.io' stacks to infrastructure-old * Add new 'www.pulumi.com' infrastructure folder * Scripts to hook up to CI/CD * Switch back to using generic Travis worker * Add alias to CDN for staging.pulumi.io * Remove alias to staging.pulumi.io * Do not use named profiles for deployments There's an issue today where named profiles which use `credential_source=Environment` don't actually behave correctly with the assume-role tool. Instead of actually assuming the role, it just uses the credentials in the environment, which is not exactly what you want. For now, explicitly set the ARN we want to assume, instead of indirecting across a named profile. * Remove CloudFront alias entirely * Add hover menu (#1266) Signed-off-by: Christian Nunciato <c@nunciato.org> * Hook up new www.pulumi.com/production stack to CI/CD (#1267) * Hook up new www.pulumi.com/production stack to CI/CD * Correct Makefile syntax * Migrate blog posts as of 7/2 (#1268) * Fix Makefile syntax * Fix spelling error ::sigh::
2019-07-02 16:30:33 -07:00
Our Ansible playbook takes care of coordinating the launch of the
various components and making sure that their input, output and control
ports match up. In particular, that the cluster initializer starts up
knowing the total number of workers in the cluster, and every other
worker connects to the initializer's internal IP and control port.
This is what ends up running on the servers when we launch our Ansible
playbooks:
![wallaroo](./wallaroo.png)
Once the cluster is up and running, and the initializer node's
[tcp source](https://github.com/WallarooLabs/wallaroo_blog_examples/blob/master/provisioned-classifier/classifier/classifier.py#L17)
is listening for connections, we start up the `sender` and instruct it to
send a stream of data to the TCP Source. In a realistic batch scenario,
2022-05-19 19:04:04 -07:00
this sender could be implemented as a Connector that
GREAT WEBSITE MIGRATION OF 2018 (#1269) * Move content into docs/content * Make navigation and doc generation work Signed-off-by: Christian Nunciato <c@nunciato.org> * Make search work Signed-off-by: Christian Nunciato <c@nunciato.org> * Move docs-specific layouts into layouts/docs Signed-off-by: Christian Nunciato <c@nunciato.org> * Move docs partials into layouts/partials/docs Signed-off-by: Christian Nunciato <c@nunciato.org> * Share a common header and footer Signed-off-by: Christian Nunciato <c@nunciato.org> * Add product & pricing pages, modify main nav Signed-off-by: Christian Nunciato <c@nunciato.org> * Bring images under assets, docs images under assets/images/docs Signed-off-by: Christian Nunciato <c@nunciato.org> * Link to the docs home page, fix image ref Signed-off-by: Christian Nunciato <c@nunciato.org> * Add containers, serverless, kubernetes topics Signed-off-by: Christian Nunciato <c@nunciato.org> * Add careers Signed-off-by: Christian Nunciato <c@nunciato.org> * Add compete, compete -> migrate Signed-off-by: Christian Nunciato <c@nunciato.org> * About, contact Signed-off-by: Christian Nunciato <c@nunciato.org> * Add legal Signed-off-by: Christian Nunciato <c@nunciato.org> * Add product Signed-off-by: Christian Nunciato <c@nunciato.org> * Add partner content Signed-off-by: Christian Nunciato <c@nunciato.org> * Add webinar Signed-off-by: Christian Nunciato <c@nunciato.org> * Add why-pulumi Signed-off-by: Christian Nunciato <c@nunciato.org> * Add GitHub redirect, support Signed-off-by: Christian Nunciato <c@nunciato.org> * Add blog * Add blog - update post frontmatter * Update content/_index.md Co-Authored-By: Justin Van Patten <jvp@justinvp.com> * Remove drafts & redundant fonts, move asset dirs up a level Signed-off-by: Christian Nunciato <c@nunciato.org> * Reconcile blog navigation Signed-off-by: Christian Nunciato <c@nunciato.org> * Migrate some blog content (#1147) * Reconcile www, blog and docs footer items (#1141) Signed-off-by: Christian Nunciato <c@nunciato.org> * Clean up blog layout (#1148) * Migrate more blog posts (#1157) * Replace Bootstrap with TailwindCSS * Add Tailwind * Create a config directory under assets, move PostCSS and Tailwind configs into it * Remove Bootstrap Sass and JS referemce * Refactor the header, base template, and footer to use Tailwind * Pull TOC Sass into its own partial Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor the docs home page Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor docs single, list and section layouts Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor quickstart-clouds partial Signed-off-by: Christian Nunciato <c@nunciato.org> * Reposition config items to fix syntax highlighting Signed-off-by: Christian Nunciato <c@nunciato.org> * Replace syntax CSS theme with Monokai Signed-off-by: Christian Nunciato <c@nunciato.org> * Add a dark blue for links Signed-off-by: Christian Nunciato <c@nunciato.org> * Add the beginnings of Sass color settings Signed-off-by: Christian Nunciato <c@nunciato.org> * Add a Sass file for langchoose Signed-off-by: Christian Nunciato <c@nunciato.org> * Give no-select its own Sass also, since it’s a partial Signed-off-by: Christian Nunciato <c@nunciato.org> * Give docs single and list templates more width for main content Signed-off-by: Christian Nunciato <c@nunciato.org> * Add some padding to the TOC, since we don’t have proper gutters yet Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix button on Quickstart home page Signed-off-by: Christian Nunciato <c@nunciato.org> * TOC styles Signed-off-by: Christian Nunciato <c@nunciato.org> * Quickstart clouds Signed-off-by: Christian Nunciato <c@nunciato.org> * Padding to left and right columns Signed-off-by: Christian Nunciato <c@nunciato.org> * Black for TOC Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor docs/aws to use its own layouts Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix the AWS tech partner image Signed-off-by: Christian Nunciato <c@nunciato.org> * Adjust AWS layouts Signed-off-by: Christian Nunciato <c@nunciato.org> * Move docs-home markup into a layout Signed-off-by: Christian Nunciato <c@nunciato.org> * Format the mini-toc Signed-off-by: Christian Nunciato <c@nunciato.org> * Reduce subhead sizes a bit Signed-off-by: Christian Nunciato <c@nunciato.org> * Remove snowflake styles Signed-off-by: Christian Nunciato <c@nunciato.org> * Extract some Sass partials Signed-off-by: Christian Nunciato <c@nunciato.org> * Define initial purple and blue palettes, use numbered colors instead Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor blog templates Signed-off-by: Christian Nunciato <c@nunciato.org> * Make blog summary a partial, style pagination Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix expanded URLs Signed-off-by: Christian Nunciato <c@nunciato.org> * Rename Documentation to Reference Signed-off-by: Christian Nunciato <c@nunciato.org> * A smattering of minor adjustments Signed-off-by: Christian Nunciato <c@nunciato.org> * Selection state for tags Signed-off-by: Christian Nunciato <c@nunciato.org> * Delete more Bootstrap Signed-off-by: Christian Nunciato <c@nunciato.org> * Comment the banner Signed-off-by: Christian Nunciato <c@nunciato.org> * Restore footer links Signed-off-by: Christian Nunciato <c@nunciato.org> * Legal layout Signed-off-by: Christian Nunciato <c@nunciato.org> * Remove unused layout Signed-off-by: Christian Nunciato <c@nunciato.org> * Refactor careers page Signed-off-by: Christian Nunciato <c@nunciato.org> * Use top-level URLs for legal docs Signed-off-by: Christian Nunciato <c@nunciato.org> * Add RSS for the blog (#1170) * Add RSS for the blog * Cleanup team data (#1195) * Cleanup team data * Add missing newlines at EOF * Blog content as of 6/16 (#1196) * Blog content layout tweaks * Migrated blog content (as of Sun 6/16) * Address PR feedback, replace links to pulumi.io * Add fusion stack Any changes to the `fusion` branch will now be deployed to https://fusion.pulumi.io/. * Fix broken links * Fix broken images in fusion branch (#1207) Deletes unnecessary uses of `BaseURL`. In a small number of cases, where we want to emit an absolute URL that includes the `BaseURL`, use the `absURL` function instead, which is smart about handling missing/extra slashes. * Integrate www content (#1208) Signed-off-by: Christian Nunciato <c@nunciato.org> * Highlight currently selected section tab (#1216) * Remove unused partials (#1215) These are no longer referenced, so they can be removed. Signed-off-by: Christian Nunciato <c@nunciato.org> * Blog content as of 6/24 (#1218) * Port running-containers-in-aws-the-lowdown-ecs-fargate-and-eks * Port building-and-publishing-docker-images-to-a-private-amazon-ecr-repository * Port happy-birthday-to-pulumi-open-source * Commit updates to package-lock.json * Link cleanups and other fixes * Remove 'wip' tag * Restore meta_* fields, tidy up some frontmatter (#1214) Signed-off-by: Christian Nunciato <c@nunciato.org> * Add search (#1217) Signed-off-by: Christian Nunciato <c@nunciato.org> * Hide `.language-prologue-*` by default (#1212) So they all don't initially flash as being visible before all but the selected language are hidden. Port from `_pulumi.scss`. * Limit team members to those with status “active” (#1219) Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix links to datadog provider * Remove top margin from code snippets under lang tabs (#1223) * Update MBR DNA logo (#1222) * Add links to cloud logos (#1221) And use `logo-aws_white.png` for AWS * Remove unnecessary aliases (#1210) Now that we'll be hosting the docs on a new domain, there's no need to maintain these aliases. The old site hosted at https://pulumi.io will have redirects from the old aliases to the new location on the new site. * Pricing page updates (#1224) * Add swooshes to the home, pricing and webinar pages. * Replace “tech” PNGs for GitHub, GitLab, Atlassian and SAML with SVGs, and add an email SVG, in order to align all of their images in the pricing grid. * Add a “See plan details” link above the pricing grid. * Update Font Awesome to version 5.8.1 (to match what's in use on www today) in order to pull in the infinity icons used in the pricing grid. * Align CTA buttons horizontally in adjacent boxes containing content of varying heights. * Fix duplicate links on the home and product pages. Signed-off-by: Christian Nunciato <c@nunciato.org> * Update API docs (#1227) * Update tsdocgen paths * Updated API docs * Fix broken images (#1228) Remove unnecessary `{{ .Site.BaseURL }}` prefix from image URLs. * Fix Hugo build warning about non-relative ref/relref page reference (#1229) * Fix page titles and errant anchors (#1226) * Prevent anchors on the home page * Fix page titles Signed-off-by: Christian Nunciato <c@nunciato.org> * Add a robots.txt file (#1225) This change adds a robots.txt template authorizing seach-engine indexing for all pages of the production site. It assumes that all non-production builds will override the `baseURL` configuration property with something other than `https://pulumi.com/`. Signed-off-by: Christian Nunciato <c@nunciato.org> * Blog content fixes (#1231) * Correct post dates, titles * Revert to previous tags * Unify tags, adjust for display * Replace short, social summaries with longer ones * Use a fixed height for the utility bar (#1232) When the GitHub widget loads asynchronously and pops into view, it causes the whole page to shift downward a few pixels, because the widget is taller than the links beside it. Applying an explicit hight to the utility bar fixes this. Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix TOC expansion for the tour (#1234) We're very likely going to remove the tour and disperse its content elsewhere, but in the meantime, fix the TOC expansion for "Beyond the Basics" items. * Add syntax highlighing to layout templates (#1238) This change adds a partial for highlighting code snippets in layouts. Signed-off-by: Christian Nunciato <c@nunciato.org> * Add home-page video (#1240) Also makes a few slight adjustments to improve mobile layout on the home page. Signed-off-by: Christian Nunciato <c@nunciato.org> * Blog layout and styling improvements (#1237) * Use explicit code blcoks with language * Fix sort order for Author and Tag listings * Make sidebar toggleable on mobile * Resize "poster" image for blog listings * Crop photos to be square * Add posted date, post tags to blog footer * Add recent posts lists to sidebar * Add syntax highlighting to some missed posts * Fix Hugo build warning * Adjust sidebar styling * Cleanup the /docs page (#1239) * Cleanup /docs/aws layouts to match other docs sections * Cleanup /docs pages - Add left nav - Make /docs page look slightly less like a "homepage" - Add top-level "Get Started" and "Reference" headings to left nav * Add `.btn-secondary` and use it in a few places * Remove unnecessary cursor setting (#1245) Should be using the default here. I was debugging and forgot to switch this back before committing. Signed-off-by: Christian Nunciato <c@nunciato.org> * Update the home page video (#1244) This is a slightly shorter version, with typing sections sped up slightly to better respect our visitors’ time. :smile: Signed-off-by: Christian Nunciato <c@nunciato.org> * API doc styling improvements (#1247) * Update API doc styling for Python Bring back the styles used for our Python API docs, convert to use Tailwind, and make further tweaks to make it look even better. For example, all definitions now look like code blocks and indentation and spacing is used to improve the hierarchy of the content. * Only emit the <h1>.Title</h1> if there is a .Title The generated Python API docs don't currently include front matter and therefore do not have a title. We should fix the Python docs gen to do that, but in the meantime, only emit `<h1>.Title</h1>` if the page has a `.Title`, to avoid an unnecessary gap at the top of the page. * Update _pygments.scss to select .highlight instead of .chroma The syntax highlighted code generated by Hugo looks like: ``` <div class="highlight"> <pre class="chroma"> <code class="language-foo"> ... </code> </pre> </div> ``` And our styles looks like: ``` .chroma .k { ... } .chroma .kc { ... } ... ``` This works good, but our generated Python docs, which uses Pygments to do the syntax highlighting, doesn't use `.chroma`, so it doesn't get any syntax highlighting currently, even though all the Pygments classes are there. This is true for our Node.js docs as well, although, based on how we generate the code for that currently, we could relatively easily update the templates to include a `.chroma` class. In all cases, the code that we want highlighted will have a `.highlight` class surrounding it, so just update our styles to select `.highlight` instead of `.chroma`. ``` .highlight .k { ... } .highlight .kc { ... } ... ``` * Update API doc styling for Node.js * Various mobile adjustments and cleanup (#1250) * Pull the hero and section nav into Tailwind "components" and apply them. * Adjust home-page video dimensions accordingly. * Add mobile x-padding to sections that hadn't gotten it yet. * Add an anchor exclusion to the head for the About page. * Fix mobile layout for the Support page. * Fix centering and item distribution on the About page. * Additional minor mobile-related adjustments as encountered. Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix bug in lang chooser (#1249) If I've previously viewed a page in our docs with the language tabs, such as the Get Started guide, and I click the Python tab, that language choice will be persisted to a cookie. If I then visit our Node.js API docs, the lang chooser will see the saved value of "Python" and try to select that tab, hiding all other language snippets. But our Node.js API docs only contain JavaScript and TypeScript snippets, so the end result is that all snippets are hidden and no tab is selected. This change fixes that. If the value in the cookie does not exist in any of the tabs on the page, fallback to the default (JavaScript), otherwise fallback to the first tab that is available on the page. * More small fixes (#1254) * Make the header more responsive Adds padding to medium and above, and adjusts font size and spacing at medium width in order to accommodate the number of items we’re displaying currently. Also uses the full Pulumi logo, since we have room for that now, and adds a little color to the hamburger. Signed-off-by: Christian Nunciato <c@nunciato.org> * Bottom-align the image on the whitepaper layout Also removes the `header` selector from `_hero.scss` in order to reduce the specificity of the rule, allowing it to be overidden more easily with other Tailwind classnames. Signed-off-by: Christian Nunciato <c@nunciato.org> * Add team@pulumi link to the footer Signed-off-by: Christian Nunciato <c@nunciato.org> * Restore the newsroom and investors sections Somehow these got dropped! :scream: Signed-off-by: Christian Nunciato <c@nunciato.org> * Add hero background glows (#1257) Also deletes unused templates. Signed-off-by: Christian Nunciato <c@nunciato.org> * Hide scrollbars if not needed (#1256) * Improve Pricing page responsiveness, fix a few other small things (#1259) * Fix section link on the Why Pulumi page Signed-off-by: Christian Nunciato <c@nunciato.org> * Capitalize Kubernetes in copy Signed-off-by: Christian Nunciato <c@nunciato.org> * Adjust image sizes on Whitepaper page Properly size them on both mobile and desktop. Signed-off-by: Christian Nunciato <c@nunciato.org> * Fix paging on mobile Decrease padding to prevent overflow. Signed-off-by: Christian Nunciato <c@nunciato.org> * Improve Pricing page layout Signed-off-by: Christian Nunciato <c@nunciato.org> * Replace home page video with carousel (#1260) Signed-off-by: Christian Nunciato <c@nunciato.org> * Change Segment module to WWW (#1265) * Hook up new www.pulumi.com/staging stack to CI/CD (#1262) * Move older 'pulumi.io' stacks to infrastructure-old * Add new 'www.pulumi.com' infrastructure folder * Scripts to hook up to CI/CD * Switch back to using generic Travis worker * Add alias to CDN for staging.pulumi.io * Remove alias to staging.pulumi.io * Do not use named profiles for deployments There's an issue today where named profiles which use `credential_source=Environment` don't actually behave correctly with the assume-role tool. Instead of actually assuming the role, it just uses the credentials in the environment, which is not exactly what you want. For now, explicitly set the ARN we want to assume, instead of indirecting across a named profile. * Remove CloudFront alias entirely * Add hover menu (#1266) Signed-off-by: Christian Nunciato <c@nunciato.org> * Hook up new www.pulumi.com/production stack to CI/CD (#1267) * Hook up new www.pulumi.com/production stack to CI/CD * Correct Makefile syntax * Migrate blog posts as of 7/2 (#1268) * Fix Makefile syntax * Fix spelling error ::sigh::
2019-07-02 16:30:33 -07:00
reads a particular file from a remote filesystem or S3. For our
purposes, we'll simulate this by generating a set number of CSV lines
on-demand, and then shutting down.
While the work is being performed, we can take a look at the metrics URL
printed out on the screen to find out how the work is being distributed.
> To see the cluster's real-time metrics, please visit
> `http://ec2-54-200-198-6.us-west-2.compute.amazonaws.com:4000`
![wallaroo-2](./wallaroo-2.png)
In the screenshot above, you can see that
the `Initializer` and `B03a909b23`nodes are processing about 4k messages
per second each, and all the other workers have the classification work
split evenly among them. Don't be surprised that two of the workers are
processing orders of magnitude more messages! Remember our
[pandas application pipeline](https://github.com/WallarooLabs/wallaroo_blog_examples/blob/master/provisioned-classifier/classifier/classifier.py#L11-L21)?
ab.new_pipeline("Classifier",
wallaroo.TCPSourceConfig(in_host, in_port, decode))
ab.to_stateful(batch_rows, RowBuffer, "CSV rows + global header state")
ab.to_parallel(classify)
ab.to_sink(wallaroo.TCPSinkConfig(out_host, out_port, encode))
return ab.build()
The CSV rows come in one-by-one, but we batch them and convert them to
dataframes of a hundred, so that our classification algorithm can tackle
more than one row at a time. Worker `B03a909b23` just happens to be the
worker where our state named "CSV rows + global header state" lives.
Let's take a look at its metrics:
![wallaroo3](./wallaroo-3.png)
Indeed, we can see that this worker is processing about 4k/sec messages
in the "Batch Rows Of Csv, Emit Dataframes" step. Every other worker is
busy classifying! Let's see the breakdown for a different, random
worker:
![wallaroo-4](./wallaroo-4.png)
Looking good. All that's left for us to do is wait until the job
completes and we receive our zipped data onto our disk.
## The numbers!
As a reminder, let's take a look at the numbers we obtained by running
our classifier on a single `c5.4xlarge` instance in AWS:
```
# SINGLE-MACHINE RUNNING TIMES (NO PROVISIONING)
CSV rows 1 worker 4 workers 8 workers
----------- ---------- ----------- -----------
10 000 39s 20s 11s
100 000 6m28s 3m16s 1m41s
1 000 000 1h03m46s 32m12s 16m33s
```
Now, let's see how much speedup we can achieve from scaling out with our
provisioned-on-demand infrastructure.
```
# MULTI-MACHINE RUNNING TIMES (PROVISIONING + COMPUTATION)
----------------------------------------------------------
CSV rows 4 machines/ 8 machines/ 16 machines/
28 workers 56 workers 112 workers
------------ -------------- -------------- ---------------
10 000 2m13s 2m36s 2m43s
100 000 3m38s 3m42s 3m48s
1 000 000 7m38s 6m41s 5m56s
10 000 000 40m56s 33m10s 23m24s
30 000 000 > 2h 1h45m 1h12m
----------------------------------------------------------
```
Even though there is some constant overhead involved in spinning up the
required infrastructure (clearly too much overhead to justify spinning
up clusters for less than 1 million rows), we're now able to classify a
hefty 10 million rows of CSV data in under half an hour, and 30 million
in a little over an hour. This gives us some perspective on when our
application will need extra resources, or perhaps some performance
optimizations.
As long as the data fits in the 1 million : 10 million range, it seems
that a cluster of 4 machines represents a sweet-spot between price and
performance -- we can process the data and still fit in the hour-long
window allotted for our batch process, but not have to incur unnecessary
infrastructure costs if we don't need the extra speed.
## Conclusion
The above figures illustrate how Wallaroo can be used as an ad-hoc
compute cloud, using Pulumi and Ansible to provision, run workloads
remotely, and shut down the infrastructure once the results are in.
In the case or our batch job, we can leverage this pattern to scale
horizontally on-demand, even when the incoming workloads exceed the
capacity of one physical machine -- all while running the exact same
Wallaroo application that we run locally as part of our regular
development. Wallaroo handles the scale-aware layer of our program, so
we can focus on the business logic and flow of our data.
If you're hitting limits when running your hourly, daily or nightly
batch jobs and are looking into scaling out horizontally, don't hesitate
to reach out or drop in to our IRC channel. We'd love to chat!