Commit Graph

47 Commits

Author SHA1 Message Date
Rahat Mahmood c99ad8d541 Add reference to gsoc 2021 proposal page for website.
PiperOrigin-RevId: 357241880
2021-02-12 12:12:53 -08:00
Ian Lewis d02c03a268 Syscall docs update
- Moves the id to the <tr> tag so that the page aligns properly when using an
anchor.
- Makes the syscall number a link to the anchor.
- Fixes some broken links to syscalls without man pages.

PiperOrigin-RevId: 353159903
2021-01-21 20:11:53 -08:00
Ian Lewis 33b803e47f Add syscall docs back to menu
Syscall docs were excluded from the navigation menu. This change adds them
back.

PiperOrigin-RevId: 352942238
2021-01-20 21:53:11 -08:00
Dean Deng 1efe0ebc59 Switch uses of os.Getenv that check for empty string to os.LookupEnv.
Whether the variable was found is already returned by syscall.Getenv.
os.Getenv drops this value while os.Lookupenv passes it along.

PiperOrigin-RevId: 351674032
2021-01-13 15:15:20 -08:00
Fabricio Voznika 8b0f0b4d11 Delete shim v1
gvisor-containerd-shim is not compatible with containerd 1.1 or earlier.
Starting from containerd 1.2, shim v2 is the preferred interface.

PiperOrigin-RevId: 351485556
2021-01-12 17:54:10 -08:00
Adin Scannell 0538ffa8ba Add prefix helper to link to code search results.
This is extremely convenient similar to being able to link to Go
package documentation via the canonical package names.

PiperOrigin-RevId: 350774913
2021-01-08 09:09:54 -08:00
Adin Scannell 77b340ce82 Require specific buckets for pprof handler.
This further restricts the surface exposed only to artifacts
generated by the continuous integration system.

This change also installs appropriate root certificates, so
that objects can be fetched from https://storage.googleapis.com.

PiperOrigin-RevId: 350650197
2021-01-07 15:30:37 -08:00
Michael Pratt a0037b8976 website: redirect module to pkg.go.dev
Add redirects from any module package path to its corressponding
pkg.go.dev documentation. e.g., gvisor.dev/gvisor/pkg/sentry/kernel ->
https://pkg.go.dev/gvisor.dev/gvisor/pkg/sentry/kernel.

This is a handy way to get to documentation, also used by other vanity
domains, like golang.org/x/tools.
2021-01-07 09:53:33 -05:00
Adin Scannell fa8682da0f Export a pprof visualization endpoint.
This allows us to link directly to profiling results from
the build results. The code uses the standard pprof http
server, exported from the Cloud Run instance.

PiperOrigin-RevId: 350440910
2021-01-06 15:44:07 -08:00
Ian Lewis 28c3260d74 Add simple guidelines & instructions for blog contribution
Modeled after knative's blog guidelines.
https://github.com/knative/docs/blob/master/blog/README.md

PiperOrigin-RevId: 346905713
2020-12-10 18:06:46 -08:00
Ian Lewis b0b275449b Add url option for blog authors
PiperOrigin-RevId: 339608078
2020-10-28 23:16:30 -07:00
Ian Lewis ef9378711b Fix platforms blog post permalink
PiperOrigin-RevId: 339182848
2020-10-26 22:06:49 -07:00
Adin Scannell 7926a9e28d Add nogo configuration.
This splits the nogo rules into a separate configuration yaml file, and
allows for multiple files to be provided.

Because attrs cannot be passed down to aspects, this required that all
findings are propagated up the aspect Provider. This doesn't mean that
any extra work must be done, just that this information must be carried
through the graph, and some additional starlark complexity is required.

PiperOrigin-RevId: 339076357
2020-10-26 11:11:46 -07:00
Dean Deng 54d2d927ac Direct gvisor.dev/issues to the same place as gvisor.dev/issue.
Also let the Github bug reviver detect both in TODOs.

PiperOrigin-RevId: 338785089
2020-10-23 19:29:26 -07:00
Ian Lewis cc772f3d54 Add a platform portability blog post
Also fixes the docker_image bazel rule, and website-server make target.

Fixes #3273

PiperOrigin-RevId: 338606668
2020-10-22 21:22:54 -07:00
Adin Scannell 0a7e32bd17 Add easier-to-use docker_image target.
PiperOrigin-RevId: 337415009
2020-10-15 17:21:24 -07:00
Ian Lewis 631dd5330d Various website fixes
- Formatting on the most recent blog post
- Add a link to faq from containerd docs
- Fix code in FAQ

PiperOrigin-RevId: 337001738
2020-10-13 18:59:45 -07:00
Fabricio Voznika 73f3a34b52 Point blog to install guide
It containes full instructions to download and install
runsc with Docker now.

PiperOrigin-RevId: 332960337
2020-09-21 16:28:45 -07:00
Fabricio Voznika ddf37cb19f Reduce the number of steps to get started with gVisor
Streamline instruction for the common case.

PiperOrigin-RevId: 332488910
2020-09-18 11:21:06 -07:00
Fabricio Voznika 93fd164fa2 Add "Containing a Real Vulnerability" blog post
PiperOrigin-RevId: 332477119
2020-09-18 10:28:07 -07:00
Ian Lewis 26439f9a43 Add syntax highlighting to website
Adds a syntax highlighting theme css so that code snippets are highlighted
properly.

PiperOrigin-RevId: 330733737
2020-09-09 09:08:37 -07:00
Ian Lewis 00479af515 Add a Docker Compose tutorial
Adds a Docker Compose tutorial to the website that shows how to start a
Wordpress site and includes information about how to get DNS working.

Fixes #115

PiperOrigin-RevId: 330652842
2020-09-08 21:59:24 -07:00
Ian Lewis f4be726fde Use 1080p background image.
This makes the background image on the top page 1/3 as big and allows it to
load in roughly half the time.

PiperOrigin-RevId: 329462030
2020-09-01 01:28:19 -07:00
Fabricio Voznika be76c7ce6e Move boot.Config to its own package
Updates #3494

PiperOrigin-RevId: 327548511
2020-08-19 18:37:42 -07:00
Zach Koopmans 80c80a1410 Remove old benchmark tools.
Remove the old benchmark-tools directory, including
imports in the WORKSPACE file and associated bazel rules.

The new Golang benchmark-tools can be found at //test/benchmarks
and it is functionally equivalent, excepting syscall_test
which can be found in //test/perf/linux.

PiperOrigin-RevId: 325529075
2020-08-07 16:18:51 -07:00
Adin Scannell 90021e775a Add bzl_library rules for .bzl files without one.
PiperOrigin-RevId: 325280924
2020-08-06 12:10:49 -07:00
Ian Lewis 9873b8ea3e Add shim documentation to the website.
Add three new doc pages to the website.

- A containerd quick start covering containerd 1.2. This is limited to shim v2
  and runtime class as the docs would get too complicated explaining all the
  combinations that are possible. We want folks to use shim v2 and runtime
  class anyway.
- An advanced configuration page. This covers containerd and
  containerd-shim-runsc-v1's configuration options.
- A page for old versions (i.e. containerd 1.1). Notes that this is deprecated
  and supported on a best-effort basis.

Fixes #3279

PiperOrigin-RevId: 324775563
2020-08-04 02:43:44 -07:00
Ian Lewis a02b7534f2 Fix grouping and ordering of website menus
Groups subcategories and sorts their pages by weight properly. Subcategories
are sorted by name. Pages within subcategories are sorted by weight.

PiperOrigin-RevId: 324766128
2020-08-04 01:07:42 -07:00
Ian Lewis feb1d3d5a7 Clean up html on the website.
- Fixes some html validation issues.
- Fixes links on security basics blog post.
- Adds rel=noopener to links with target=_blank and adds a check to
  htmlproofer.
- Add favicon check to htmlproofer.

Fixes #3286
Fixes #3284

PiperOrigin-RevId: 321892602
2020-07-17 18:27:41 -07:00
Michael Pratt 068716ddf3 Fix FAQ URL
The existing gvisor.dev/faq link returns 404 because the full URL has
mistakenly been capitalized.

PiperOrigin-RevId: 319233173
2020-07-01 08:53:44 -07:00
Dean Deng dce2dfae04 Add build target for the provisional style guide.
This includes the provisional style guide in the website and fixes the broken
link from CONTRIBUTING.md. The style guide will be located under the "Community"
category as it's related to contributing to the project.

Also, add missing includes that were causing some presubmits to fail.

PiperOrigin-RevId: 319061410
2020-06-30 11:25:55 -07:00
Adin Scannell 26bbecf00f Ensure sitemap is generated.
PiperOrigin-RevId: 313478820
2020-05-27 15:47:30 -07:00
Adin Scannell 5bf33a3863 Unbreak permalink.
The permalink should be "linux" not "Linux.

PiperOrigin-RevId: 312518858
2020-05-20 11:20:40 -07:00
Adin Scannell 420b791a3d Minor formatting updates for gvisor.dev.
* Aggregate architecture Overview in "What is gVisor?" as it makes more sense
  in one place.

* Drop "user-space kernel" and use "application kernel". The term "user-space
  kernel" is confusing when some platform implementation do not run in
  user-space (instead running in guest ring zero).

* Clear up the relationship between the Platform page in the user guide and the
  Platform page in the architecture guide, and ensure they are cross-linked.

* Restore the call-to-action quick start link in the main page, and drop the
  GitHub link (which also appears in the top-right).

* Improve image formatting by centering all doc and blog images, and move the
  image captions to the alt text.

PiperOrigin-RevId: 311845158
2020-05-15 20:05:18 -07:00
Adin Scannell 1847165a8c Minor text updates and jquery ordering.
PiperOrigin-RevId: 311744091
2020-05-15 09:31:17 -07:00
gVisor bot a3f97a757a Merge pull request #2513 from amscanne:website-integrated
PiperOrigin-RevId: 311184385
2020-05-12 12:55:23 -07:00
Adin Scannell 5f3a256425 Add support for kramdown TOC. 2020-05-06 14:15:19 -07:00
Adin Scannell a10d5ed969 Add atom feed (at previous URL). 2020-05-06 14:15:19 -07:00
Adin Scannell 7de6fb18f9 Clean-up documentation. 2020-05-06 14:15:19 -07:00
Adin Scannell cf86ec5e40 Add powered by gVisor logo. 2020-05-06 14:15:19 -07:00
Adin Scannell 73d7024510 Fixup transitions for navbar. 2020-05-06 14:15:18 -07:00
Adin Scannell b6ba247fa6 Update main landing page. 2020-05-06 14:15:18 -07:00
Adin Scannell 508e25b6d6 Adapt website to use g3doc sources and bazel.
This adapts the merged website repository to use the image and bazel
build framework. It explicitly avoids the container_image rules provided
by bazel, opting instead to build with direct docker commands when
necessary.

The relevant build commands are incorporated into the top-level
Makefile.
2020-05-06 14:15:18 -07:00
Adin Scannell 8cb33ce5de Fix cache permissions. 2020-05-06 14:15:18 -07:00
Adin Scannell 228c6ad7cc Move new post image. 2020-05-06 14:15:17 -07:00
Adin Scannell a79b3f4cdb Update minor formatting issues. 2020-05-06 14:15:17 -07:00
Adin Scannell 957e26a6f3 Move website to a simpler jekyll-based template
This will allow us to merge the site into the main repository.

This merge allows the documentation to be kept up-to-date and
synchronized with the main project. Builds will be triggered on any
update, removing the need for the cron-based reploy.
2020-04-21 12:00:59 -07:00