Skip to content

Commit 36f359d

Browse files
committed
Changed to the new accounts
1 parent f2f4abf commit 36f359d

File tree

11 files changed

+29
-62
lines changed

11 files changed

+29
-62
lines changed

.travis.yml

Lines changed: 0 additions & 33 deletions
This file was deleted.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# Docker Flow Swarm Listener
22

3-
[![GitHub release](https://img.shields.io/github/release/vfarcic/docker-flow-swarm-listener.svg)]()
4-
[![license](https://img.shields.io/github/license/vfarcic/docker-flow-swarm-listener.svg)]()
3+
[![GitHub release](https://img.shields.io/github/release/docker-flow/docker-flow-swarm-listener.svg)]()
4+
[![license](https://img.shields.io/github/license/docker-flow/docker-flow-swarm-listener.svg)]()
55
[![Docker Pulls](https://img.shields.io/docker/pulls/vfarcic/docker-flow-swarm-listener.svg)]()
6-
[![Go Report Card](https://goreportcard.com/badge/github.com/vfarcic/docker-flow-swarm-listener)](https://goreportcard.com/report/github.com/vfarcic/docker-flow-swarm-listener)
6+
[![Go Report Card](https://goreportcard.com/badge/github.com/docker-flow/docker-flow-swarm-listener)](https://goreportcard.com/report/github.com/docker-flow/docker-flow-swarm-listener)
77

88
The goal of the *Docker Flow Swarm Listener* project is to listen to Docker Swarm events and send requests when a change occurs. At the moment, the only supported option is to send a notification when a new service is created, or an existing service was removed from the cluster. More extensive feature support is coming soon.
99

build.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,18 @@ go test --cover
99
```bash
1010
docker run --rm -v $PWD:/usr/src/myapp -w /usr/src/myapp -v /tmp/linux-go:/go golang:1.9 sh -c "go get -d -v -t && CGO_ENABLED=0 GOOS=linux go build -v -o docker-flow-swarm-listener"
1111

12-
docker build -t vfarcic/docker-flow-swarm-listener:latest .
12+
docker build -t dockerflow/docker-flow-swarm-listener:latest .
1313
```
1414
## Publish
1515

1616
```bash
1717
VERSION=0.7
1818

19-
docker tag vfarcic/docker-flow-swarm-listener:latest vfarcic/docker-flow-swarm-listener:$VERSION
19+
docker tag dockerflow/docker-flow-swarm-listener:latest dockerflow/docker-flow-swarm-listener:$VERSION
2020

21-
docker push vfarcic/docker-flow-swarm-listener:$VERSION
21+
docker push dockerflow/docker-flow-swarm-listener:$VERSION
2222

23-
docker push vfarcic/docker-flow-swarm-listener:latest
23+
docker push dockerflow/docker-flow-swarm-listener:latest
2424
```
2525

2626
## Manual Tests
@@ -34,7 +34,7 @@ docker swarm init --advertise-addr $(docker-machine ip test)
3434

3535
docker run --rm -v $PWD:/usr/src/myapp -w /usr/src/myapp -v go:/go golang:1.9 bash -c "go get -d -v -t && go build -v -o docker-flow-swarm-listener"
3636

37-
docker build -t vfarcic/docker-flow-swarm-listener:beta .
37+
docker build -t dockerflow/docker-flow-swarm-listener:beta .
3838

3939
docker network create --driver overlay proxy
4040

@@ -43,7 +43,7 @@ docker service create --name swarm-listener \
4343
--mount "type=bind,source=/var/run/docker.sock,target=/var/run/docker.sock" \
4444
-e DF_NOTIFY_CREATE_SERVICE_URL=http://proxy:8080/v1/docker-flow-proxy/reconfigure \
4545
-e DF_NOTIFY_REMOVE_SERVICE_URL=http://proxy:8080/v1/docker-flow-proxy/remove \
46-
vfarcic/docker-flow-swarm-listener:beta
46+
dockerflow/docker-flow-swarm-listener:beta
4747

4848
docker service create --name go-demo-db \
4949
--network proxy \
@@ -67,11 +67,11 @@ docker service create --name proxy \
6767
-p 8080:8080 \
6868
--network proxy \
6969
-e MODE=swarm \
70-
vfarcic/docker-flow-proxy
70+
dockerflow/docker-flow-proxy
7171

7272
docker service ls
7373

74-
PROXY_ID=$(docker ps -q --filter "ancestor=vfarcic/docker-flow-proxy")
74+
PROXY_ID=$(docker ps -q --filter "ancestor=dockerflow/docker-flow-proxy")
7575

7676
docker exec -it $PROXY_ID cat /cfg/haproxy.cfg
7777

@@ -87,11 +87,11 @@ docker exec -it $UTIL_ID curl swarm-listener:8080/v1/docker-flow-swarm-listener/
8787

8888
docker exec -it $PROXY_ID cat /cfg/haproxy.cfg
8989

90-
DFSL_ID=$(docker ps -q -f ancestor=vfarcic/docker-flow-swarm-listener)
90+
DFSL_ID=$(docker ps -q -f ancestor=dockerflow/docker-flow-swarm-listener)
9191

9292
docker logs $DFSL_ID
9393

94-
DFP_ID=$(docker ps -q -f ancestor=vfarcic/docker-flow-proxy)
94+
DFP_ID=$(docker ps -q -f ancestor=dockerflow/docker-flow-proxy)
9595

9696
docker exec -it $DFP_ID cat /cfg/haproxy.cfg
9797

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version: '3.2'
44
services:
55

66
tests:
7-
image: vfarcic/docker-flow-swarm-listener-test
7+
image: dockerflow/docker-flow-swarm-listener-test
88
volumes:
99
- /var/run/docker.sock:/var/run/docker.sock
1010
- $PWD:/src
@@ -18,7 +18,7 @@ services:
1818
command: bash -c "pip install pygments && pip install pymdown-extensions && mkdocs build"
1919

2020
tests_local:
21-
image: vfarcic/docker-flow-swarm-listener-test
21+
image: dockerflow/docker-flow-swarm-listener-test
2222
volumes:
2323
- /var/run/docker.sock:/var/run/docker.sock
2424
- $PWD:/src

docs/feedback-and-contribution.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ The *Docker Flow Swarm Listener* project welcomes, and depends, on contributions
88

99
## Reporting an Issue
1010

11-
Feel fee to [create a new issue](https://github.com/vfarcic/docker-flow-swarm-listener/issues). Include as much detail as you can.
11+
Feel fee to [create a new issue](https://github.com/docker-flow/docker-flow-swarm-listener/issues). Include as much detail as you can.
1212

1313
If an issue is a bug, please provide steps to reproduce it.
1414

@@ -28,7 +28,7 @@ Once you are finish implementing a new feature or fixing a bug, run the *Complet
2828

2929
### Repository
3030

31-
Fork [docker-flow-swarm-listener](https://github.com/vfarcic/docker-flow-swarm-listener).
31+
Fork [docker-flow-swarm-listener](https://github.com/docker-flow/docker-flow-swarm-listener).
3232

3333
### Unit Testing
3434

docs/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# Docker Flow Swarm Listener
22

3-
[![GitHub release](https://img.shields.io/github/release/vfarcic/docker-flow-swarm-listener.svg)]()
4-
[![license](https://img.shields.io/github/license/vfarcic/docker-flow-swarm-listener.svg)]()
3+
[![GitHub release](https://img.shields.io/github/release/docker-flow/docker-flow-swarm-listener.svg)]()
4+
[![license](https://img.shields.io/github/license/docker-flow/docker-flow-swarm-listener.svg)]()
55
[![Docker Pulls](https://img.shields.io/docker/pulls/vfarcic/docker-flow-swarm-listener.svg)]()
6-
[![Go Report Card](https://goreportcard.com/badge/github.com/vfarcic/docker-flow-swarm-listener)](https://goreportcard.com/report/github.com/vfarcic/docker-flow-swarm-listener)
6+
[![Go Report Card](https://goreportcard.com/badge/github.com/docker-flow/docker-flow-swarm-listener)](https://goreportcard.com/report/github.com/docker-flow/docker-flow-swarm-listener)
77

88
The goal of the *Docker Flow Swarm Listener* project is to listen to Docker Swarm events and send requests when a change occurs. At the moment, the only supported option is to send a notification when a new service is created, or an existing service was removed from the cluster. More extensive feature support is coming soon.
99

docs/production.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ docker network create \
88
proxy
99

1010
curl -o swarm-listener.yml \
11-
https://raw.githubusercontent.com/vfarcic/docker-flow-swarm-listener/master/stack.yml
11+
https://raw.githubusercontent.com/docker-flow/docker-flow-swarm-listener/master/stack.yml
1212

1313
docker stack deploy \
1414
-c swarm-listener.yml \

docs/release-notes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Release Notes
22

3-
Please visit [project releases](https://github.com/vfarcic/docker-flow-swarm-listener/releases).
3+
Please visit [project releases](https://github.com/docker-flow/docker-flow-swarm-listener/releases).

docs/tutorial.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ This tutorial will walk you through some of the most common use cases.
77

88
## Sending Notification Requests On Service Creation and Removal
99

10-
The example that follows will use the *Swarm Listener* to reconfigure the [Docker Flow: Proxy](https://github.com/vfarcic/docker-flow-proxy) whenever a new service is created.
10+
The example that follows will use the *Swarm Listener* to reconfigure the [Docker Flow: Proxy](https://github.com/docker-flow/docker-flow-proxy) whenever a new service is created.
1111

12-
I will assume that you already have a Swarm cluster set up with Docker Machines. If that's not the case, feel free to use the [scripts/dm-swarm.sh](https://github.com/vfarcic/docker-flow-swarm-listener/blob/master/scripts/dm-swarm.sh) script to create a three nodes cluster.
12+
I will assume that you already have a Swarm cluster set up with Docker Machines. If that's not the case, feel free to use the [scripts/dm-swarm.sh](https://github.com/docker-flow/docker-flow-swarm-listener/blob/master/scripts/dm-swarm.sh) script to create a three nodes cluster.
1313

1414
Let's run the Proxy service. We'll use it as a way to demonstrate how *Swarm Listener* works.
1515

@@ -22,7 +22,7 @@ docker service create --name proxy \
2222
-p 8080:8080 \
2323
--network proxy \
2424
-e MODE=swarm \
25-
vfarcic/docker-flow-proxy
25+
dockerflow/docker-flow-proxy
2626
```
2727

2828
Next, we'll create the `swarm-listener` service.
@@ -34,7 +34,7 @@ docker service create --name swarm-listener \
3434
-e DF_NOTIFY_CREATE_SERVICE_URL=http://proxy:8080/v1/docker-flow-proxy/reconfigure \
3535
-e DF_NOTIFY_REMOVE_SERVICE_URL=http://proxy:8080/v1/docker-flow-proxy/remove \
3636
--constraint 'node.role==manager' \
37-
vfarcic/docker-flow-swarm-listener
37+
dockerflow/docker-flow-swarm-listener
3838
```
3939

4040
The service is attached to the proxy network (just as the `proxy` service), mounts the Docker socket, and declares the environment variables `DF_NOTIFY_CREATE_SERVICE_URL` and `DF_NOTIFY_REMOVE_SERVICE_URL`. We'll see the purpose of the variables soon.

mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ pages:
88
- Release Notes: release-notes.md
99
- Feedback and Contribution: feedback-and-contribution.md
1010
- License: license.md
11-
repo_url: https://github.com/vfarcic/docker-flow-swarm-listener
11+
repo_url: https://github.com/docker-flow/docker-flow-swarm-listener
1212
site_author: Viktor Farcic
1313
copyright: Copyright © 2017 Viktor Farcic
1414
strict: true

0 commit comments

Comments
 (0)