Skip to content

Commit ef376ba

Browse files
committed
Open Source release
0 parents  commit ef376ba

File tree

3,947 files changed

+2132826
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,947 files changed

+2132826
-0
lines changed

.gitignore

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# Build and test folders
2+
build/
3+
target/
4+
.env
5+
6+
# Compiled Object files, Static and Dynamic libs (Shared Objects)
7+
*.o
8+
*.a
9+
*.so
10+
11+
# Folders
12+
_obj
13+
_test
14+
15+
# Architecture specific extensions/prefixes
16+
*.[568vq]
17+
[568vq].out
18+
19+
*.cgo1.go
20+
*.cgo2.c
21+
_cgo_defun.c
22+
_cgo_gotypes.go
23+
_cgo_export.*
24+
25+
_testmain.go
26+
27+
*.exe
28+
*.test
29+
*.prof
30+
31+
# Output of the go coverage tool, specifically when used with LiteIDE
32+
*.out
33+
34+
# IDEA
35+
.idea
36+
37+
# Vagrant
38+
*.retry
39+
.vagrant

.travis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
language: go
2+
3+
go:
4+
- 1.8.x
5+
- 1.9.x
6+
- master

CHANGELOG.md

Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
# Change Log
2+
All notable changes to this project will be documented in this file.
3+
4+
The format is based on [Keep a Changelog](http://keepachangelog.com/)
5+
and this project adheres to [Semantic Versioning](http://semver.org/).
6+
7+
## [0.8.1]
8+
### Changed
9+
- [DEPLOY-676] Fixed vip name retention after LBaaS registration.
10+
11+
## [0.8.0]
12+
### Changed
13+
- [DEPLOY-676] Call termination hooks if task exits.
14+
- [DEPLOY-667] Externalize Sentry configuration.
15+
- [DEPLOY-663] Remove PKI support.
16+
### Added
17+
- [SKYLAB-2039] Consul ACL Support
18+
- [DEPLOY-670] Optional asynchronous VaaS registration.
19+
20+
## [0.7.7]
21+
### Changed
22+
- [DEPLOY-573] Build using Go 1.9
23+
### Added
24+
- [DEPLOY-587] Log reason of killing.
25+
26+
## [0.7.6]
27+
### Changed
28+
- [DEPLOY-405] Use `VAAS_INITAL_WEIGHT` env to override initial VaaS weight.
29+
### Added
30+
- [DEPLOY-447] Add canary tag when registering canary instance in VaaS.
31+
32+
## [0.7.5]
33+
### Changed
34+
- [DEPLOY-405] Use VaaS ratio from weight label/tag not from env.
35+
### Fixed
36+
- [DEPLOY-421] Enable LBaaS hook.
37+
- [DEPLOY-421] Call consul hook after other hooks.
38+
39+
## [0.7.4]
40+
### Changed
41+
- [DEPLOY-405] Use LBaaS ratio from weight label/tag. If not found do NOT set it to default.
42+
43+
## [0.7.3]
44+
### Changed
45+
- [DEPLOY-403] Removed unintentional dependency on supervisor code
46+
47+
## [0.7.2]
48+
### Fixed
49+
- [DEPLOY-401] Filter VIPs for service additionally by environment
50+
51+
## [0.7.0]
52+
### Changed
53+
- Disable LBaaS registration
54+
### Added
55+
- [DEPLOY-328] Schedule task kill when validate-certificate label is set to true
56+
- [DEPLOY-307] Handle TaskStatus acknowledge
57+
### Fixed
58+
- [DEPLOY-341] SHA-256 is used, instead of a deprecated SHA-1, for the certificate
59+
request signing
60+
61+
## [0.6.0]
62+
### Added
63+
- [DEPLOY-262] Enabled Synchronous Consul registration
64+
- [DEPLOY-252] LBaaS registration hook
65+
- [DEPLOY-180] Read VaaS configuration from environment
66+
- [DEPLOY-240] Migration to AfterTaskHealthyEvent hook
67+
68+
## [0.5.1]
69+
### Added
70+
- [DEPLOY-4] Integration with Vault PKI
71+
- [DEPLOY-182] Synchronous Consul registration hook (disabled)
72+
### Fixed
73+
- [DEPLOY-244] Pass hook errors in update message
74+
- [DEPLOY-187] Handle all events in one place
75+
76+
## [0.5.0]
77+
### Added
78+
- [DEPLOY-7] HTTP/TCP custom executor health check support
79+
80+
## [0.4.2]
81+
### Added
82+
- [DEPLOY-230] Send AppEngine environment with Sentry alerts
83+
84+
## [0.4.1]
85+
### Changed
86+
- [DEPLOY-230] Send only fatal level logs to Sentry
87+
88+
## [0.4.0]
89+
### Added
90+
- [DEPLOY-7] Command healthcheck support
91+
- [DEPLOY-4] More generic interface for hooks
92+
- [DEPLOY-11] Support for configuration via environment variables
93+
- [DEPLOY-5] VaaS registration hooks with weight support
94+
### Fixed
95+
- [DEPLOY-150] Better error handling for kill/term signalling
96+
- [DEPLOY-183] Don't crash when not using vaas hook
97+
98+
## [0.3.1]
99+
### Added
100+
- [DEPLOY-156] Support for TASK_KILLING state
101+
- [DEPLOY-164] Send detailed messages to Mesos agent with important state updates
102+
### Fixed
103+
- [DEPLOY-149] Send buffered state updates before finishing executor
104+
105+
## [0.3.0]
106+
### Added
107+
- [DEPLOY-23] Consul deregistration hook
108+
109+
## [0.2.1]
110+
### Changed
111+
- [DEPLOY-1] Send SIGTERM/SIGKILL signals to the pgid instead of a pid
112+
113+
## [0.2.0]
114+
### Changed
115+
- [PERFORCE-69] Migration to v1 Mesos HTTP API
116+
117+
## [0.1.4]
118+
### Fixed
119+
- [PERFORCE-66] Build statically linked executor

CONTRIBUTING.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# Contributors guide
2+
3+
## Picking up issues
4+
5+
If you want to code something small, search for `ideal-for-contribution` tagged issues.
6+
7+
## Commit message format
8+
9+
```
10+
resolve #<issue number> | <commit message>
11+
```
12+
13+
i.e. `resolve #123 | my commit message`
14+
15+
You can also use other *magic words* from [GitHub handbook](https://help.github.com/articles/closing-issues-via-commit-messages/).
16+
17+
## General notes
18+
19+
* for small changes, no need to add separate issue, defining problem in pull request is enough
20+
* if issue exists, reference it from PR title or description using GitHub magic words like *resolves #issue-number*
21+
* create pull requests to **master** branch
22+
* it would be nice to squash commits before creating pull requests
23+
* it's required to squash commits before merge
24+
25+
## Pull Request Process
26+
27+
1. Ensure any install or build files are removed before the end of the layer when doing a build.
28+
We use [Dep](https://github.com/golang/dep) for project dependency management.
29+
2. Update the README.md with details of changes to the interface, this includes new environment
30+
variables, useful file locations and container parameters.
31+
3. Increase the version numbers in [VERSION](VERSION), [CHANGELOG](CHANGELOG.md) and any examples
32+
files and the README.md to the new version that this Pull Request would represent.
33+
The versioning scheme we use is [SemVer](http://semver.org/).
34+
4. You may merge the Pull Request in once you have the sign-off of other developers, or if you
35+
do not have permission to do that, you may request a reviewer to merge it for you.
36+
37+
## Coding style
38+
39+
* Follow the general [GoLang guidelines](https://blog.golang.org/organizing-go-code)

Gopkg.lock

Lines changed: 176 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)