Merge ~adam-collard/maas-ci:system-tests-add-readme into ~maas-committers/maas-ci/+git/system-tests:master

Proposed by Adam Collard
Status: Merged
Merged at revision: 116618d770a892cfae74b9c63972c3f54dda27e6
Proposed branch: ~adam-collard/maas-ci:system-tests-add-readme
Merge into: ~maas-committers/maas-ci/+git/system-tests:master
Diff against target: 33 lines (+27/-0)
1 file modified
README.md (+27/-0)
Reviewer Review Type Date Requested Status
Alberto Donato (community) Approve
Review via email: mp+397141@code.launchpad.net

Commit message

[systemtests] Add initial README

To post a comment you must log in.
Revision history for this message
Alberto Donato (ack) wrote :

Nice!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/README.md b/README.md
2new file mode 100644
3index 0000000..52f3e73
4--- /dev/null
5+++ b/README.md
6@@ -0,0 +1,27 @@
7+# MAAS System Tests
8+
9+MAAS System Tests are run using `tox` which in turn uses `pytest` to execute the tests.
10+
11+## Environment variables
12+
13+The behaviour of the tests can be configured using environment variables
14+
15+| Name | Description |
16+| ---------------- | ----------- |
17+| `MAAS_GIT_REPO` | Git repository to get MAAS from, defaults to `https://git.launchpad.net/maas` |
18+| `MAAS_GIT_BRANCH` | Git branch to build MAAS from, defaults to `master` |
19+| `MAAS_PPA` | PPA to get dependencies from, defaults to `ppa:maas-committers/latest-deps` |
20+| `MAAS_SYSTEMTESTS_BUILD_CONTAINER` | LXD container name to use for building MAAS, defaults to `maas-system-build` |
21+| `MAAS_SYSTEMTESTS_MAAS_CONTAINER` | LXD container name to use for running MAAS, defaults to `maas-system-maas` |
22+
23+
24+## Containers
25+
26+The tests use two LXD containers:
27+
28+ * The build container
29+ * The MAAS container
30+
31+As the name suggests, MAAS is built in the build container, and installed in the MAAS container.
32+
33+The MAAS container is bridged on to the networks defined in `config.yaml` which is needed to allow MAAS in the MAAS container to provide DHCP to the network.

Subscribers

People subscribed via source and target branches

to all changes: