Commit Graph

24 Commits

Author SHA1 Message Date
Ian Gudger bab3c36efb Add style guide.
PiperOrigin-RevId: 318591900
2020-06-26 21:10:37 -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 c60613475c Standardize all Docker images.
This change moves all Docker images to a standard location, and abstracts the
build process so that they can be maintained in an automated fashion. This also
allows the images to be architecture-independent.

All images will now be referred to by the test framework via the canonical
`gvisor.dev/images/<name>`, where `<name>` is a function of the path within the
source tree.

In a subsequent change, continuous integration will be added so that the images
will always be correct and available locally.

In the end, using `bazel` for Docker containers is simply not possible. Given
that we already have the need to use `make` with the base container (for
Docker), we extend this approach to get more flexibility.

This change also adds a self-documenting and powerful Makefile that is intended
to replace the collection of scripts in scripts. Canonical (self-documenting)
targets can be added here for targets that understand which images need to be
loaded and/or built.

PiperOrigin-RevId: 308322438
2020-04-24 14:11:42 -07:00
Adin Scannell e5d9a4010b Add ability to execute go.mod in gopath context. 2020-02-28 10:21:17 -08:00
Adin Scannell afcab8fe9f Clean-up comments in runsc/BUILD and CONTRIBUTING.md.
PiperOrigin-RevId: 294300437
2020-02-10 14:15:36 -08:00
Adin Scannell 5776a7b6f6 Fix header ordering and format all C++ code.
PiperOrigin-RevId: 291844200
2020-01-27 18:27:20 -08:00
Fabricio Voznika 010b093258 Bring back to life features lost in recent refactor
- Sandbox logs are generated when running tests
- Kokoro uploads the sandbox logs
- Supports multiple parallel runs
- Revive script to install locally built runsc with docker

PiperOrigin-RevId: 269337274
2019-09-16 08:17:00 -07:00
gVisor bot c8ae00eb8a Merge pull request #350 from kshithijiyer:patch-1
PiperOrigin-RevId: 257887940
2019-07-12 16:15:51 -07:00
Adin Scannell 4ad6705089 CONTRIBUTING: add logs access instructions.
PiperOrigin-RevId: 257870018
2019-07-12 14:34:33 -07:00
Kshithij Iyer 88037ca215
Removing trailing whitespaces and adding a blank line after title 2019-06-11 23:41:25 +05:30
Kshithij Iyer b700257df5
Adding missing title in contributing.md 2019-06-11 22:12:05 +05:30
Adin Scannell e3c5fa3345 Update CONTRIBUTING.md
PiperOrigin-RevId: 250730726
2019-05-30 12:09:10 -07:00
Adin Scannell 2c1c1c9917 CONTRIBUTING: fix broken repository link
PiperOrigin-RevId: 246079174
Change-Id: I423078a065e0cc5d258d674b4f2f0680a5db0aee
2019-04-30 21:53:59 -07:00
Nicolas Lacasse f4ce43e1f4 Allow and document bug ids in gVisor codebase.
PiperOrigin-RevId: 245818639
Change-Id: I03703ef0fb9b6675955637b9fe2776204c545789
2019-04-29 14:04:14 -07:00
Adin Scannell efacb8d900 CONTRIBUTING: add style guide pointer
Change-Id: I93a78a6b2bb2eaa69046c6cfecee2e4cfcf20e44
PiperOrigin-RevId: 243140359
2019-04-11 14:18:01 -07:00
Adin Scannell 75c8ac38e0 BUILD: Add useful go_path target
Change-Id: Ibd6d8a1a63826af6e62a0f0669f8f0866c8091b4
PiperOrigin-RevId: 242037969
2019-04-04 17:05:38 -07:00
Michael Pratt a9fe9afd63 Note //third_party in coding guidelines
PiperOrigin-RevId: 232375745
Change-Id: I26146ad65fac1dcdc5fcb4b11a1580133f9ca46d
2019-02-04 15:13:51 -08:00
Michael Pratt e22c4cba47 Clarify CLA requirements and Gerrit error
Call out the error that Gerrit returns if there is no CLA on file.

PiperOrigin-RevId: 214964718
Change-Id: I3d92e3eb73f178e8c4c52b5defbe8d21db536215
2018-09-28 11:12:30 -07:00
Michael Pratt 41e0b977e5 Format documentation
PiperOrigin-RevId: 204323728
Change-Id: I1ff9aa062ffa12583b2e38ec94c87db7a3711971
2018-07-12 10:37:21 -07:00
Adin Scannell 1eb1bf8670 Update contributing guidelines with an example.
Fixes #69

PiperOrigin-RevId: 200683809
Change-Id: I1312ebb3775d5f9088e9108359c19e2dedbb7b70
2018-06-15 01:22:08 -07:00
Tobias Klauser 5c8db0a818 CONTRIBUTING.md: fix golang.org/x/sys/unix package name
This should be org_golang_x_sys instead of com_golang_x_sys

PiperOrigin-RevId: 195305212
Change-Id: I970a7edbcc871ccd4fcec184b1702fbd15b68e20
2018-05-03 13:52:06 -07:00
Nicolas Lacasse 7e901480b4 Fix links in README and CONTRIBUTING.
PiperOrigin-RevId: 195068006
Change-Id: I2d04a0c600b3850321f845fbdc0b6104dd178b3f
2018-05-02 03:00:53 -07:00
Nicolas Lacasse c6cd988cdc Fix link in CONTRIBUTING.md.
PiperOrigin-RevId: 194929266
Change-Id: Ib93d5a38c64b01b6851f76a9324b184aefddce9d
2018-05-01 09:42:40 -04:00
Googler d02b74a5dc Check in gVisor.
PiperOrigin-RevId: 194583126
Change-Id: Ica1d8821a90f74e7e745962d71801c598c652463
2018-04-28 01:44:26 -04:00