- Added support to terminate container once job is finished.
NOTE: Requires GoCD version 18.10.0 or higher. Plugin will not work with the older version of GoCD.
- Upgraded some dependant libraries to improve compatibility with newer docker versions.
- Removed additional margin from status report pages
- The plugin status report will now render all swarm nodes expanded to make it easier to search for things.
- Support for agent status report and plugin status report.
- Plugin now uses's job identifier to tag the docker services. This allows the plugin to decide to which agent it should assign work.
- Logs are not shown on agent status report(#68).
- Better message when a container is not created for the job or docker service is killed(#71).
Note: Requires GoCD version 18.2.0 or higher. Plugin will not work with the older version of GoCD.
- Support to specify constraints information in elastic profile.
- Support to start service with volume mount.
- Support to start a service with an existing network.
- UI improvement for status report.
- Support for private docker registry support
- Tooltip help text on elastic profile fields
- Support for binding secrets with containers
- Plugin uses elastic agent extension v2 and supports status report
Note: This requires GoCD version 17.9.0
or above
- Added support to start docker containers with host mapping.
- User can now provide mapping for host entries in
IP-ADDRESS HOSTNAME-1 HOSTNAME-2...
format, which is the standard format for/etc/hosts
file.
- User can now provide mapping for host entries in
10.0.0.1 host-x
10.0.0.2 host-y host-z
- Fixed issue with docker version 17.04. Docker 17.04 have removed
UpdateStatus
from theservice inspect
JSON response on new services.
- Changed the
go.cd.elastic-agent.get-icon
call to use underscore instead of hyphens.
- Added
MaxMemory
andReservedMemory
configuration in the profile view. This was always supported in the XML, but was missing in the view.
- Added support for a few additional calls required by the GoCD server.
go.cd.elastic-agent.get-profile-metadata
go.cd.elastic-agent.get-profile-view
go.cd.elastic-agent.validate-profile
go.cd.elastic-agent.get-icon
- Renamed the
Memory
property toMaxMemory
-
The memory reservation can now be specified using the
ReservedMemory
property -<profile pluginId="cd.go.contrib.elastic-agent.docker" id="foo"> <property> <key>ReservedMemory</key> <!-- You may use prefix B, KB, MB, GB --> <value>1024MB</value> </property> </profile>
- Fixed an issue with
Memory
property that did not allow for using over 2GB.
-
The memory limit can now be specified using the
Memory
property -<profile pluginId="cd.go.contrib.elastic-agent.docker" id="foo"> <property> <key>Memory</key> <!-- You may use prefix B, KB, MB, GB --> <value>1024MB</value> </property> </profile>
- Fix some synchronization issues that allowed more number of containers than the settings permitted
Initial release of plugin