|
|
@@ -16,7 +16,7 @@ Compile LESS:
|
|
|
script:
|
|
|
- mkdir -p $GOPATH/src/gitote
|
|
|
- cd $GOPATH/src/gitote
|
|
|
- - git clone https://gitote.in/gitote/gitote.git gitote
|
|
|
+ - git clone https://gitlab.com/gitote/gitote.git gitote
|
|
|
- cd gitote
|
|
|
- make less
|
|
|
|
|
|
@@ -26,7 +26,7 @@ Bindata:
|
|
|
script:
|
|
|
- mkdir -p $GOPATH/src/gitote
|
|
|
- cd $GOPATH/src/gitote
|
|
|
- - git clone https://gitote.in/gitote/gitote.git gitote
|
|
|
+ - git clone https://gitlab.com/gitote/gitote.git gitote
|
|
|
- cd gitote
|
|
|
- wget https://gitlab.com/gitote/bindata/raw/master/go-bindata
|
|
|
- make bindata
|
|
|
@@ -40,7 +40,7 @@ Test:
|
|
|
script:
|
|
|
- mkdir -p $GOPATH/src/gitote
|
|
|
- cd $GOPATH/src/gitote
|
|
|
- - git clone https://gitote.in/gitote/gitote.git gitote
|
|
|
+ - git clone https://gitlab.com/gitote/gitote.git gitote
|
|
|
- cd gitote
|
|
|
- go test -v -cover -race ./...
|
|
|
|
|
|
@@ -50,7 +50,7 @@ Clean:
|
|
|
script:
|
|
|
- mkdir -p $GOPATH/src/gitote
|
|
|
- cd $GOPATH/src/gitote
|
|
|
- - git clone https://gitote.in/gitote/gitote.git gitote
|
|
|
+ - git clone https://gitlab.com/gitote/gitote.git gitote
|
|
|
- cd gitote
|
|
|
- make clean
|
|
|
|
|
|
@@ -60,7 +60,7 @@ Build:
|
|
|
script:
|
|
|
- mkdir -p $GOPATH/src/gitote
|
|
|
- cd $GOPATH/src/gitote
|
|
|
- - git clone https://gitote.in/gitote/gitote.git gitote
|
|
|
+ - git clone https://gitlab.com/gitote/gitote.git gitote
|
|
|
- cd gitote
|
|
|
- make build
|
|
|
|
|
|
@@ -70,7 +70,7 @@ Build Dev:
|
|
|
script:
|
|
|
- mkdir -p $GOPATH/src/gitote
|
|
|
- cd $GOPATH/src/gitote
|
|
|
- - git clone https://gitote.in/gitote/gitote.git gitote
|
|
|
+ - git clone https://gitlab.com/gitote/gitote.git gitote
|
|
|
- cd gitote
|
|
|
- make build-dev
|
|
|
|
|
|
@@ -83,7 +83,7 @@ Build Dev Race:
|
|
|
script:
|
|
|
- mkdir -p $GOPATH/src/gitote
|
|
|
- cd $GOPATH/src/gitote
|
|
|
- - git clone https://gitote.in/gitote/gitote.git gitote
|
|
|
+ - git clone https://gitlab.com/gitote/gitote.git gitote
|
|
|
- cd gitote
|
|
|
- make build-dev-race
|
|
|
|
|
|
@@ -96,7 +96,7 @@ Build Prod:
|
|
|
script:
|
|
|
- mkdir -p $GOPATH/src/gitote
|
|
|
- cd $GOPATH/src/gitote
|
|
|
- - git clone https://gitote.in/gitote/gitote.git gitote
|
|
|
+ - git clone https://gitlab.com/gitote/gitote.git gitote
|
|
|
- cd gitote
|
|
|
- wget https://gitlab.com/gitote/bindata/raw/master/go-bindata
|
|
|
- make bindata
|
|
|
@@ -108,7 +108,7 @@ Admin:
|
|
|
script:
|
|
|
- mkdir -p $GOPATH/src/gitote
|
|
|
- cd $GOPATH/src/gitote
|
|
|
- - git clone https://gitote.in/gitote/gitote.git gitote
|
|
|
+ - git clone https://gitlab.com/gitote/gitote.git gitote
|
|
|
- cd gitote
|
|
|
- go build
|
|
|
- ./gitote admin
|
|
|
@@ -119,7 +119,7 @@ Hook:
|
|
|
script:
|
|
|
- mkdir -p $GOPATH/src/gitote
|
|
|
- cd $GOPATH/src/gitote
|
|
|
- - git clone https://gitote.in/gitote/gitote.git gitote
|
|
|
+ - git clone https://gitlab.com/gitote/gitote.git gitote
|
|
|
- cd gitote
|
|
|
- go build
|
|
|
- ./gitote hook
|
|
|
@@ -130,7 +130,7 @@ Import:
|
|
|
script:
|
|
|
- mkdir -p $GOPATH/src/gitote
|
|
|
- cd $GOPATH/src/gitote
|
|
|
- - git clone https://gitote.in/gitote/gitote.git gitote
|
|
|
+ - git clone https://gitlab.com/gitote/gitote.git gitote
|
|
|
- cd gitote
|
|
|
- go build
|
|
|
- ./gitote import
|
|
|
@@ -141,7 +141,7 @@ Cert:
|
|
|
script:
|
|
|
- mkdir -p $GOPATH/src/gitote
|
|
|
- cd $GOPATH/src/gitote
|
|
|
- - git clone https://gitote.in/gitote/gitote.git gitote
|
|
|
+ - git clone https://gitlab.com/gitote/gitote.git gitote
|
|
|
- cd gitote
|
|
|
- go build
|
|
|
- ./gitote cert --help
|
|
|
@@ -152,7 +152,7 @@ Serv:
|
|
|
script:
|
|
|
- mkdir -p $GOPATH/src/gitote
|
|
|
- cd $GOPATH/src/gitote
|
|
|
- - git clone https://gitote.in/gitote/gitote.git gitote
|
|
|
+ - git clone https://gitlab.com/gitote/gitote.git gitote
|
|
|
- cd gitote
|
|
|
- go build
|
|
|
- ./gitote serv --help
|
|
|
@@ -163,7 +163,7 @@ Web:
|
|
|
script:
|
|
|
- mkdir -p $GOPATH/src/gitote
|
|
|
- cd $GOPATH/src/gitote
|
|
|
- - git clone https://gitote.in/gitote/gitote.git gitote
|
|
|
+ - git clone https://gitlab.com/gitote/gitote.git gitote
|
|
|
- cd gitote
|
|
|
- go build
|
|
|
- ./gitote web & sleep 20 ; kill $! || echo $?
|
|
|
@@ -176,10 +176,10 @@ DockerHub:
|
|
|
script:
|
|
|
- mkdir -p $GOPATH/src/gitote
|
|
|
- cd $GOPATH/src/gitote
|
|
|
- - git clone https://gitote.in/gitote/gitote.git gitote
|
|
|
+ - git clone https://gitlab.com/gitote/gitote.git gitote
|
|
|
- cd gitote
|
|
|
- docker login -u yoginth -p $CI_REGISTRY_PASSWORD docker.io
|
|
|
- docker build -t gitote/gitote .
|
|
|
- docker push gitote/gitote:latest
|
|
|
only:
|
|
|
- - master
|
|
|
+ - master
|