docs at weaveworks: dx from open source to saas and beyond

17
Docs at Weaveworks: DX from open source to SaaS and beyond Luke Marsden, Developer Experience @lmarsden

Upload: luke-marsden

Post on 21-Jan-2018

36 views

Category:

Internet


0 download

TRANSCRIPT

Page 1: Docs at Weaveworks: DX from open source to SaaS and beyond

Docs at Weaveworks: DX from open source to SaaS and beyond

Luke Marsden, Developer Experience@lmarsden

Page 2: Docs at Weaveworks: DX from open source to SaaS and beyond

What does Weave do?

Weave Cloud helps software teams iterate faster with: • Deploy: continuous

delivery • Explore: visualize &

troubleshoot • Monitor: Prometheus

monitoring as a service

Page 3: Docs at Weaveworks: DX from open source to SaaS and beyond

Meet the DX team

Anita Mexico Docs

Tamao SF Community

Ilya London Code

Luke London Lead

Page 4: Docs at Weaveworks: DX from open source to SaaS and beyond

Once upon a time…• Docker • Weave Net • Weave Scope • All open source…

Page 5: Docs at Weaveworks: DX from open source to SaaS and beyond

When I joined a year ago• Two repos on GitHub (net & scope) • Each repo has markdown files in it • WordPress marketing site with staging • “Wordepress” plugin we wrote to ship markdown

docs to Wordpress • Net & scope devs could preview docs changes

in staging

Page 6: Docs at Weaveworks: DX from open source to SaaS and beyond

Types of documentation• Open source project docs • Guides • Step by step • Interactive labs (katacoda)

• Marketing site copy • Blog posts

Page 7: Docs at Weaveworks: DX from open source to SaaS and beyond

A word on Katacoda• Katacoda.com enables interactive labs • Minimizes “mean time to value” • Example: our continuous delivery demo requires

Kubernetes, version control, container registry • Katacoda lets us bundle all of these in a

preconfigured ephemeral environment, to get straight to the value

Page 8: Docs at Weaveworks: DX from open source to SaaS and beyond

Problems• WordPress was slow and painful to

change • Guides had horrific manual process to

update

Page 9: Docs at Weaveworks: DX from open source to SaaS and beyond

SaaS product• H2 2016: Weaveworks starts selling a

SaaS subscription to Weave Cloud • Cloud = Flux + Scope + Cortex + Net +

User mgmt + GUI • Docs needed to catch up

Page 10: Docs at Weaveworks: DX from open source to SaaS and beyond

Solution• New website effort started H1 2017 with

Sonja • Anita spearheaded Weave Cloud docs

effort

Page 11: Docs at Weaveworks: DX from open source to SaaS and beyond

Website – Requirements• Marketing: need GUI interface for editing

website copy, blog posts & SEO • DX: want to manage guides using markdown in

GitHub with pull requests • Engineering: want to keep open source

product docs in GitHub, need previews in those pull requests – Ilya made this happen

Page 12: Docs at Weaveworks: DX from open source to SaaS and beyond

Website – Solution

Netlify CI + CDN(or local builds in Docker)

GitHubwebsite-next repoJekyll site

Tutorials .md as part of website-next

Built.io headless CMScopy, blogs & assets

GitHubscope + net repos Scope + Net CI trigger

preview URL from ref

live site

staging site

preview URL per PR

local build

Page 13: Docs at Weaveworks: DX from open source to SaaS and beyond

Website – Challenges• Builds are slow, pulls down all assets from

Built.io every time • Builds aren’t 100% reliable or reproducible

since fetching from built.io isn’t atomic • Overall a huge improvement though :-)

Page 14: Docs at Weaveworks: DX from open source to SaaS and beyond

Weave Cloud docs• Anita’s effort – excellent work! • Inspired by Kubernetes docs structure • Concepts • Tasks • Tutorials • Reference

• Great job of introducing concepts gradually

Page 15: Docs at Weaveworks: DX from open source to SaaS and beyond

A note on WOUGs• WOUG = Weave Online User Group • We run online talks, trainings & meetups every

week (and some in-person too!) • Tamao has done excellent work spearheading

this effort • Real community building, demand generation for

product, product feedback

Page 16: Docs at Weaveworks: DX from open source to SaaS and beyond

Challenges• Hard to coordinate docs changes with

engineering • Multiple teams, releasing continuously to SaaS

service • Docs need to keep up • Experimenting with mailing list for coordination • Same challenge for marketing!

Page 17: Docs at Weaveworks: DX from open source to SaaS and beyond

We’re hiring DX in Bay Area!

Great work/life balance, 20% open source, talks & content Email me :) [email protected]