This repository has been archived by the owner on Oct 7, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Commit of remaining features since initial import
This commit provides the remaining features required for the initial demonstration of ToDD: - Grouping - Testrun functionality - Integration with TSDB - Various bugfixes and improvements Signed-off-by: Matt Oswalt <[email protected]>
- Loading branch information
Showing
436 changed files
with
333,883 additions
and
1,948 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
*temp* | ||
assets/ | ||
build/ | ||
.vagrant/ | ||
agent-dev.cfg | ||
server-dev.cfg | ||
docs/.Python | ||
docs/bin/ | ||
docs/include/ | ||
docs/lib/ | ||
preso_secret/ | ||
client/repeattest.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
language: go | ||
go: | ||
- 1.4.2 | ||
go: | ||
- 1.5.1 | ||
- release | ||
- tip | ||
notifications: | ||
email: false | ||
install: make install-deps build-no-docker | ||
install: | ||
- make | ||
- make test | ||
sudo: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
ToDD Contribution Guide | ||
==== | ||
|
||
If you're thinking about contributing, then before you write any code, please contact me first, preferably by opening a Github Issue on this repository. In these early days, ToDD is going through a lot of changes, and I would hate for you to waste your time writing code that I may already be writing, or that I no longer need. | ||
|
||
I am still building out the CI pipeline, but I will be fairly strict about contributions with respect to Golang idioms and proper unit/integration testing. Now that ToDD is open sourced, I want to focus on these much more, and as a result I want to make sure contributions help, not hurt this effort. Here are some resources that may help you in this regard: | ||
|
||
- [https://golang.org/doc/code.html](https://golang.org/doc/code.html) | ||
- [https://blog.golang.org/package-names](https://blog.golang.org/package-names) | ||
|
||
My preferred methodology for contributing is still being worked out, so for the time being, err on the side of caution and start a conversation with me via a github issue first. I'll do my best to be responsive towards that medium. | ||
|
||
Please refer to the .travis.yml file in the root of the repository in order to see the build steps being performed. I will not look at a PR until it produces a passing build, so to save time, try to run these build steps yourself on your own machine first. | ||
|
||
If you're wondering what there is to work on, I try to keep the [issues for this project](https://github.com/Mierdin/todd/issues) populated with any known issues, so feel free to peruse that list. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,30 @@ | ||
FROM golang:1.5 | ||
# This dockerfile is intended to build a minimal version of the todd container. | ||
# It should be built using the provided makefile ("make build"), to ensure the | ||
# binaries are compiled properly. | ||
|
||
FROM debian:jessie | ||
MAINTAINER Matt Oswalt <[email protected]> (@mierdin) | ||
|
||
LABEL version="0.1" | ||
|
||
# Install godep | ||
RUN go get github.com/tools/godep | ||
|
||
RUN mkdir -p /tmp/factcollectors | ||
RUN mkdir -p /tmp/agentfactcollectors | ||
|
||
# Upload ToDD source | ||
COPY . /go/src/github.com/mierdin/todd | ||
|
||
COPY etc/agent_config.cfg /etc/agent_config.cfg | ||
COPY etc/server_config.cfg /etc/server_config.cfg | ||
env PATH /go/bin:$PATH | ||
|
||
# (set an explicit GOARM of 5 for maximum compatibility) | ||
ENV GOARM 5 | ||
RUN mkdir /etc/todd | ||
|
||
WORKDIR /go/src/github.com/mierdin/todd | ||
RUN mkdir -p /opt/todd/agent/assets/factcollectors | ||
RUN mkdir -p /opt/todd/server/assets/factcollectors | ||
RUN mkdir -p /opt/todd/agent/assets/testlets | ||
RUN mkdir -p /opt/todd/server/assets/testlets | ||
|
||
RUN godep restore | ||
RUN apt-get update \ | ||
&& apt-get install -y vim curl iperf | ||
|
||
# Copy ToDD binaries | ||
COPY ./build/todd /go/bin/ | ||
COPY ./build/todd-server /go/bin/ | ||
COPY ./build/todd-agent /go/bin/ | ||
|
||
# Remove all this - only copy the binaries, and leave the building to the makefile | ||
RUN cd server && go build -o /go/bin/todd-server | ||
RUN cd client && go build -o /go/bin/todd-client | ||
RUN cd agent && go build -o /go/bin/todd-agent | ||
COPY ./etc/agent.cfg /etc/todd/agent.cfg | ||
COPY ./etc/server.cfg /etc/todd/server.cfg | ||
COPY ./etc/agent-dev.cfg /etc/todd/agent-dev.cfg | ||
COPY ./etc/server-dev.cfg /etc/todd/server-dev.cfg |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
55 changes: 55 additions & 0 deletions
55
Godeps/_workspace/src/github.com/Sirupsen/logrus/CHANGELOG.md
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.