Skip to content
This repository was archived by the owner on Mar 16, 2021. It is now read-only.

Commit 122783a

Browse files
committed
Changed maxibanki to new mxschmitt username
1 parent c59b427 commit 122783a

23 files changed

+44
-44
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ script:
1313
- make
1414
- goveralls -service=travis-ci -ignore="handlers/static.go,handlers/tmpls/tmpls.go"
1515
- make buildDockerImage
16-
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD" && docker push maxibanki/golang_url_shortener && docker push maxibanki/golang_url_shortener:arm; fi'
16+
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD" && docker push mxschmitt/golang_url_shortener && docker push mxschmitt/golang_url_shortener:arm; fi'
1717
deploy:
1818
provider: bintray
19-
user: maxibanki
19+
user: mxschmitt
2020
file: "build/bintray.json"
2121
key:
2222
secure: ErqvSFIlL3d9XuMj+T+hO6xZqll8Ubx0DEdHD6NJKi7sH7Be3b3/vUoPdAjdFOP70DhaccbncGCTPZ9hsNKdqYxZmuKx3WWwH4H4U5YdDIViXtH6+B5KdAmvdZIynaj+THQAbVAhr+QyvcqotNySPd3Ac1HCg2YAcUHme6y3FsiRJ79To80JWxTSR1G/oObmeoDn8R18wmH1gHl8KQ7ltC537Osb/H34bJ/hY94hRe8IEmoQE4yz/EP44kGXRb/F87i92y1mO081ZS1I1hs5Kbom43YoItqSVbJP/abPMyCsGDv2FGXaGqk5IVC1k+01pcAjqxCzMvXC272itc0E8OEWqE4qONN+m2S9tyALyOaUZ7j5meWLHQj49Rzo7XIWh1PvvEMovdl/wk/Oc9f0ZywPuvoRht5ZebgXbPWAMMNywwy0GKM4nU0DCyFm23mlzPh4iklo12gEUzq3YLc18RhAZuy4timeevrDCuJMQeQ3sqcQBKCQ+rdOxzVCKKl2sGpNaTJEYaHGT9KLCEGBLmvaB58RKgmGN6IIEwpxSm2SGoirfnQsr+DP+kaSvWPr6R/pZAhO1JzO+azaXvfr+hL2SMX6U7j5+SDmFGIFDwxok7ny1QUTQXKlNzA/ks9/vufe30hrTkph/MfEvM5mYVbfgAn5zZ0v+dJ2wCoe1go=

Dockerfile.amd64

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM alpine
22

33
LABEL maintainer="Max Schmitt <[email protected]>"
4-
LABEL readme.md="https://github.com/maxibanki/golang-url-shortener/blob/master/README.md"
4+
LABEL readme.md="https://github.com/mxschmitt/golang-url-shortener/blob/master/README.md"
55
LABEL description="This Dockerfile will install the Golang URL Shortener."
66

77
RUN apk update && apk add ca-certificates curl

Dockerfile.arm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM alpine
22

33
LABEL maintainer="Max Schmitt <[email protected]>"
4-
LABEL readme.md="https://github.com/maxibanki/golang-url-shortener/blob/master/README.md"
4+
LABEL readme.md="https://github.com/mxschmitt/golang-url-shortener/blob/master/README.md"
55
LABEL description="This Dockerfile will install the Golang URL Shortener."
66

77
RUN apk update && apk add ca-certificates curl

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ getGoDependencies:
2323
buildProject:
2424
rm -rf releases
2525
mkdir releases
26-
gox -output="releases/{{.Dir}}_{{.OS}}_{{.Arch}}/{{.Dir}}" -osarch="linux/amd64 linux/arm windows/amd64 windows/386" -ldflags="-X github.com/maxibanki/golang-url-shortener/util.ldFlagNodeJS=`node --version` -X github.com/maxibanki/golang-url-shortener/util.ldFlagCommit=`git rev-parse HEAD` -X github.com/maxibanki/golang-url-shortener/util.ldFlagYarn=`yarn --version` -X github.com/maxibanki/golang-url-shortener/util.ldFlagCompilationTime=`date --iso-8601=seconds`"
26+
gox -output="releases/{{.Dir}}_{{.OS}}_{{.Arch}}/{{.Dir}}" -osarch="linux/amd64 linux/arm windows/amd64 windows/386" -ldflags="-X github.com/mxschmitt/golang-url-shortener/util.ldFlagNodeJS=`node --version` -X github.com/mxschmitt/golang-url-shortener/util.ldFlagCommit=`git rev-parse HEAD` -X github.com/mxschmitt/golang-url-shortener/util.ldFlagYarn=`yarn --version` -X github.com/mxschmitt/golang-url-shortener/util.ldFlagCompilationTime=`date --iso-8601=seconds`"
2727
find releases -maxdepth 1 -mindepth 1 -type d -exec cp build/config.yaml {} \;
2828
find releases -maxdepth 1 -mindepth 1 -type d -exec tar -cvjf {}.tar.bz2 {} \;
2929

3030
buildDockerImage:
3131
rm -rf docker_releases
3232
mkdir docker_releases
33-
CGO_ENABLED=0 gox -output="docker_releases/{{.Dir}}_{{.OS}}_{{.Arch}}/{{.Dir}}" -osarch="linux/amd64 linux/arm" -ldflags="-X github.com/maxibanki/golang-url-shortener/util.ldFlagNodeJS=`node --version` -X github.com/maxibanki/golang-url-shortener/util.ldFlagCommit=`git rev-parse HEAD` -X github.com/maxibanki/golang-url-shortener/util.ldFlagYarn=`yarn --version` -X github.com/maxibanki/golang-url-shortener/util.ldFlagCompilationTime=`date --iso-8601=seconds`"
34-
docker build -t maxibanki/golang_url_shortener:arm -f Dockerfile.arm .
35-
docker build -t maxibanki/golang_url_shortener -f Dockerfile.amd64 .
33+
CGO_ENABLED=0 gox -output="docker_releases/{{.Dir}}_{{.OS}}_{{.Arch}}/{{.Dir}}" -osarch="linux/amd64 linux/arm" -ldflags="-X github.com/mxschmitt/golang-url-shortener/util.ldFlagNodeJS=`node --version` -X github.com/mxschmitt/golang-url-shortener/util.ldFlagCommit=`git rev-parse HEAD` -X github.com/mxschmitt/golang-url-shortener/util.ldFlagYarn=`yarn --version` -X github.com/mxschmitt/golang-url-shortener/util.ldFlagCompilationTime=`date --iso-8601=seconds`"
34+
docker build -t mxschmitt/golang_url_shortener:arm -f Dockerfile.arm .
35+
docker build -t mxschmitt/golang_url_shortener -f Dockerfile.amd64 .

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
[![Go Report Card](https://goreportcard.com/badge/github.com/mxschmitt/golang-url-shortener)](https://goreportcard.com/report/github.com/mxschmitt/golang-url-shortener)
66
[![Coverage Status](https://coveralls.io/repos/github/mxschmitt/golang-url-shortener/badge.svg?branch=master)](https://coveralls.io/github/mxschmitt/golang-url-shortener?branch=master)
77
[![License](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
8-
[![Download](https://api.bintray.com/packages/maxibanki/golang-url-shortener/travis-ci/images/download.svg?version=0.1) ](https://bintray.com/maxibanki/golang-url-shortener/travis-ci/0.1/link)
9-
[![Docker Pulls](https://img.shields.io/docker/pulls/maxibanki/golang_url_shortener.svg)](https://hub.docker.com/r/maxibanki/golang_url_shortener/)
8+
[![Download](https://api.bintray.com/packages/mxschmitt/golang-url-shortener/travis-ci/images/download.svg?version=0.1) ](https://bintray.com/mxschmitt/golang-url-shortener/travis-ci/0.1/link)
9+
[![Docker Pulls](https://img.shields.io/docker/pulls/mxschmitt/golang_url_shortener.svg)](https://hub.docker.com/r/mxschmitt/golang_url_shortener/)
1010

1111
## Main Features
1212

build/bintray.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"package": {
33
"name": "travis-ci",
44
"repo": "golang-url-shortener",
5-
"subject": "maxibanki"
5+
"subject": "mxschmitt"
66
},
77
"version": {
88
"name": "0.1"

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
golang_url_shortener:
2-
image: maxibanki/golang_url_shortener
2+
image: mxschmitt/golang_url_shortener
33
ports:
44
- 8080:8080
55
volumes:

handlers/auth.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package handlers
33
import (
44
"net/http"
55

6-
"github.com/maxibanki/golang-url-shortener/handlers/auth"
7-
"github.com/maxibanki/golang-url-shortener/util"
6+
"github.com/mxschmitt/golang-url-shortener/handlers/auth"
7+
"github.com/mxschmitt/golang-url-shortener/util"
88
"github.com/sirupsen/logrus"
99

1010
jwt "github.com/dgrijalva/jwt-go"

handlers/auth/auth.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
jwt "github.com/dgrijalva/jwt-go"
1111
"github.com/gin-gonic/contrib/sessions"
1212
"github.com/gin-gonic/gin"
13-
"github.com/maxibanki/golang-url-shortener/util"
13+
"github.com/mxschmitt/golang-url-shortener/util"
1414
"github.com/pkg/errors"
1515
"github.com/sirupsen/logrus"
1616
)

handlers/auth/github.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"context"
55
"encoding/json"
66

7-
"github.com/maxibanki/golang-url-shortener/util"
7+
"github.com/mxschmitt/golang-url-shortener/util"
88
"github.com/sirupsen/logrus"
99

1010
"golang.org/x/oauth2/github"

0 commit comments

Comments
 (0)