Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Include a default configuration file in the 'docs' directory. #4791

Merged
merged 3 commits into from
Mar 4, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,14 @@ steps:

- wait

- command:
- "python -m pip install tox"
- "tox -e check-sampleconfig"
label: "\U0001F9F9 check-sample-config"
plugins:
- docker#v3.0.1:
image: "python:3.6"

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seemed to take over 1 minute, so I'd be tempted to move after the wait

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, it's downloading and installing all of the python deps. It seems a shame that (a) we can't do better caching here, and (b) the virtualenv isn't shared between the builds.

- command:
- "python -m pip install tox"
- "tox -e py27,codecov"
Expand Down
1 change: 1 addition & 0 deletions changelog.d/4791.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Include a default configuration file in the 'docs' directory.
7 changes: 7 additions & 0 deletions docs/.sample_config_header.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# This file is a reference to the configuration options which can be set in
# homeserver.yaml.
#
# Note that it is not quite ready to be used as-is. If you are starting from
# scratch, it is easier to generate the config files following the instructions
# in INSTALL.md.

Loading