Skip to content

Commit 17a6329

Browse files
authored
Merge pull request #10 from ketan/bump-version
Bump version to 0.4.0
2 parents 654e926 + fde0d9b commit 17a6329

File tree

3 files changed

+31
-4
lines changed

3 files changed

+31
-4
lines changed

CHANGELOG.md

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,30 @@
1+
## 0.4.0 - 2016-09-29
2+
3+
### Changed
4+
5+
- The `AUTO_REGISTER_CONTENTS` contents environment variable has now been split up into 4 separate variables ([details here](https://docs.go.cd/current/advanced_usage/agent_auto_register.html)) —
6+
* `GO_EA_AUTO_REGISTER_KEY` - the auto-register key
7+
* `GO_EA_AUTO_REGISTER_ENVIRONMENT` - the auto-register environment
8+
* `GO_EA_AUTO_REGISTER_ELASTIC_AGENT_ID` - the elastic agent id
9+
* `GO_EA_AUTO_REGISTER_ELASTIC_PLUGIN_ID` — the elastic plugin id
10+
11+
### Added
12+
13+
- The command to execute in the docker container can now be specified using the `Command` property —
14+
15+
```xml
16+
<profile pluginId="cd.go.contrib.elastic-agent.docker" id="foo">
17+
<property>
18+
<key>Command</key>
19+
<value>
20+
JAVA_HOME=/opt/java
21+
MAKE_OPTS=-j8
22+
</value>
23+
</property>
24+
</profile>
25+
```
26+
27+
128
## 0.3.0 - 2016-09-12
229

330
### Bug fixes
@@ -12,15 +39,15 @@
1239
- Environment variables can be specified using the `Environment` property —
1340

1441
```xml
15-
<agentConfig pluginId="cd.go.contrib.elastic-agent.docker">
42+
<profile pluginId="cd.go.contrib.elastic-agent.docker" id="foo">
1643
<property>
1744
<key>Environment</key>
1845
<value>
1946
JAVA_HOME=/opt/java
2047
MAKE_OPTS=-j8
2148
</value>
2249
</property>
23-
</agentConfig>
50+
</profile>
2451
```
2552

2653
- If you'd like to specify environment variables globally for all containers, the plugin settings will let you do just that.

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ RUN apt-get update
55
RUN apt-get -y upgrade
66
RUN apt-get -y install openjdk-7-jre-headless git
77

8-
ADD https://github.com/ketan/gocd-golang-bootstrapper/releases/download/0.3/go-bootstrapper-0.3.linux.amd64 /go-agent
8+
ADD https://github.com/ketan/gocd-golang-bootstrapper/releases/download/0.4/go-bootstrapper-0.4.linux.amd64 /go-agent
99
RUN chmod 755 /go-agent
1010
RUN mkdir -p /go
1111
CMD ["/go-agent"]

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ plugins {
2121
apply plugin: 'java'
2222

2323
group = 'cd.go.contrib'
24-
version = '0.3'
24+
version = '0.4'
2525
description = 'GoCD Docker Elastic Agents'
2626

2727
// these values that go into plugin.xml

0 commit comments

Comments
 (0)