mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-24 22:06:43 +01:00
Use proper github path
This commit is contained in:
parent
119bca059f
commit
252b4fbe50
@ -2,7 +2,8 @@ package database
|
||||
|
||||
import (
|
||||
"database/sql"
|
||||
"github.com/castawaylabs/semaphore/util"
|
||||
|
||||
"github.com/ansible-semaphore/semaphore/util"
|
||||
_ "github.com/go-sql-driver/mysql" // imports mysql driver
|
||||
"gopkg.in/gorp.v1"
|
||||
)
|
||||
|
@ -2,9 +2,10 @@ package database
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/castawaylabs/semaphore/util"
|
||||
"gopkg.in/redis.v3"
|
||||
"time"
|
||||
|
||||
"github.com/ansible-semaphore/semaphore/util"
|
||||
"gopkg.in/redis.v3"
|
||||
)
|
||||
|
||||
// Redis pool
|
||||
|
9
main.go
9
main.go
@ -2,11 +2,12 @@ package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/ansible-semaphore/semaphore/database"
|
||||
"github.com/ansible-semaphore/semaphore/migration"
|
||||
"github.com/ansible-semaphore/semaphore/routes"
|
||||
"github.com/ansible-semaphore/semaphore/util"
|
||||
"github.com/bugsnag/bugsnag-go"
|
||||
"github.com/castawaylabs/semaphore/database"
|
||||
"github.com/castawaylabs/semaphore/migration"
|
||||
"github.com/castawaylabs/semaphore/routes"
|
||||
"github.com/castawaylabs/semaphore/util"
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
|
@ -2,10 +2,11 @@ package migration
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/castawaylabs/semaphore/database"
|
||||
"github.com/castawaylabs/semaphore/util"
|
||||
"github.com/go-sql-driver/mysql"
|
||||
"time"
|
||||
|
||||
"github.com/ansible-semaphore/semaphore/database"
|
||||
"github.com/ansible-semaphore/semaphore/util"
|
||||
"github.com/go-sql-driver/mysql"
|
||||
)
|
||||
|
||||
func (version *DBVersion) CheckExists() (bool, error) {
|
||||
|
@ -2,9 +2,10 @@ package migration
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/castawaylabs/semaphore/util"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/ansible-semaphore/semaphore/util"
|
||||
)
|
||||
|
||||
type DBVersion struct {
|
||||
|
@ -25,7 +25,7 @@
|
||||
- bower
|
||||
|
||||
# source is copied using ansible.
|
||||
#- git: repo=https://github.com/CastawayLabs/semaphore dest={{ homedir }}
|
||||
#- git: repo=https://github.com/ansible-semaphore/semaphore dest={{ homedir }}
|
||||
- file: src=/usr/bin/nodejs dest=/usr/bin/node state=link
|
||||
- shell: bower install --allow-root && npm install > {{ homedir }}/somelog.txt
|
||||
args:
|
||||
|
@ -4,15 +4,16 @@ import (
|
||||
"crypto/rand"
|
||||
"encoding/base64"
|
||||
"fmt"
|
||||
"github.com/castawaylabs/semaphore/database"
|
||||
"github.com/castawaylabs/semaphore/models"
|
||||
"github.com/castawaylabs/semaphore/util"
|
||||
"github.com/gin-gonic/gin"
|
||||
"gopkg.in/redis.v3"
|
||||
"io"
|
||||
"net/http"
|
||||
"net/url"
|
||||
"time"
|
||||
|
||||
"github.com/ansible-semaphore/semaphore/database"
|
||||
"github.com/ansible-semaphore/semaphore/models"
|
||||
"github.com/ansible-semaphore/semaphore/util"
|
||||
"github.com/gin-gonic/gin"
|
||||
"gopkg.in/redis.v3"
|
||||
)
|
||||
|
||||
func resetSessionExpiry(sessionID string) {
|
||||
|
@ -1,9 +1,10 @@
|
||||
package routes
|
||||
|
||||
import (
|
||||
"github.com/castawaylabs/semaphore/util"
|
||||
"github.com/gin-gonic/gin"
|
||||
"strings"
|
||||
|
||||
"github.com/ansible-semaphore/semaphore/util"
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
// Declare all routes
|
||||
|
@ -4,10 +4,11 @@ import (
|
||||
"encoding/json"
|
||||
"flag"
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
"github.com/bugsnag/bugsnag-go"
|
||||
"github.com/gin-gonic/gin"
|
||||
"github.com/mattbaird/gochimp"
|
||||
"os"
|
||||
)
|
||||
|
||||
var mandrillAPI *gochimp.MandrillAPI
|
||||
@ -93,7 +94,7 @@ func init() {
|
||||
ReleaseStage: stage,
|
||||
NotifyReleaseStages: []string{"production"},
|
||||
AppVersion: Version,
|
||||
ProjectPackages: []string{"github.com/castawaylabs/semaphore/**"},
|
||||
ProjectPackages: []string{"github.com/ansible-semaphore/semaphore/**"},
|
||||
})
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user