mirror of
https://github.com/semaphoreui/semaphore.git
synced 2025-01-19 23:09:21 +01:00
feat(be): ansible-semaphore -> semaphoreui
This commit is contained in:
parent
1f3f598f11
commit
89a2ddf6b5
@ -6,7 +6,7 @@ import (
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
trans "github.com/snikch/goodman/transaction"
|
||||
)
|
||||
|
||||
|
@ -6,12 +6,12 @@ import (
|
||||
"os"
|
||||
"time"
|
||||
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/ansible-semaphore/semaphore/db/bolt"
|
||||
"github.com/ansible-semaphore/semaphore/db/factory"
|
||||
"github.com/ansible-semaphore/semaphore/db/sql"
|
||||
"github.com/ansible-semaphore/semaphore/pkg/random"
|
||||
"github.com/ansible-semaphore/semaphore/util"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/db/bolt"
|
||||
"github.com/semaphoreui/semaphore/db/factory"
|
||||
"github.com/semaphoreui/semaphore/db/sql"
|
||||
"github.com/semaphoreui/semaphore/pkg/random"
|
||||
"github.com/semaphoreui/semaphore/util"
|
||||
"github.com/go-gorp/gorp/v3"
|
||||
"github.com/snikch/goodman/transaction"
|
||||
)
|
||||
|
8
.github/ISSUE_TEMPLATE/documentation.yml
vendored
8
.github/ISSUE_TEMPLATE/documentation.yml
vendored
@ -11,11 +11,11 @@ body:
|
||||
value: |
|
||||
Please make sure to go through these steps **before opening an issue**:
|
||||
|
||||
- [ ] Read the [documentation](https://docs.ansible-semaphore.com/)
|
||||
- [ ] Read the [troubleshooting guide](https://docs.ansible-semaphore.com/administration-guide/troubleshooting)
|
||||
- [ ] Read the [documentation regarding manual installations](https://docs.ansible-semaphore.com/administration-guide/installation_manually) if you did install Semaphore that way
|
||||
- [ ] Read the [documentation](https://docs.semaphoreui.com/)
|
||||
- [ ] Read the [troubleshooting guide](https://docs.semaphoreui.com/administration-guide/troubleshooting)
|
||||
- [ ] Read the [documentation regarding manual installations](https://docs.semaphoreui.com/administration-guide/installation_manually) if you did install Semaphore that way
|
||||
|
||||
- [ ] Check if there are existing [issues](https://github.com/ansible-semaphore/semaphore/issues) or [discussions](https://github.com/ansible-semaphore/semaphore/discussions) regarding your topic
|
||||
- [ ] Check if there are existing [issues](https://github.com/semaphoreui/semaphore/issues) or [discussions](https://github.com/semaphoreui/semaphore/discussions) regarding your topic
|
||||
|
||||
- type: textarea
|
||||
id: problem
|
||||
|
8
.github/ISSUE_TEMPLATE/feature_request.yml
vendored
8
.github/ISSUE_TEMPLATE/feature_request.yml
vendored
@ -11,11 +11,11 @@ body:
|
||||
value: |
|
||||
Please make sure to go through these steps **before opening an issue**:
|
||||
|
||||
- [ ] Read the [documentation](https://docs.ansible-semaphore.com/)
|
||||
- [ ] Read the [troubleshooting guide](https://docs.ansible-semaphore.com/administration-guide/troubleshooting)
|
||||
- [ ] Read the [documentation regarding manual installations](https://docs.ansible-semaphore.com/administration-guide/installation_manually) if you did install Semaphore that way
|
||||
- [ ] Read the [documentation](https://docs.semaphoreui.com/)
|
||||
- [ ] Read the [troubleshooting guide](https://docs.semaphoreui.com/administration-guide/troubleshooting)
|
||||
- [ ] Read the [documentation regarding manual installations](https://docs.semaphoreui.com/administration-guide/installation_manually) if you did install Semaphore that way
|
||||
|
||||
- [ ] Check if there are existing [issues](https://github.com/ansible-semaphore/semaphore/issues) or [discussions](https://github.com/ansible-semaphore/semaphore/discussions) regarding your topic
|
||||
- [ ] Check if there are existing [issues](https://github.com/semaphoreui/semaphore/issues) or [discussions](https://github.com/semaphoreui/semaphore/discussions) regarding your topic
|
||||
|
||||
- type: dropdown
|
||||
id: related-to
|
||||
|
8
.github/ISSUE_TEMPLATE/problem.yml
vendored
8
.github/ISSUE_TEMPLATE/problem.yml
vendored
@ -11,11 +11,11 @@ body:
|
||||
value: |
|
||||
Please make sure to go through these steps **before opening an issue**:
|
||||
|
||||
- [ ] Read the [documentation](https://docs.ansible-semaphore.com/)
|
||||
- [ ] Read the [troubleshooting guide](https://docs.ansible-semaphore.com/administration-guide/troubleshooting)
|
||||
- [ ] Read the [documentation regarding manual installations](https://docs.ansible-semaphore.com/administration-guide/installation_manually) if you don't use docker
|
||||
- [ ] Read the [documentation](https://docs.semaphoreui.com/)
|
||||
- [ ] Read the [troubleshooting guide](https://docs.semaphoreui.com/administration-guide/troubleshooting)
|
||||
- [ ] Read the [documentation regarding manual installations](https://docs.semaphoreui.com/administration-guide/installation_manually) if you don't use docker
|
||||
|
||||
- [ ] Check if there are existing [issues](https://github.com/ansible-semaphore/semaphore/issues) or [discussions](https://github.com/ansible-semaphore/semaphore/discussions) regarding your topic
|
||||
- [ ] Check if there are existing [issues](https://github.com/semaphoreui/semaphore/issues) or [discussions](https://github.com/semaphoreui/semaphore/discussions) regarding your topic
|
||||
|
||||
- type: textarea
|
||||
id: problem
|
||||
|
8
.github/ISSUE_TEMPLATE/question.yml
vendored
8
.github/ISSUE_TEMPLATE/question.yml
vendored
@ -11,11 +11,11 @@ body:
|
||||
value: |
|
||||
Please make sure to go through these steps **before opening an issue**:
|
||||
|
||||
- [ ] Read the [documentation](https://docs.ansible-semaphore.com/)
|
||||
- [ ] Read the [troubleshooting guide](https://docs.ansible-semaphore.com/administration-guide/troubleshooting)
|
||||
- [ ] Read the [documentation regarding manual installations](https://docs.ansible-semaphore.com/administration-guide/installation_manually) if you did install Semaphore that way
|
||||
- [ ] Read the [documentation](https://docs.semaphoreui.com/)
|
||||
- [ ] Read the [troubleshooting guide](https://docs.semaphoreui.com/administration-guide/troubleshooting)
|
||||
- [ ] Read the [documentation regarding manual installations](https://docs.semaphoreui.com/administration-guide/installation_manually) if you did install Semaphore that way
|
||||
|
||||
- [ ] Check if there are existing [issues](https://github.com/ansible-semaphore/semaphore/issues) or [discussions](https://github.com/ansible-semaphore/semaphore/discussions) regarding your topic
|
||||
- [ ] Check if there are existing [issues](https://github.com/semaphoreui/semaphore/issues) or [discussions](https://github.com/semaphoreui/semaphore/discussions) regarding your topic
|
||||
|
||||
- type: textarea
|
||||
id: question
|
||||
|
@ -9,7 +9,7 @@ builds:
|
||||
env:
|
||||
- CGO_ENABLED=0
|
||||
main: ./cli/main.go
|
||||
ldflags: -s -w -X github.com/ansible-semaphore/semaphore/util.Ver={{ .Version }} -X github.com/ansible-semaphore/semaphore/util.Commit={{ .ShortCommit }} -X github.com/ansible-semaphore/semaphore/util.Date={{ .Timestamp }}
|
||||
ldflags: -s -w -X github.com/semaphoreui/semaphore/util.Ver={{ .Version }} -X github.com/semaphoreui/semaphore/util.Commit={{ .ShortCommit }} -X github.com/semaphoreui/semaphore/util.Date={{ .Timestamp }}
|
||||
tags:
|
||||
- netgo
|
||||
goos:
|
||||
|
@ -17,13 +17,13 @@ When creating a pull-request you should:
|
||||
|
||||
1) Set up GOPATH, GOBIN and Workspace.
|
||||
```
|
||||
mkdir -p $GOPATH/src/github.com/ansible-semaphore && cd $GOPATH/src/github.com/ansible-semaphore
|
||||
mkdir -p $GOPATH/src/github.com/semaphoreui && cd $GOPATH/src/github.com/semaphoreui
|
||||
```
|
||||
|
||||
2) Clone semaphore (with submodules)
|
||||
|
||||
```
|
||||
git clone --recursive git@github.com:ansible-semaphore/semaphore.git && cd semaphore
|
||||
git clone --recursive git@github.com:semaphoreui/semaphore.git && cd semaphore
|
||||
```
|
||||
|
||||
3) Install dev dependencies
|
||||
|
@ -68,7 +68,7 @@ tasks:
|
||||
sh: git log --pretty=format:'%h' -n 1
|
||||
VERSION: "{{ if eq .GITHUB_REF_TYPE \"tag\" }}{{ .GITHUB_REF_NAME }}{{ else }}{{ .TAG }}{{ end }}"
|
||||
DATE: "{{ now | unixEpoch }}"
|
||||
IMPORT: "github.com/ansible-semaphore/semaphore"
|
||||
IMPORT: "github.com/semaphoreui/semaphore"
|
||||
|
||||
build:fe:
|
||||
desc: Build VueJS project
|
||||
@ -105,7 +105,7 @@ tasks:
|
||||
sh: git log --pretty=format:'%h' -n 1
|
||||
VERSION: "{{ if eq .GITHUB_REF_TYPE \"tag\" }}{{ .GITHUB_REF_NAME }}{{ else }}{{ .TAG }}{{ end }}"
|
||||
DATE: "{{ now | unixEpoch }}"
|
||||
IMPORT: "github.com/ansible-semaphore/semaphore"
|
||||
IMPORT: "github.com/semaphoreui/semaphore"
|
||||
|
||||
lint:
|
||||
cmds:
|
||||
|
@ -4,9 +4,9 @@ import (
|
||||
"encoding/json"
|
||||
"errors"
|
||||
"fmt"
|
||||
"github.com/ansible-semaphore/semaphore/api/helpers"
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/ansible-semaphore/semaphore/util"
|
||||
"github.com/semaphoreui/semaphore/api/helpers"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/util"
|
||||
"github.com/gorilla/context"
|
||||
"net/http"
|
||||
"reflect"
|
||||
|
@ -1,9 +1,9 @@
|
||||
package api
|
||||
|
||||
import (
|
||||
"github.com/ansible-semaphore/semaphore/api/helpers"
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/ansible-semaphore/semaphore/util"
|
||||
"github.com/semaphoreui/semaphore/api/helpers"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/util"
|
||||
"github.com/gorilla/context"
|
||||
log "github.com/sirupsen/logrus"
|
||||
"net/http"
|
||||
|
@ -1,8 +1,8 @@
|
||||
package api
|
||||
|
||||
import (
|
||||
"github.com/ansible-semaphore/semaphore/api/helpers"
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/api/helpers"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
"net/http"
|
||||
|
||||
"github.com/gorilla/context"
|
||||
|
@ -3,7 +3,7 @@ package helpers
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
"github.com/gorilla/context"
|
||||
)
|
||||
|
||||
|
@ -3,7 +3,7 @@ package helpers
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
log "github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
|
@ -4,7 +4,7 @@ import (
|
||||
"encoding/json"
|
||||
"errors"
|
||||
"fmt"
|
||||
"github.com/ansible-semaphore/semaphore/services/tasks"
|
||||
"github.com/semaphoreui/semaphore/services/tasks"
|
||||
"net/http"
|
||||
"net/url"
|
||||
"runtime/debug"
|
||||
@ -14,7 +14,7 @@ import (
|
||||
"github.com/gorilla/context"
|
||||
log "github.com/sirupsen/logrus"
|
||||
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
|
||||
"github.com/gorilla/mux"
|
||||
)
|
||||
|
@ -5,13 +5,13 @@ import (
|
||||
"crypto/sha256"
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"github.com/ansible-semaphore/semaphore/util"
|
||||
"github.com/semaphoreui/semaphore/util"
|
||||
"io"
|
||||
"net/http"
|
||||
"strings"
|
||||
|
||||
"github.com/ansible-semaphore/semaphore/api/helpers"
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/api/helpers"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
log "github.com/sirupsen/logrus"
|
||||
"github.com/thedevsaddam/gojsonq/v2"
|
||||
)
|
||||
|
@ -1,7 +1,7 @@
|
||||
package api
|
||||
|
||||
import (
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
"net/http"
|
||||
"testing"
|
||||
)
|
||||
|
@ -16,10 +16,10 @@ import (
|
||||
"text/template"
|
||||
"time"
|
||||
|
||||
"github.com/ansible-semaphore/semaphore/api/helpers"
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/ansible-semaphore/semaphore/pkg/random"
|
||||
"github.com/ansible-semaphore/semaphore/util"
|
||||
"github.com/semaphoreui/semaphore/api/helpers"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/pkg/random"
|
||||
"github.com/semaphoreui/semaphore/util"
|
||||
"github.com/coreos/go-oidc/v3/oidc"
|
||||
"github.com/go-ldap/ldap/v3"
|
||||
"github.com/gorilla/mux"
|
||||
|
@ -1,8 +1,8 @@
|
||||
package api
|
||||
|
||||
import (
|
||||
"github.com/ansible-semaphore/semaphore/api/helpers"
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/api/helpers"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
"github.com/gorilla/context"
|
||||
"net/http"
|
||||
)
|
||||
|
@ -5,9 +5,9 @@ import (
|
||||
"net/http"
|
||||
"strings"
|
||||
|
||||
"github.com/ansible-semaphore/semaphore/api/helpers"
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
projectService "github.com/ansible-semaphore/semaphore/services/project"
|
||||
"github.com/semaphoreui/semaphore/api/helpers"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
projectService "github.com/semaphoreui/semaphore/services/project"
|
||||
"github.com/gorilla/context"
|
||||
log "github.com/sirupsen/logrus"
|
||||
)
|
||||
|
@ -2,8 +2,8 @@ package projects
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/ansible-semaphore/semaphore/api/helpers"
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/api/helpers"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
"net/http"
|
||||
|
||||
"github.com/gorilla/context"
|
||||
|
@ -6,8 +6,8 @@ import (
|
||||
|
||||
log "github.com/sirupsen/logrus"
|
||||
|
||||
"github.com/ansible-semaphore/semaphore/api/helpers"
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/api/helpers"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
"github.com/gorilla/context"
|
||||
)
|
||||
|
||||
|
@ -4,10 +4,10 @@ import (
|
||||
"net/http"
|
||||
"strings"
|
||||
|
||||
"github.com/ansible-semaphore/semaphore/api/helpers"
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/ansible-semaphore/semaphore/pkg/random"
|
||||
"github.com/ansible-semaphore/semaphore/util"
|
||||
"github.com/semaphoreui/semaphore/api/helpers"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/pkg/random"
|
||||
"github.com/semaphoreui/semaphore/util"
|
||||
"github.com/gorilla/context"
|
||||
)
|
||||
|
||||
|
@ -4,8 +4,8 @@ import (
|
||||
"fmt"
|
||||
"net/http"
|
||||
|
||||
"github.com/ansible-semaphore/semaphore/api/helpers"
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/api/helpers"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
"github.com/gorilla/context"
|
||||
log "github.com/sirupsen/logrus"
|
||||
)
|
||||
|
@ -5,8 +5,8 @@ import (
|
||||
"fmt"
|
||||
"net/http"
|
||||
|
||||
"github.com/ansible-semaphore/semaphore/api/helpers"
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/api/helpers"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
"github.com/gorilla/context"
|
||||
log "github.com/sirupsen/logrus"
|
||||
)
|
||||
|
@ -5,8 +5,8 @@ import (
|
||||
"fmt"
|
||||
"net/http"
|
||||
|
||||
"github.com/ansible-semaphore/semaphore/api/helpers"
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/api/helpers"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
|
||||
"os"
|
||||
"path/filepath"
|
||||
|
@ -4,8 +4,8 @@ import (
|
||||
"fmt"
|
||||
"net/http"
|
||||
|
||||
"github.com/ansible-semaphore/semaphore/api/helpers"
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/api/helpers"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
|
||||
"github.com/gorilla/context"
|
||||
)
|
||||
|
@ -1,8 +1,8 @@
|
||||
package projects
|
||||
|
||||
import (
|
||||
"github.com/ansible-semaphore/semaphore/api/helpers"
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/api/helpers"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
"github.com/gorilla/mux"
|
||||
"net/http"
|
||||
|
||||
|
@ -3,9 +3,9 @@ package projects
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/ansible-semaphore/semaphore/api/helpers"
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/ansible-semaphore/semaphore/util"
|
||||
"github.com/semaphoreui/semaphore/api/helpers"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/util"
|
||||
log "github.com/sirupsen/logrus"
|
||||
|
||||
"github.com/gorilla/context"
|
||||
|
@ -5,9 +5,9 @@ import (
|
||||
"fmt"
|
||||
"net/http"
|
||||
|
||||
"github.com/ansible-semaphore/semaphore/api/helpers"
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/ansible-semaphore/semaphore/util"
|
||||
"github.com/semaphoreui/semaphore/api/helpers"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/util"
|
||||
"github.com/gorilla/context"
|
||||
)
|
||||
|
||||
|
@ -4,9 +4,9 @@ import (
|
||||
"fmt"
|
||||
"net/http"
|
||||
|
||||
"github.com/ansible-semaphore/semaphore/api/helpers"
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/ansible-semaphore/semaphore/services/schedules"
|
||||
"github.com/semaphoreui/semaphore/api/helpers"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/services/schedules"
|
||||
"github.com/gorilla/context"
|
||||
)
|
||||
|
||||
|
@ -2,10 +2,10 @@ package projects
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"github.com/ansible-semaphore/semaphore/api/helpers"
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/ansible-semaphore/semaphore/services/tasks"
|
||||
"github.com/ansible-semaphore/semaphore/util"
|
||||
"github.com/semaphoreui/semaphore/api/helpers"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/services/tasks"
|
||||
"github.com/semaphoreui/semaphore/util"
|
||||
"github.com/gorilla/context"
|
||||
log "github.com/sirupsen/logrus"
|
||||
"net/http"
|
||||
|
@ -2,11 +2,11 @@ package projects
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/ansible-semaphore/semaphore/util"
|
||||
"github.com/semaphoreui/semaphore/util"
|
||||
"net/http"
|
||||
|
||||
"github.com/ansible-semaphore/semaphore/api/helpers"
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/api/helpers"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
"github.com/gorilla/context"
|
||||
log "github.com/sirupsen/logrus"
|
||||
)
|
||||
|
@ -4,8 +4,8 @@ import (
|
||||
"fmt"
|
||||
"net/http"
|
||||
|
||||
"github.com/ansible-semaphore/semaphore/api/helpers"
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/api/helpers"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
"github.com/gorilla/context"
|
||||
)
|
||||
|
||||
|
@ -4,8 +4,8 @@ import (
|
||||
"fmt"
|
||||
"net/http"
|
||||
|
||||
"github.com/ansible-semaphore/semaphore/api/helpers"
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/api/helpers"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
|
||||
"github.com/gorilla/context"
|
||||
)
|
||||
|
@ -10,14 +10,14 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/ansible-semaphore/semaphore/api/runners"
|
||||
"github.com/semaphoreui/semaphore/api/runners"
|
||||
|
||||
"github.com/ansible-semaphore/semaphore/api/helpers"
|
||||
"github.com/ansible-semaphore/semaphore/api/projects"
|
||||
"github.com/ansible-semaphore/semaphore/api/sockets"
|
||||
"github.com/ansible-semaphore/semaphore/api/tasks"
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/ansible-semaphore/semaphore/util"
|
||||
"github.com/semaphoreui/semaphore/api/helpers"
|
||||
"github.com/semaphoreui/semaphore/api/projects"
|
||||
"github.com/semaphoreui/semaphore/api/sockets"
|
||||
"github.com/semaphoreui/semaphore/api/tasks"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/util"
|
||||
"github.com/gorilla/mux"
|
||||
)
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
package api
|
||||
|
||||
import (
|
||||
"github.com/ansible-semaphore/semaphore/api/helpers"
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/api/helpers"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
log "github.com/sirupsen/logrus"
|
||||
"net/http"
|
||||
|
||||
|
@ -3,11 +3,11 @@ package runners
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/ansible-semaphore/semaphore/api/helpers"
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/ansible-semaphore/semaphore/pkg/task_logger"
|
||||
"github.com/ansible-semaphore/semaphore/services/runners"
|
||||
"github.com/ansible-semaphore/semaphore/util"
|
||||
"github.com/semaphoreui/semaphore/api/helpers"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/pkg/task_logger"
|
||||
"github.com/semaphoreui/semaphore/services/runners"
|
||||
"github.com/semaphoreui/semaphore/util"
|
||||
"github.com/gorilla/context"
|
||||
)
|
||||
|
||||
|
@ -2,11 +2,11 @@ package sockets
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
"net/http"
|
||||
"time"
|
||||
|
||||
"github.com/ansible-semaphore/semaphore/util"
|
||||
"github.com/semaphoreui/semaphore/util"
|
||||
"github.com/gorilla/context"
|
||||
"github.com/gorilla/websocket"
|
||||
log "github.com/sirupsen/logrus"
|
||||
|
@ -1,12 +1,12 @@
|
||||
package tasks
|
||||
|
||||
import (
|
||||
"github.com/ansible-semaphore/semaphore/pkg/task_logger"
|
||||
"github.com/semaphoreui/semaphore/pkg/task_logger"
|
||||
"net/http"
|
||||
|
||||
"github.com/ansible-semaphore/semaphore/api/helpers"
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
task2 "github.com/ansible-semaphore/semaphore/services/tasks"
|
||||
"github.com/semaphoreui/semaphore/api/helpers"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
task2 "github.com/semaphoreui/semaphore/services/tasks"
|
||||
"github.com/gorilla/context"
|
||||
)
|
||||
|
||||
|
@ -3,9 +3,9 @@ package api
|
||||
import (
|
||||
"crypto/rand"
|
||||
"encoding/base64"
|
||||
"github.com/ansible-semaphore/semaphore/api/helpers"
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/ansible-semaphore/semaphore/util"
|
||||
"github.com/semaphoreui/semaphore/api/helpers"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/util"
|
||||
"github.com/gorilla/context"
|
||||
"github.com/gorilla/mux"
|
||||
"io"
|
||||
|
@ -1,12 +1,12 @@
|
||||
package api
|
||||
|
||||
import (
|
||||
"github.com/ansible-semaphore/semaphore/api/helpers"
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/api/helpers"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
log "github.com/sirupsen/logrus"
|
||||
"net/http"
|
||||
|
||||
"github.com/ansible-semaphore/semaphore/util"
|
||||
"github.com/semaphoreui/semaphore/util"
|
||||
"github.com/gorilla/context"
|
||||
)
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
package cmd
|
||||
|
||||
import (
|
||||
"github.com/ansible-semaphore/semaphore/util"
|
||||
"github.com/semaphoreui/semaphore/util"
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
|
@ -6,13 +6,13 @@ import (
|
||||
"os"
|
||||
"strings"
|
||||
|
||||
"github.com/ansible-semaphore/semaphore/api"
|
||||
"github.com/ansible-semaphore/semaphore/api/sockets"
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/ansible-semaphore/semaphore/db/factory"
|
||||
"github.com/ansible-semaphore/semaphore/services/schedules"
|
||||
"github.com/ansible-semaphore/semaphore/services/tasks"
|
||||
"github.com/ansible-semaphore/semaphore/util"
|
||||
"github.com/semaphoreui/semaphore/api"
|
||||
"github.com/semaphoreui/semaphore/api/sockets"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/db/factory"
|
||||
"github.com/semaphoreui/semaphore/services/schedules"
|
||||
"github.com/semaphoreui/semaphore/services/tasks"
|
||||
"github.com/semaphoreui/semaphore/util"
|
||||
"github.com/gorilla/context"
|
||||
"github.com/gorilla/handlers"
|
||||
log "github.com/sirupsen/logrus"
|
||||
@ -29,8 +29,8 @@ var rootCmd = &cobra.Command{
|
||||
Use: "semaphore",
|
||||
Short: "Semaphore UI is a beautiful web UI for Ansible",
|
||||
Long: `Semaphore UI is a beautiful web UI for Ansible.
|
||||
Source code is available at https://github.com/ansible-semaphore/semaphore.
|
||||
Complete documentation is available at https://ansible-semaphore.com.`,
|
||||
Source code is available at https://github.com/semaphoreui/semaphore.
|
||||
Complete documentation is available at https://semaphoreui.com.`,
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
_ = cmd.Help()
|
||||
os.Exit(0)
|
||||
|
@ -4,8 +4,8 @@ import (
|
||||
"io"
|
||||
"os"
|
||||
|
||||
"github.com/ansible-semaphore/semaphore/services/runners"
|
||||
"github.com/ansible-semaphore/semaphore/util"
|
||||
"github.com/semaphoreui/semaphore/services/runners"
|
||||
"github.com/semaphoreui/semaphore/util"
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
|
@ -3,8 +3,8 @@ package cmd
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/ansible-semaphore/semaphore/cli/setup"
|
||||
"github.com/ansible-semaphore/semaphore/util"
|
||||
"github.com/semaphoreui/semaphore/cli/setup"
|
||||
"github.com/semaphoreui/semaphore/util"
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
package cmd
|
||||
|
||||
import (
|
||||
"github.com/ansible-semaphore/semaphore/services/runners"
|
||||
"github.com/ansible-semaphore/semaphore/util"
|
||||
"github.com/semaphoreui/semaphore/services/runners"
|
||||
"github.com/semaphoreui/semaphore/util"
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
package cmd
|
||||
|
||||
import (
|
||||
"github.com/ansible-semaphore/semaphore/services/runners"
|
||||
"github.com/ansible-semaphore/semaphore/util"
|
||||
"github.com/semaphoreui/semaphore/services/runners"
|
||||
"github.com/semaphoreui/semaphore/util"
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
|
@ -6,10 +6,10 @@ import (
|
||||
"os"
|
||||
"strings"
|
||||
|
||||
"github.com/ansible-semaphore/semaphore/cli/setup"
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/ansible-semaphore/semaphore/db/factory"
|
||||
"github.com/ansible-semaphore/semaphore/util"
|
||||
"github.com/semaphoreui/semaphore/cli/setup"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/db/factory"
|
||||
"github.com/semaphoreui/semaphore/util"
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
|
@ -2,7 +2,7 @@ package cmd
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
"github.com/spf13/cobra"
|
||||
"os"
|
||||
)
|
||||
|
@ -2,7 +2,7 @@ package cmd
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
"github.com/spf13/cobra"
|
||||
"os"
|
||||
)
|
||||
|
@ -2,7 +2,7 @@ package cmd
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
|
@ -3,7 +3,7 @@ package cmd
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/ansible-semaphore/semaphore/util"
|
||||
"github.com/semaphoreui/semaphore/util"
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/ansible-semaphore/semaphore/cli/cmd"
|
||||
"github.com/semaphoreui/semaphore/cli/cmd"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
@ -8,7 +8,7 @@ import (
|
||||
|
||||
log "github.com/sirupsen/logrus"
|
||||
|
||||
"github.com/ansible-semaphore/semaphore/util"
|
||||
"github.com/semaphoreui/semaphore/util"
|
||||
)
|
||||
|
||||
const interactiveSetupBlurb = `
|
||||
|
@ -7,10 +7,10 @@ import (
|
||||
"encoding/base64"
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"github.com/ansible-semaphore/semaphore/pkg/random"
|
||||
"github.com/ansible-semaphore/semaphore/pkg/ssh"
|
||||
"github.com/ansible-semaphore/semaphore/pkg/task_logger"
|
||||
"github.com/ansible-semaphore/semaphore/util"
|
||||
"github.com/semaphoreui/semaphore/pkg/random"
|
||||
"github.com/semaphoreui/semaphore/pkg/ssh"
|
||||
"github.com/semaphoreui/semaphore/pkg/task_logger"
|
||||
"github.com/semaphoreui/semaphore/util"
|
||||
"io"
|
||||
"path"
|
||||
)
|
||||
|
@ -2,7 +2,7 @@ package db
|
||||
|
||||
import (
|
||||
"encoding/base64"
|
||||
"github.com/ansible-semaphore/semaphore/util"
|
||||
"github.com/semaphoreui/semaphore/util"
|
||||
"testing"
|
||||
)
|
||||
|
||||
|
@ -8,7 +8,7 @@ import (
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
"github.com/ansible-semaphore/semaphore/util"
|
||||
"github.com/semaphoreui/semaphore/util"
|
||||
)
|
||||
|
||||
type RepositoryType string
|
||||
|
@ -6,7 +6,7 @@ import (
|
||||
"path"
|
||||
"testing"
|
||||
|
||||
"github.com/ansible-semaphore/semaphore/util"
|
||||
"github.com/semaphoreui/semaphore/util"
|
||||
)
|
||||
|
||||
func TestRepository_GetSchema(t *testing.T) {
|
||||
|
@ -5,8 +5,8 @@ import (
|
||||
"github.com/go-gorp/gorp/v3"
|
||||
"time"
|
||||
|
||||
"github.com/ansible-semaphore/semaphore/pkg/task_logger"
|
||||
"github.com/ansible-semaphore/semaphore/util"
|
||||
"github.com/semaphoreui/semaphore/pkg/task_logger"
|
||||
"github.com/semaphoreui/semaphore/util"
|
||||
)
|
||||
|
||||
// Task is a model of a task which will be executed by the runner
|
||||
|
@ -65,7 +65,7 @@ type Template struct {
|
||||
RepositoryID int `db:"repository_id" json:"repository_id" backup:"-"`
|
||||
EnvironmentID *int `db:"environment_id" json:"environment_id" backup:"-"`
|
||||
|
||||
// Name as described in https://github.com/ansible-semaphore/semaphore/issues/188
|
||||
// Name as described in https://github.com/semaphoreui/semaphore/issues/188
|
||||
Name string `db:"name" json:"name"`
|
||||
// playbook name in the form of "some_play.yml"
|
||||
Playbook string `db:"playbook" json:"playbook"`
|
||||
|
@ -4,8 +4,8 @@ import (
|
||||
"bytes"
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/ansible-semaphore/semaphore/util"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/util"
|
||||
"go.etcd.io/bbolt"
|
||||
"reflect"
|
||||
"sort"
|
||||
|
@ -2,7 +2,7 @@ package bolt
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
"reflect"
|
||||
"testing"
|
||||
)
|
||||
|
@ -1,7 +1,7 @@
|
||||
package bolt
|
||||
|
||||
import (
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
"testing"
|
||||
)
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
package bolt
|
||||
|
||||
import (
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
"go.etcd.io/bbolt"
|
||||
)
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
package bolt
|
||||
|
||||
import "github.com/ansible-semaphore/semaphore/db"
|
||||
import "github.com/semaphoreui/semaphore/db"
|
||||
|
||||
func (d *BoltDb) GetEnvironment(projectID int, environmentID int) (environment db.Environment, err error) {
|
||||
err = d.getObject(projectID, db.EnvironmentProps, intObjectID(environmentID), &environment)
|
||||
|
@ -2,7 +2,7 @@ package bolt
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
"go.etcd.io/bbolt"
|
||||
"time"
|
||||
)
|
||||
|
@ -3,7 +3,7 @@ package bolt
|
||||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
"reflect"
|
||||
)
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
package bolt
|
||||
|
||||
import (
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
)
|
||||
|
||||
func (d *BoltDb) GetInventory(projectID int, inventoryID int) (inventory db.Inventory, err error) {
|
||||
|
@ -2,7 +2,7 @@ package bolt
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
"go.etcd.io/bbolt"
|
||||
)
|
||||
|
||||
|
@ -2,7 +2,7 @@ package bolt
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
"go.etcd.io/bbolt"
|
||||
"strings"
|
||||
)
|
||||
|
@ -1,7 +1,7 @@
|
||||
package bolt
|
||||
|
||||
import (
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
"time"
|
||||
)
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
package bolt
|
||||
|
||||
import (
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
"testing"
|
||||
"time"
|
||||
)
|
||||
|
@ -1,7 +1,7 @@
|
||||
package bolt
|
||||
|
||||
import (
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
)
|
||||
|
||||
func (d *BoltDb) GetRepository(projectID int, repositoryID int) (repository db.Repository, err error) {
|
||||
|
@ -3,7 +3,7 @@ package bolt
|
||||
import (
|
||||
"encoding/base64"
|
||||
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
"github.com/gorilla/securecookie"
|
||||
"go.etcd.io/bbolt"
|
||||
)
|
||||
|
@ -1,7 +1,7 @@
|
||||
package bolt
|
||||
|
||||
import (
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
"go.etcd.io/bbolt"
|
||||
)
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
package bolt
|
||||
|
||||
import (
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
"reflect"
|
||||
"time"
|
||||
)
|
||||
|
@ -1,7 +1,7 @@
|
||||
package bolt
|
||||
|
||||
import (
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
"go.etcd.io/bbolt"
|
||||
"time"
|
||||
)
|
||||
|
@ -4,7 +4,7 @@ import (
|
||||
"encoding/json"
|
||||
"errors"
|
||||
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
"go.etcd.io/bbolt"
|
||||
)
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
package bolt
|
||||
|
||||
import (
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
"go.etcd.io/bbolt"
|
||||
)
|
||||
|
||||
|
@ -2,7 +2,7 @@ package bolt
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
"golang.org/x/crypto/bcrypt"
|
||||
"time"
|
||||
)
|
||||
|
@ -1,7 +1,7 @@
|
||||
package bolt
|
||||
|
||||
import (
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
"testing"
|
||||
"time"
|
||||
)
|
||||
|
@ -1,6 +1,6 @@
|
||||
package bolt
|
||||
|
||||
import "github.com/ansible-semaphore/semaphore/db"
|
||||
import "github.com/semaphoreui/semaphore/db"
|
||||
|
||||
func (d *BoltDb) GetView(projectID int, viewID int) (view db.View, err error) {
|
||||
err = d.getObject(projectID, db.ViewProps, intObjectID(viewID), &view)
|
||||
|
@ -1,7 +1,7 @@
|
||||
package bolt
|
||||
|
||||
import (
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
"sort"
|
||||
"testing"
|
||||
"time"
|
||||
|
@ -2,7 +2,7 @@ package db
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/ansible-semaphore/semaphore/util"
|
||||
"github.com/semaphoreui/semaphore/util"
|
||||
"reflect"
|
||||
"strings"
|
||||
)
|
||||
|
@ -1,10 +1,10 @@
|
||||
package factory
|
||||
|
||||
import (
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/ansible-semaphore/semaphore/db/bolt"
|
||||
"github.com/ansible-semaphore/semaphore/db/sql"
|
||||
"github.com/ansible-semaphore/semaphore/util"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/db/bolt"
|
||||
"github.com/semaphoreui/semaphore/db/sql"
|
||||
"github.com/semaphoreui/semaphore/util"
|
||||
)
|
||||
|
||||
func CreateStore() db.Store {
|
||||
|
@ -10,8 +10,8 @@ import (
|
||||
"strings"
|
||||
|
||||
"github.com/Masterminds/squirrel"
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/ansible-semaphore/semaphore/util"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/util"
|
||||
"github.com/go-gorp/gorp/v3"
|
||||
_ "github.com/go-sql-driver/mysql" // imports mysql driver
|
||||
_ "github.com/lib/pq"
|
||||
|
@ -3,7 +3,7 @@ package sql
|
||||
import (
|
||||
"database/sql"
|
||||
"errors"
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
)
|
||||
|
||||
func (d *SqlDb) GetAccessKey(projectID int, accessKeyID int) (key db.AccessKey, err error) {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package sql
|
||||
|
||||
import (
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
)
|
||||
|
||||
func (d *SqlDb) GetEnvironment(projectID int, environmentID int) (environment db.Environment, err error) {
|
||||
|
@ -2,7 +2,7 @@ package sql
|
||||
|
||||
import (
|
||||
"github.com/Masterminds/squirrel"
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
"time"
|
||||
)
|
||||
|
||||
|
@ -3,7 +3,7 @@ package sql
|
||||
import (
|
||||
"database/sql"
|
||||
"github.com/Masterminds/squirrel"
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
)
|
||||
|
||||
func (d *SqlDb) CreateIntegration(integration db.Integration) (newIntegration db.Integration, err error) {
|
||||
|
@ -1,6 +1,6 @@
|
||||
package sql
|
||||
|
||||
import "github.com/ansible-semaphore/semaphore/db"
|
||||
import "github.com/semaphoreui/semaphore/db"
|
||||
|
||||
func (d *SqlDb) GetInventory(projectID int, inventoryID int) (inventory db.Inventory, err error) {
|
||||
err = d.getObject(projectID, db.InventoryProps, inventoryID, &inventory)
|
||||
|
@ -8,7 +8,7 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
log "github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
|
@ -4,7 +4,7 @@ import (
|
||||
"database/sql"
|
||||
"errors"
|
||||
"github.com/Masterminds/squirrel"
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
)
|
||||
|
||||
func (d *SqlDb) SetOption(key string, value string) error {
|
||||
|
@ -2,7 +2,7 @@ package sql
|
||||
|
||||
import (
|
||||
"github.com/Masterminds/squirrel"
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
"time"
|
||||
)
|
||||
|
||||
|
@ -2,7 +2,7 @@ package sql
|
||||
|
||||
import (
|
||||
"github.com/Masterminds/squirrel"
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
)
|
||||
|
||||
func (d *SqlDb) GetRepository(projectID int, repositoryID int) (db.Repository, error) {
|
||||
|
@ -3,7 +3,7 @@ package sql
|
||||
import (
|
||||
"encoding/base64"
|
||||
"github.com/Masterminds/squirrel"
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
"github.com/gorilla/securecookie"
|
||||
)
|
||||
|
||||
|
@ -2,7 +2,7 @@ package sql
|
||||
|
||||
import (
|
||||
"database/sql"
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
)
|
||||
|
||||
func (d *SqlDb) CreateSchedule(schedule db.Schedule) (newSchedule db.Schedule, err error) {
|
||||
|
@ -2,7 +2,7 @@ package sql
|
||||
|
||||
import (
|
||||
"database/sql"
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
"time"
|
||||
)
|
||||
|
||||
|
@ -3,7 +3,7 @@ package sql
|
||||
import (
|
||||
"database/sql"
|
||||
"github.com/Masterminds/squirrel"
|
||||
"github.com/ansible-semaphore/semaphore/db"
|
||||
"github.com/semaphoreui/semaphore/db"
|
||||
"math/rand"
|
||||
)
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user