diff --git a/.dredd/hooks/capabilities.go b/.dredd/hooks/capabilities.go
index c9771257a..dab2244d3 100644
--- a/.dredd/hooks/capabilities.go
+++ b/.dredd/hooks/capabilities.go
@@ -6,7 +6,7 @@ import (
"strconv"
"strings"
- "github.com/ansible-semaphore/semaphore/db"
+ "github.com/semaphoreui/semaphore/db"
trans "github.com/snikch/goodman/transaction"
)
diff --git a/.dredd/hooks/helpers.go b/.dredd/hooks/helpers.go
index 0a7922494..e8d857b82 100644
--- a/.dredd/hooks/helpers.go
+++ b/.dredd/hooks/helpers.go
@@ -6,13 +6,13 @@ 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/go-gorp/gorp/v3"
+ "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/snikch/goodman/transaction"
)
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 30e811ffb..bc5ac3dd6 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -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
diff --git a/Taskfile.yml b/Taskfile.yml
index 4a4ee36f7..7ddf9853d 100644
--- a/Taskfile.yml
+++ b/Taskfile.yml
@@ -44,7 +44,7 @@ tasks:
desc: Installs nodejs requirements
dir: web
cmds:
- - npm install
+ - npm install --no-optional
build:
desc: Build a full set of release binaries and packages
@@ -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:
diff --git a/api/apps.go b/api/apps.go
index e8822af9b..36f861ffa 100644
--- a/api/apps.go
+++ b/api/apps.go
@@ -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"
diff --git a/api/auth.go b/api/auth.go
index 945717032..377a31828 100644
--- a/api/auth.go
+++ b/api/auth.go
@@ -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"
diff --git a/api/events.go b/api/events.go
index b14a83711..363494860 100644
--- a/api/events.go
+++ b/api/events.go
@@ -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"
diff --git a/api/helpers/context.go b/api/helpers/context.go
index 64c81a492..7c3a4e4d5 100644
--- a/api/helpers/context.go
+++ b/api/helpers/context.go
@@ -3,7 +3,7 @@ package helpers
import (
"net/http"
- "github.com/ansible-semaphore/semaphore/db"
+ "github.com/semaphoreui/semaphore/db"
"github.com/gorilla/context"
)
diff --git a/api/helpers/event_log.go b/api/helpers/event_log.go
index 9f3fb1b22..64b727780 100644
--- a/api/helpers/event_log.go
+++ b/api/helpers/event_log.go
@@ -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"
)
diff --git a/api/helpers/helpers.go b/api/helpers/helpers.go
index 8fc4e9024..674b0e763 100644
--- a/api/helpers/helpers.go
+++ b/api/helpers/helpers.go
@@ -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"
)
diff --git a/api/integration.go b/api/integration.go
index 0d98bfe7f..2960688bf 100644
--- a/api/integration.go
+++ b/api/integration.go
@@ -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"
)
diff --git a/api/integration_test.go b/api/integration_test.go
index 11a055b7a..5c64921ed 100644
--- a/api/integration_test.go
+++ b/api/integration_test.go
@@ -1,7 +1,7 @@
package api
import (
- "github.com/ansible-semaphore/semaphore/db"
+ "github.com/semaphoreui/semaphore/db"
"net/http"
"testing"
)
diff --git a/api/login.go b/api/login.go
index 9c1ec6eb1..bf29f6362 100644
--- a/api/login.go
+++ b/api/login.go
@@ -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"
diff --git a/api/options.go b/api/options.go
index a6bcae8bf..901ff6c91 100644
--- a/api/options.go
+++ b/api/options.go
@@ -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"
)
diff --git a/api/projects/backupRestore.go b/api/projects/backupRestore.go
index c7162d740..bb0c759a4 100644
--- a/api/projects/backupRestore.go
+++ b/api/projects/backupRestore.go
@@ -3,9 +3,9 @@ package projects
import (
"net/http"
- "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"
)
diff --git a/api/projects/environment.go b/api/projects/environment.go
index c6f0e5d70..acc0cdaba 100644
--- a/api/projects/environment.go
+++ b/api/projects/environment.go
@@ -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"
diff --git a/api/projects/integration.go b/api/projects/integration.go
index c4c5eb291..85c885a17 100644
--- a/api/projects/integration.go
+++ b/api/projects/integration.go
@@ -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"
)
diff --git a/api/projects/integrationalias.go b/api/projects/integrationalias.go
index c3b12b30e..ab1c2ba69 100644
--- a/api/projects/integrationalias.go
+++ b/api/projects/integrationalias.go
@@ -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"
)
diff --git a/api/projects/integrationextractvalue.go b/api/projects/integrationextractvalue.go
index eb5e88719..8f494732f 100644
--- a/api/projects/integrationextractvalue.go
+++ b/api/projects/integrationextractvalue.go
@@ -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"
)
diff --git a/api/projects/integrationmatcher.go b/api/projects/integrationmatcher.go
index c7dae7348..920cf4ba5 100644
--- a/api/projects/integrationmatcher.go
+++ b/api/projects/integrationmatcher.go
@@ -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"
)
diff --git a/api/projects/inventory.go b/api/projects/inventory.go
index 8975ae4c9..70aed165f 100644
--- a/api/projects/inventory.go
+++ b/api/projects/inventory.go
@@ -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"
diff --git a/api/projects/keys.go b/api/projects/keys.go
index a0362b8f1..c39224541 100644
--- a/api/projects/keys.go
+++ b/api/projects/keys.go
@@ -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"
)
diff --git a/api/projects/project.go b/api/projects/project.go
index 68d075a8f..f0c25183f 100644
--- a/api/projects/project.go
+++ b/api/projects/project.go
@@ -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"
diff --git a/api/projects/projects.go b/api/projects/projects.go
index 166feab1b..3961d4329 100644
--- a/api/projects/projects.go
+++ b/api/projects/projects.go
@@ -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"
diff --git a/api/projects/repository.go b/api/projects/repository.go
index 951317627..699a32927 100644
--- a/api/projects/repository.go
+++ b/api/projects/repository.go
@@ -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"
)
diff --git a/api/projects/schedules.go b/api/projects/schedules.go
index c42f57b67..7eb7e772c 100644
--- a/api/projects/schedules.go
+++ b/api/projects/schedules.go
@@ -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"
)
diff --git a/api/projects/tasks.go b/api/projects/tasks.go
index 54eb3a0f8..95eee8143 100644
--- a/api/projects/tasks.go
+++ b/api/projects/tasks.go
@@ -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"
diff --git a/api/projects/templates.go b/api/projects/templates.go
index cafa3cb14..1bea265e8 100644
--- a/api/projects/templates.go
+++ b/api/projects/templates.go
@@ -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"
)
diff --git a/api/projects/users.go b/api/projects/users.go
index b0cbc9fe2..2ab612d94 100644
--- a/api/projects/users.go
+++ b/api/projects/users.go
@@ -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"
)
diff --git a/api/projects/views.go b/api/projects/views.go
index 601e009de..b73b72a6d 100644
--- a/api/projects/views.go
+++ b/api/projects/views.go
@@ -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"
)
diff --git a/api/router.go b/api/router.go
index fd4bd7ea2..ea072c16a 100644
--- a/api/router.go
+++ b/api/router.go
@@ -10,13 +10,13 @@ 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/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/db"
+ "github.com/semaphoreui/semaphore/util"
"github.com/gorilla/mux"
)
diff --git a/api/runners/runners.go b/api/runners/runners.go
index d6fcc4d95..e98bef3af 100644
--- a/api/runners/runners.go
+++ b/api/runners/runners.go
@@ -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"
)
diff --git a/api/sockets/handler.go b/api/sockets/handler.go
index 153508afb..7206707a1 100644
--- a/api/sockets/handler.go
+++ b/api/sockets/handler.go
@@ -2,12 +2,12 @@ package sockets
import (
"fmt"
- "github.com/ansible-semaphore/semaphore/db"
+ "github.com/semaphoreui/semaphore/db"
"net/http"
"time"
log "github.com/sirupsen/logrus"
- "github.com/ansible-semaphore/semaphore/util"
+ "github.com/semaphoreui/semaphore/util"
"github.com/gorilla/context"
"github.com/gorilla/websocket"
)
diff --git a/api/user.go b/api/user.go
index dc9e7222c..764408e9f 100644
--- a/api/user.go
+++ b/api/user.go
@@ -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"
diff --git a/api/users.go b/api/users.go
index bb181dabb..eb7da4e10 100644
--- a/api/users.go
+++ b/api/users.go
@@ -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"
)
diff --git a/cli/cmd/migrate.go b/cli/cmd/migrate.go
index ec27f4820..235fdcf15 100644
--- a/cli/cmd/migrate.go
+++ b/cli/cmd/migrate.go
@@ -1,7 +1,7 @@
package cmd
import (
- "github.com/ansible-semaphore/semaphore/util"
+ "github.com/semaphoreui/semaphore/util"
"github.com/spf13/cobra"
)
diff --git a/cli/cmd/root.go b/cli/cmd/root.go
index c2614b58e..005298d01 100644
--- a/cli/cmd/root.go
+++ b/cli/cmd/root.go
@@ -2,13 +2,13 @@ package cmd
import (
"fmt"
- "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"
@@ -24,8 +24,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)
diff --git a/cli/cmd/runner_start.go b/cli/cmd/runner_start.go
index 1953300ca..a9f2b76ec 100644
--- a/cli/cmd/runner_start.go
+++ b/cli/cmd/runner_start.go
@@ -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"
)
diff --git a/cli/cmd/runner_unregister.go b/cli/cmd/runner_unregister.go
index f219948c7..2098d356b 100644
--- a/cli/cmd/runner_unregister.go
+++ b/cli/cmd/runner_unregister.go
@@ -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"
)
diff --git a/cli/cmd/setup.go b/cli/cmd/setup.go
index 14dbf1227..55cbcf95f 100644
--- a/cli/cmd/setup.go
+++ b/cli/cmd/setup.go
@@ -3,10 +3,10 @@ package cmd
import (
"bufio"
"fmt"
- "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"
"os"
"strings"
diff --git a/cli/cmd/user_add.go b/cli/cmd/user_add.go
index 19e7c712a..20c3394fd 100644
--- a/cli/cmd/user_add.go
+++ b/cli/cmd/user_add.go
@@ -2,7 +2,7 @@ package cmd
import (
"fmt"
- "github.com/ansible-semaphore/semaphore/db"
+ "github.com/semaphoreui/semaphore/db"
"github.com/spf13/cobra"
"os"
)
diff --git a/cli/cmd/user_change.go b/cli/cmd/user_change.go
index 674be07e0..861fac466 100644
--- a/cli/cmd/user_change.go
+++ b/cli/cmd/user_change.go
@@ -2,7 +2,7 @@ package cmd
import (
"fmt"
- "github.com/ansible-semaphore/semaphore/db"
+ "github.com/semaphoreui/semaphore/db"
"github.com/spf13/cobra"
"os"
)
diff --git a/cli/cmd/user_list.go b/cli/cmd/user_list.go
index f6de4913d..0290731bd 100644
--- a/cli/cmd/user_list.go
+++ b/cli/cmd/user_list.go
@@ -2,7 +2,7 @@ package cmd
import (
"fmt"
- "github.com/ansible-semaphore/semaphore/db"
+ "github.com/semaphoreui/semaphore/db"
"github.com/spf13/cobra"
)
diff --git a/cli/cmd/version.go b/cli/cmd/version.go
index 5057af464..10860aee6 100644
--- a/cli/cmd/version.go
+++ b/cli/cmd/version.go
@@ -3,7 +3,7 @@ package cmd
import (
"fmt"
- "github.com/ansible-semaphore/semaphore/util"
+ "github.com/semaphoreui/semaphore/util"
"github.com/spf13/cobra"
)
diff --git a/cli/main.go b/cli/main.go
index 0ea7976fd..f8d766f6d 100644
--- a/cli/main.go
+++ b/cli/main.go
@@ -1,7 +1,7 @@
package main
import (
- "github.com/ansible-semaphore/semaphore/cli/cmd"
+ "github.com/semaphoreui/semaphore/cli/cmd"
)
func main() {
diff --git a/cli/setup/setup.go b/cli/setup/setup.go
index da9790a8b..09b68806d 100644
--- a/cli/setup/setup.go
+++ b/cli/setup/setup.go
@@ -8,7 +8,7 @@ import (
log "github.com/sirupsen/logrus"
- "github.com/ansible-semaphore/semaphore/util"
+ "github.com/semaphoreui/semaphore/util"
)
const interactiveSetupBlurb = `
diff --git a/config-runner.json b/config-runner.json
index 6c35f924f..a8430b294 100644
--- a/config-runner.json
+++ b/config-runner.json
@@ -1,6 +1,6 @@
{
"bolt": {
- "host": "/Users/fiftin/go/src/github.com/ansible-semaphore/semaphore/database.boltdb"
+ "host": "/Users/fiftin/go/src/github.com/semaphoreui/semaphore/database.boltdb"
},
"dialect": "bolt",
diff --git a/db/AccessKey.go b/db/AccessKey.go
index f776d8e66..73f207be7 100644
--- a/db/AccessKey.go
+++ b/db/AccessKey.go
@@ -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"
)
diff --git a/db/AccessKey_test.go b/db/AccessKey_test.go
index d5093ce49..6865a4b34 100644
--- a/db/AccessKey_test.go
+++ b/db/AccessKey_test.go
@@ -2,7 +2,7 @@ package db
import (
"encoding/base64"
- "github.com/ansible-semaphore/semaphore/util"
+ "github.com/semaphoreui/semaphore/util"
"testing"
)
diff --git a/db/Repository.go b/db/Repository.go
index 03d6a8e20..1f6104dda 100644
--- a/db/Repository.go
+++ b/db/Repository.go
@@ -8,7 +8,7 @@ import (
"strconv"
"strings"
- "github.com/ansible-semaphore/semaphore/util"
+ "github.com/semaphoreui/semaphore/util"
)
type RepositoryType string
diff --git a/db/Repository_test.go b/db/Repository_test.go
index 8c1f1be70..f73bc0ff9 100644
--- a/db/Repository_test.go
+++ b/db/Repository_test.go
@@ -6,7 +6,7 @@ import (
"path"
"testing"
- "github.com/ansible-semaphore/semaphore/util"
+ "github.com/semaphoreui/semaphore/util"
)
func TestRepository_GetSchema(t *testing.T) {
diff --git a/db/Task.go b/db/Task.go
index fd8ee4fcf..2cd8d4d75 100644
--- a/db/Task.go
+++ b/db/Task.go
@@ -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
diff --git a/db/Template.go b/db/Template.go
index 7a10430f9..24542e6f5 100644
--- a/db/Template.go
+++ b/db/Template.go
@@ -65,7 +65,7 @@ type Template struct {
RepositoryID int `db:"repository_id" json:"repository_id"`
EnvironmentID *int `db:"environment_id" json:"environment_id"`
- // 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"`
diff --git a/db/bolt/BoltDb.go b/db/bolt/BoltDb.go
index 51de76bd0..05afb1742 100644
--- a/db/bolt/BoltDb.go
+++ b/db/bolt/BoltDb.go
@@ -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"
diff --git a/db/bolt/BoltDb_test.go b/db/bolt/BoltDb_test.go
index d65b3638a..7a8819782 100644
--- a/db/bolt/BoltDb_test.go
+++ b/db/bolt/BoltDb_test.go
@@ -2,7 +2,7 @@ package bolt
import (
"fmt"
- "github.com/ansible-semaphore/semaphore/db"
+ "github.com/semaphoreui/semaphore/db"
"reflect"
"testing"
)
diff --git a/db/bolt/Task_test.go b/db/bolt/Task_test.go
index d643eed49..6ec754c7d 100644
--- a/db/bolt/Task_test.go
+++ b/db/bolt/Task_test.go
@@ -1,7 +1,7 @@
package bolt
import (
- "github.com/ansible-semaphore/semaphore/db"
+ "github.com/semaphoreui/semaphore/db"
"testing"
)
diff --git a/db/bolt/access_key.go b/db/bolt/access_key.go
index a211bbe99..a36c9da18 100644
--- a/db/bolt/access_key.go
+++ b/db/bolt/access_key.go
@@ -1,7 +1,7 @@
package bolt
import (
- "github.com/ansible-semaphore/semaphore/db"
+ "github.com/semaphoreui/semaphore/db"
"go.etcd.io/bbolt"
)
diff --git a/db/bolt/environment.go b/db/bolt/environment.go
index 21ba03371..0535cd93a 100644
--- a/db/bolt/environment.go
+++ b/db/bolt/environment.go
@@ -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)
diff --git a/db/bolt/event.go b/db/bolt/event.go
index 14235669a..ee955aa9a 100644
--- a/db/bolt/event.go
+++ b/db/bolt/event.go
@@ -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"
)
diff --git a/db/bolt/integrations.go b/db/bolt/integrations.go
index ed8d4a4b4..a2a67b61a 100644
--- a/db/bolt/integrations.go
+++ b/db/bolt/integrations.go
@@ -3,7 +3,7 @@ package bolt
import (
"errors"
"fmt"
- "github.com/ansible-semaphore/semaphore/db"
+ "github.com/semaphoreui/semaphore/db"
"reflect"
)
diff --git a/db/bolt/inventory.go b/db/bolt/inventory.go
index 3d3a8ffa1..ebb712c83 100644
--- a/db/bolt/inventory.go
+++ b/db/bolt/inventory.go
@@ -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) {
diff --git a/db/bolt/migration.go b/db/bolt/migration.go
index b3090f0bb..a94bfcad5 100644
--- a/db/bolt/migration.go
+++ b/db/bolt/migration.go
@@ -2,7 +2,7 @@ package bolt
import (
"encoding/json"
- "github.com/ansible-semaphore/semaphore/db"
+ "github.com/semaphoreui/semaphore/db"
"go.etcd.io/bbolt"
)
diff --git a/db/bolt/option.go b/db/bolt/option.go
index 86ff6c270..beb10b6ed 100644
--- a/db/bolt/option.go
+++ b/db/bolt/option.go
@@ -2,7 +2,7 @@ package bolt
import (
"errors"
- "github.com/ansible-semaphore/semaphore/db"
+ "github.com/semaphoreui/semaphore/db"
"go.etcd.io/bbolt"
"strings"
)
diff --git a/db/bolt/project.go b/db/bolt/project.go
index 451568085..e4382b08c 100644
--- a/db/bolt/project.go
+++ b/db/bolt/project.go
@@ -1,7 +1,7 @@
package bolt
import (
- "github.com/ansible-semaphore/semaphore/db"
+ "github.com/semaphoreui/semaphore/db"
"time"
)
diff --git a/db/bolt/project_test.go b/db/bolt/project_test.go
index fdb07ff36..080a5c39c 100644
--- a/db/bolt/project_test.go
+++ b/db/bolt/project_test.go
@@ -1,7 +1,7 @@
package bolt
import (
- "github.com/ansible-semaphore/semaphore/db"
+ "github.com/semaphoreui/semaphore/db"
"testing"
"time"
)
diff --git a/db/bolt/repository.go b/db/bolt/repository.go
index 0d3ddd03d..31e128eaa 100644
--- a/db/bolt/repository.go
+++ b/db/bolt/repository.go
@@ -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) {
diff --git a/db/bolt/runner.go b/db/bolt/runner.go
index 50baa8a01..16a53dc17 100644
--- a/db/bolt/runner.go
+++ b/db/bolt/runner.go
@@ -1,8 +1,8 @@
package bolt
import (
- "github.com/ansible-semaphore/semaphore/db"
- "github.com/ansible-semaphore/semaphore/util"
+ "github.com/semaphoreui/semaphore/db"
+ "github.com/semaphoreui/semaphore/util"
)
func (d *BoltDb) GetRunner(projectID int, runnerID int) (runner db.Runner, err error) {
diff --git a/db/bolt/schedule.go b/db/bolt/schedule.go
index 40b199a04..5c8cbd7fb 100644
--- a/db/bolt/schedule.go
+++ b/db/bolt/schedule.go
@@ -1,7 +1,7 @@
package bolt
import (
- "github.com/ansible-semaphore/semaphore/db"
+ "github.com/semaphoreui/semaphore/db"
"go.etcd.io/bbolt"
)
diff --git a/db/bolt/session.go b/db/bolt/session.go
index 3a24354b9..6b13fcd8c 100644
--- a/db/bolt/session.go
+++ b/db/bolt/session.go
@@ -1,7 +1,7 @@
package bolt
import (
- "github.com/ansible-semaphore/semaphore/db"
+ "github.com/semaphoreui/semaphore/db"
"reflect"
"time"
)
diff --git a/db/bolt/task.go b/db/bolt/task.go
index 22d964818..883084118 100644
--- a/db/bolt/task.go
+++ b/db/bolt/task.go
@@ -1,7 +1,7 @@
package bolt
import (
- "github.com/ansible-semaphore/semaphore/db"
+ "github.com/semaphoreui/semaphore/db"
"go.etcd.io/bbolt"
"time"
)
diff --git a/db/bolt/template.go b/db/bolt/template.go
index 63ccc4235..0246974af 100644
--- a/db/bolt/template.go
+++ b/db/bolt/template.go
@@ -2,7 +2,7 @@ package bolt
import (
"errors"
- "github.com/ansible-semaphore/semaphore/db"
+ "github.com/semaphoreui/semaphore/db"
"go.etcd.io/bbolt"
)
diff --git a/db/bolt/user.go b/db/bolt/user.go
index 3333f79d8..4f59de52f 100644
--- a/db/bolt/user.go
+++ b/db/bolt/user.go
@@ -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"
)
diff --git a/db/bolt/user_test.go b/db/bolt/user_test.go
index b05f8fb31..c945dc636 100644
--- a/db/bolt/user_test.go
+++ b/db/bolt/user_test.go
@@ -1,7 +1,7 @@
package bolt
import (
- "github.com/ansible-semaphore/semaphore/db"
+ "github.com/semaphoreui/semaphore/db"
"testing"
"time"
)
diff --git a/db/bolt/view.go b/db/bolt/view.go
index cc184260d..4d496b5ae 100644
--- a/db/bolt/view.go
+++ b/db/bolt/view.go
@@ -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)
diff --git a/db/bolt/view_test.go b/db/bolt/view_test.go
index eeb2e5201..edb5dd674 100644
--- a/db/bolt/view_test.go
+++ b/db/bolt/view_test.go
@@ -1,7 +1,7 @@
package bolt
import (
- "github.com/ansible-semaphore/semaphore/db"
+ "github.com/semaphoreui/semaphore/db"
"sort"
"testing"
"time"
diff --git a/db/config.go b/db/config.go
index 510e7946e..749f9848b 100644
--- a/db/config.go
+++ b/db/config.go
@@ -2,7 +2,7 @@ package db
import (
"fmt"
- "github.com/ansible-semaphore/semaphore/util"
+ "github.com/semaphoreui/semaphore/util"
"reflect"
"strings"
)
diff --git a/db/factory/store.go b/db/factory/store.go
index 2b5a63c93..da0c778f0 100644
--- a/db/factory/store.go
+++ b/db/factory/store.go
@@ -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 {
diff --git a/db/sql/SqlDb.go b/db/sql/SqlDb.go
index 5fbd41045..c8e9e5446 100644
--- a/db/sql/SqlDb.go
+++ b/db/sql/SqlDb.go
@@ -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"
diff --git a/db/sql/access_key.go b/db/sql/access_key.go
index 6a8096594..ce54309c3 100644
--- a/db/sql/access_key.go
+++ b/db/sql/access_key.go
@@ -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) {
diff --git a/db/sql/environment.go b/db/sql/environment.go
index daad769d3..576ed7487 100644
--- a/db/sql/environment.go
+++ b/db/sql/environment.go
@@ -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) {
diff --git a/db/sql/event.go b/db/sql/event.go
index 2247a0400..0ef2e8014 100644
--- a/db/sql/event.go
+++ b/db/sql/event.go
@@ -2,7 +2,7 @@ package sql
import (
"github.com/Masterminds/squirrel"
- "github.com/ansible-semaphore/semaphore/db"
+ "github.com/semaphoreui/semaphore/db"
"time"
)
diff --git a/db/sql/integration.go b/db/sql/integration.go
index 281a198ac..a61355612 100644
--- a/db/sql/integration.go
+++ b/db/sql/integration.go
@@ -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) {
diff --git a/db/sql/inventory.go b/db/sql/inventory.go
index 43e49addc..6c563d0d0 100644
--- a/db/sql/inventory.go
+++ b/db/sql/inventory.go
@@ -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)
diff --git a/db/sql/migration.go b/db/sql/migration.go
index 51e08eb1f..649d3011d 100644
--- a/db/sql/migration.go
+++ b/db/sql/migration.go
@@ -8,7 +8,7 @@ import (
"strings"
"time"
- "github.com/ansible-semaphore/semaphore/db"
+ "github.com/semaphoreui/semaphore/db"
log "github.com/sirupsen/logrus"
)
diff --git a/db/sql/option.go b/db/sql/option.go
index a38d01926..0af472657 100644
--- a/db/sql/option.go
+++ b/db/sql/option.go
@@ -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 {
diff --git a/db/sql/project.go b/db/sql/project.go
index 32067d544..ba13d5ac7 100644
--- a/db/sql/project.go
+++ b/db/sql/project.go
@@ -2,7 +2,7 @@ package sql
import (
"github.com/Masterminds/squirrel"
- "github.com/ansible-semaphore/semaphore/db"
+ "github.com/semaphoreui/semaphore/db"
"time"
)
diff --git a/db/sql/repository.go b/db/sql/repository.go
index f3a228e87..0d365d1c9 100644
--- a/db/sql/repository.go
+++ b/db/sql/repository.go
@@ -1,7 +1,7 @@
package sql
import (
- "github.com/ansible-semaphore/semaphore/db"
+ "github.com/semaphoreui/semaphore/db"
"github.com/Masterminds/squirrel"
)
diff --git a/db/sql/runner.go b/db/sql/runner.go
index b9e793c49..9af58242f 100644
--- a/db/sql/runner.go
+++ b/db/sql/runner.go
@@ -2,7 +2,7 @@ package sql
import (
"encoding/base64"
- "github.com/ansible-semaphore/semaphore/db"
+ "github.com/semaphoreui/semaphore/db"
"github.com/gorilla/securecookie"
)
diff --git a/db/sql/schedule.go b/db/sql/schedule.go
index 602aca800..fba2c48e4 100644
--- a/db/sql/schedule.go
+++ b/db/sql/schedule.go
@@ -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) {
diff --git a/db/sql/session.go b/db/sql/session.go
index 363ad91ad..218e901c3 100644
--- a/db/sql/session.go
+++ b/db/sql/session.go
@@ -2,7 +2,7 @@ package sql
import (
"database/sql"
- "github.com/ansible-semaphore/semaphore/db"
+ "github.com/semaphoreui/semaphore/db"
"time"
)
diff --git a/db/sql/task.go b/db/sql/task.go
index d5adb10e4..85f07418b 100644
--- a/db/sql/task.go
+++ b/db/sql/task.go
@@ -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"
)
diff --git a/db/sql/template.go b/db/sql/template.go
index 6ad7ee0d2..d26523cf0 100644
--- a/db/sql/template.go
+++ b/db/sql/template.go
@@ -4,7 +4,7 @@ import (
"database/sql"
"github.com/Masterminds/squirrel"
- "github.com/ansible-semaphore/semaphore/db"
+ "github.com/semaphoreui/semaphore/db"
)
func (d *SqlDb) CreateTemplate(template db.Template) (newTemplate db.Template, err error) {
diff --git a/db/sql/user.go b/db/sql/user.go
index f250a54ff..24376e4a5 100644
--- a/db/sql/user.go
+++ b/db/sql/user.go
@@ -3,7 +3,7 @@ package sql
import (
"database/sql"
"github.com/Masterminds/squirrel"
- "github.com/ansible-semaphore/semaphore/db"
+ "github.com/semaphoreui/semaphore/db"
"golang.org/x/crypto/bcrypt"
"time"
)
diff --git a/db/sql/view.go b/db/sql/view.go
index 473ef636b..693acb6de 100644
--- a/db/sql/view.go
+++ b/db/sql/view.go
@@ -1,6 +1,6 @@
package sql
-import "github.com/ansible-semaphore/semaphore/db"
+import "github.com/semaphoreui/semaphore/db"
func (d *SqlDb) GetView(projectID int, viewID int) (view db.View, err error) {
err = d.getObject(projectID, db.ViewProps, viewID, &view)
diff --git a/db_lib/AnsibleApp.go b/db_lib/AnsibleApp.go
index d516ca617..d4c78caeb 100644
--- a/db_lib/AnsibleApp.go
+++ b/db_lib/AnsibleApp.go
@@ -7,8 +7,8 @@ import (
"os"
"path"
- "github.com/ansible-semaphore/semaphore/db"
- "github.com/ansible-semaphore/semaphore/pkg/task_logger"
+ "github.com/semaphoreui/semaphore/db"
+ "github.com/semaphoreui/semaphore/pkg/task_logger"
)
func getMD5Hash(filepath string) (string, error) {
diff --git a/db_lib/AnsiblePlaybook.go b/db_lib/AnsiblePlaybook.go
index d321b6a75..624065d3f 100644
--- a/db_lib/AnsiblePlaybook.go
+++ b/db_lib/AnsiblePlaybook.go
@@ -6,9 +6,9 @@ import (
"os/exec"
"strings"
- "github.com/ansible-semaphore/semaphore/db"
- "github.com/ansible-semaphore/semaphore/pkg/task_logger"
- "github.com/ansible-semaphore/semaphore/util"
+ "github.com/semaphoreui/semaphore/db"
+ "github.com/semaphoreui/semaphore/pkg/task_logger"
+ "github.com/semaphoreui/semaphore/util"
"github.com/creack/pty"
)
diff --git a/db_lib/AppFactory.go b/db_lib/AppFactory.go
index 158ee080b..4de336039 100644
--- a/db_lib/AppFactory.go
+++ b/db_lib/AppFactory.go
@@ -1,8 +1,8 @@
package db_lib
import (
- "github.com/ansible-semaphore/semaphore/db"
- "github.com/ansible-semaphore/semaphore/pkg/task_logger"
+ "github.com/semaphoreui/semaphore/db"
+ "github.com/semaphoreui/semaphore/pkg/task_logger"
)
func CreateApp(template db.Template, repository db.Repository, inventory db.Inventory, logger task_logger.Logger) LocalApp {
diff --git a/db_lib/CmdGitClient.go b/db_lib/CmdGitClient.go
index 40ff07512..8789c5d95 100644
--- a/db_lib/CmdGitClient.go
+++ b/db_lib/CmdGitClient.go
@@ -6,8 +6,8 @@ import (
"os/exec"
"strings"
- "github.com/ansible-semaphore/semaphore/db"
- "github.com/ansible-semaphore/semaphore/util"
+ "github.com/semaphoreui/semaphore/db"
+ "github.com/semaphoreui/semaphore/util"
)
type CmdGitClient struct {
diff --git a/db_lib/GitClientFactory.go b/db_lib/GitClientFactory.go
index 07874d311..427d6a135 100644
--- a/db_lib/GitClientFactory.go
+++ b/db_lib/GitClientFactory.go
@@ -1,6 +1,6 @@
package db_lib
-import "github.com/ansible-semaphore/semaphore/util"
+import "github.com/semaphoreui/semaphore/util"
func CreateDefaultGitClient() GitClient {
switch util.Config.GitClientId {
diff --git a/db_lib/GitRepository.go b/db_lib/GitRepository.go
index 99437ecf8..2aabaa18f 100644
--- a/db_lib/GitRepository.go
+++ b/db_lib/GitRepository.go
@@ -1,12 +1,12 @@
package db_lib
import (
- "github.com/ansible-semaphore/semaphore/util"
+ "github.com/semaphoreui/semaphore/util"
"os"
"path"
- "github.com/ansible-semaphore/semaphore/db"
- "github.com/ansible-semaphore/semaphore/pkg/task_logger"
+ "github.com/semaphoreui/semaphore/db"
+ "github.com/semaphoreui/semaphore/pkg/task_logger"
)
type GitRepositoryDirType int
diff --git a/db_lib/GoGitClient.go b/db_lib/GoGitClient.go
index 54d9eddda..8ef22f311 100644
--- a/db_lib/GoGitClient.go
+++ b/db_lib/GoGitClient.go
@@ -3,9 +3,9 @@ package db_lib
import (
"errors"
- "github.com/ansible-semaphore/semaphore/db"
- "github.com/ansible-semaphore/semaphore/pkg/task_logger"
- "github.com/ansible-semaphore/semaphore/util"
+ "github.com/semaphoreui/semaphore/db"
+ "github.com/semaphoreui/semaphore/pkg/task_logger"
+ "github.com/semaphoreui/semaphore/util"
"github.com/go-git/go-git/v5"
"github.com/go-git/go-git/v5/config"
"github.com/go-git/go-git/v5/plumbing"
diff --git a/db_lib/LocalApp.go b/db_lib/LocalApp.go
index fdff19022..85b4b3c92 100644
--- a/db_lib/LocalApp.go
+++ b/db_lib/LocalApp.go
@@ -4,7 +4,7 @@ import (
"os"
"strings"
- "github.com/ansible-semaphore/semaphore/pkg/task_logger"
+ "github.com/semaphoreui/semaphore/pkg/task_logger"
)
func removeSensitiveEnvs(envs []string) (res []string) {
diff --git a/db_lib/ShellApp.go b/db_lib/ShellApp.go
index ac32d3b36..dffb76803 100644
--- a/db_lib/ShellApp.go
+++ b/db_lib/ShellApp.go
@@ -2,9 +2,9 @@ package db_lib
import (
"fmt"
- "github.com/ansible-semaphore/semaphore/db"
- "github.com/ansible-semaphore/semaphore/pkg/task_logger"
- "github.com/ansible-semaphore/semaphore/util"
+ "github.com/semaphoreui/semaphore/db"
+ "github.com/semaphoreui/semaphore/pkg/task_logger"
+ "github.com/semaphoreui/semaphore/util"
"os"
"os/exec"
"strings"
diff --git a/db_lib/TerraformApp.go b/db_lib/TerraformApp.go
index 5fd1d9c8b..3cfc6d481 100644
--- a/db_lib/TerraformApp.go
+++ b/db_lib/TerraformApp.go
@@ -2,9 +2,9 @@ package db_lib
import (
"fmt"
- "github.com/ansible-semaphore/semaphore/db"
- "github.com/ansible-semaphore/semaphore/pkg/task_logger"
- "github.com/ansible-semaphore/semaphore/util"
+ "github.com/semaphoreui/semaphore/db"
+ "github.com/semaphoreui/semaphore/pkg/task_logger"
+ "github.com/semaphoreui/semaphore/util"
"os"
"os/exec"
"path"
@@ -115,9 +115,11 @@ func (t *TerraformApp) InstallRequirements() (err error) {
if t.Inventory.Inventory != "" {
workspace = t.Inventory.Inventory
- }
+ }
- err = t.selectWorkspace(workspace)
+ if t.Inventory.Inventory != "default" {
+ err = t.selectWorkspace(workspace)
+ }
return
}
diff --git a/deployment/packaging/semaphore.spec b/deployment/packaging/semaphore.spec
index e3196aba0..e6afac1b4 100644
--- a/deployment/packaging/semaphore.spec
+++ b/deployment/packaging/semaphore.spec
@@ -8,8 +8,8 @@ Release: 1%{?dist}
Summary: Semaphore UI is a modern UI for Ansible, Terraform, OpenTofu, Bash and Pulumi. It lets you easily run Ansible playbooks, get notifications about fails, control access to deployment system.
License: MIT
-URL: https://github.com/ansible-semaphore/semaphore
-Source: https://github.com/ansible-semaphore/semaphore/archive/refs/tags/v2.8.90.zip
+URL: https://github.com/semaphoreui/semaphore
+Source: https://github.com/semaphoreui/semaphore/archive/refs/tags/v2.8.90.zip
BuildRequires: golang
BuildRequires: nodejs
@@ -30,7 +30,7 @@ Semaphore UI is a modern UI for Ansible, Terraform, OpenTofu, Bash and Pulumi. I
export SEMAPHORE_VERSION="development"
export SEMAPHORE_ARCH="linux_amd64"
export SEMAPHORE_CONFIG_PATH="./etc/semaphore"
-export APP_ROOT="./ansible-semaphore/"
+export APP_ROOT="./semaphoreui/"
if ! [[ "$PATH" =~ "$HOME/go/bin:" ]]
then
@@ -39,10 +39,10 @@ fi
export PATH
go-task all
-cat > ansible-semaphore.service <
{{ $t('forMoreInformationAboutBuildingSeeThe') }}
- {{ $t('taskTemplateReference') }}.
{{ $t('forMoreInformationAboutDeployingSeeThe') }} - {{ $t('taskTemplateReference2') }}.