Ivan Mikushin
04472c7552
Do not link to services that do not exist in the project
...
Fixes #495
2015-08-26 14:50:13 +05:00
Darren Shepherd
9d76b79ac3
Refactor to use libcompose
2015-08-06 00:05:25 -07:00
Ivan Mikushin
7ad60c07bd
make cloud-config the configuration mechanism for RancherOS
2015-08-05 19:48:25 +05:00
Ivan Mikushin
ad832471a1
isolate and mark platform dependent code
...
now unit tests compile on OS X and (some of them) work
2015-07-17 16:43:09 +05:00
Ivan Mikushin
dff70f8362
latest rancher-compose, default.go -> os-config.yml
...
also, gofmt
2015-06-29 12:00:41 +05:00
Darren Shepherd
0b3b4a317b
Merge pull request #312 from imikushin/fix-container-npe
...
prevent `nil` from being put back to `c.Container`
2015-05-22 10:51:31 -07:00
Ivan Mikushin
2dff031552
preload images: service dependencies
...
also, log implicitly added service dependencies and remove unnecessary linking to dockerwait
2015-05-22 13:29:24 +05:00
Ivan Mikushin
d98c3dd9b9
prevent nil
from being put back to c.Container
...
`c.Exists()` is an innocent looking function being in fact a mutating operation: `c.Container` may be `nil` before and hold a looked up value after the call.
2015-05-19 13:10:51 +05:00
Ivan Mikushin
d0476e1308
do not sort Maporslice keys
2015-05-18 22:10:38 +05:00
Ivan Mikushin
59029a49a8
fix getHash()
2015-05-18 09:45:48 +05:00
Ivan Mikushin
2547db84e5
test getHash() consistency
2015-05-17 18:09:32 +05:00
Ivan Mikushin
c058cb1a39
container_test.go: fix compile errors
2015-05-17 17:58:59 +05:00
deniseschannon
efa14453a3
Updated hash based on comments
2015-05-11 10:02:15 -07:00
deniseschannon
eea38fb173
Updated hashing in case slice order changes
2015-05-08 13:17:52 -07:00
deniseschannon
975e869af9
Fixes creating Hash
2015-05-07 14:29:30 -07:00
Darren Shepherd
cff8052a3b
Fix invalid reference to old userdockerwait
2015-05-05 13:37:25 -07:00
Darren Shepherd
6b929abdea
Updates for refactored rancher-compose
2015-05-05 13:36:52 -07:00
deniseschannon
0e4f0fe292
Changes required due to labels type change in ServiceConfig
2015-04-29 20:48:57 -07:00
Darren Shepherd
2ba5c858f9
Remove commented code
2015-04-17 06:37:56 -07:00
Darren Shepherd
f09df5610f
Don't create container when disabled
2015-04-17 06:37:56 -07:00
Darren Shepherd
34ac3236d4
If image has no tag assume :latest, not all images
2015-04-17 06:37:56 -07:00
Darren Shepherd
5728683e1d
Typo in type name
2015-04-17 06:37:56 -07:00
Darren Shepherd
ae196042ff
Support environment globbing for prefix only
...
You can now put FOO* in the compose environment and it will find all
environment variables that start with FOO
2015-04-16 08:39:28 -07:00
Darren Shepherd
0b5eb352ba
Services in compose format
2015-04-15 23:17:01 -07:00
Darren Shepherd
be8fa8e5b7
Services as compose format
2015-04-15 23:17:00 -07:00
Darren Shepherd
252e491286
Only send project event on success
2015-04-07 20:06:43 -07:00
Darren Shepherd
7bb5e10b12
Add syslog and udev hotplugging
2015-04-06 06:52:17 -07:00
Darren Shepherd
36f5b16194
Add option to disable startup of services
2015-04-04 10:03:31 -07:00
Darren Shepherd
c7ae14cc13
Refactor configuration to compose syntax
2015-04-04 05:42:48 -07:00
Darren Shepherd
e34c3a5e2d
Create but do not start udev on system-docker
...
Eventually this container will be replaced with udev hotplug
2015-03-19 14:58:50 -07:00
Darren Shepherd
a94fa20b42
Updates for upstream docker client
2015-03-18 06:45:21 -07:00
Darren Shepherd
f7b5b4f83b
Handle system containers with no hash
2015-03-06 21:21:42 -07:00
Darren Shepherd
3620db959f
Support reloading config during system containers start up
2015-02-22 20:59:44 -07:00
Darren Shepherd
4b2e98e238
Add rancher user and lock root
2015-02-20 11:29:17 -07:00
Darren Shepherd
7c17cc7825
Better rollback/restart/upgrade container
2015-02-19 08:35:17 -07:00
Darren Shepherd
f47ea34ac4
Refactor configuration
2015-02-17 14:31:20 -07:00
Darren Shepherd
9d8110513e
Some refactoring
2015-02-17 01:18:48 -07:00
Darren Shepherd
925a847ccc
Add tty and half way broken state handling
2015-02-16 16:38:49 -07:00
Darren Shepherd
dd8265b042
Support nil cfg for NewClient
2015-02-14 09:29:30 -07:00
Darren Shepherd
e38e790374
Add simple API to do most container functions
2015-02-14 09:28:46 -07:00
Darren Shepherd
df4a126175
Initial commit
2015-02-08 21:38:37 -07:00