This repository has been archived by the owner on Jul 15, 2021. It is now read-only.
forked from decoomanj/gocd-docker-material-poller
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathREADME.txt
33 lines (21 loc) · 1.45 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<h1>GoCD Plugin for Docker - Registry Poller</h1>
The goal of this project is to offer a plugin for the GoCD build management tool. The plugin looks for changes in the Docker registry and triggers a pipeline
when the hash has changed. It enables continuous deployment with Docker from Go.CD. Now you can use the Docker Registry as material.
<h2>ToDo</h2>
It's hard to keep up with two rapidly changing APIs. I've used Docker 1.3.1 and Go 14.3.0.
<h2>Compiling</h2>
In order to compile the project, you need to download the go-plugin-api-current.jar from the Go-Server. The best way is to copy the JAR from your Go-Server environment and install
it in your local repository.
<blockquote>
mvn install:install-file -Dfile=go-plugin-api-current.jar -DgroupId=com.thoughtworks.go -DartifactId=go-plugin-api -Dversion=14.3.0 -Dpackaging=jar
</blockquote>
<h2>Connection Settings</h2>
You can specify the connection and socket timeout when you're not satisfied with the default values. You can add the following properties to the system properties:
<ul>
<li><b>docker.repo.connection.timeout</b> (default 10s)</li>
<li><b>docker.repo.socket.timeout</b> (default 300s)</li>
</ul>
<h2>Credits</h2>
The project has been inspired by https://github.com/hammerdr/go-docker-registry-poller and the yum plugin from Thoughtworks.
<h2>Deployment</h2>
Download go-docker-registry poller from bintray https://bintray.com/manuelkasiske/maven/gocd-docker-v2-material-poller/view