Skip to content

Commit

Permalink
chore: move from runabove to ovh (#81)
Browse files Browse the repository at this point in the history
Signed-off-by: Yvonnick Esnault <[email protected]>
  • Loading branch information
yesnault authored and sguiheux committed Aug 23, 2017
1 parent b0481a4 commit 5ae6015
Show file tree
Hide file tree
Showing 23 changed files with 61 additions and 61 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go:
env:
global:
- PROJECT_NAME="venom"
- PROJECT_PATH="github.com/runabove"
- PROJECT_PATH="github.com/ovh"

install: true

Expand All @@ -29,5 +29,5 @@ deploy:
- cli/venom/bin/venom-windows-386
- cli/venom/bin/venom-windows-amd64
on:
repo: runabove/venom
repo: ovh/venom
tags: true
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ It can also output xUnit results files.

Install with:
```bash
$ go get github.com/runabove/venom
$ go install github.com/runabove/venom/cli/venom
$ go get github.com/ovh/venom
$ go install github.com/ovh/venom/cli/venom
```

```bash
Expand Down Expand Up @@ -160,13 +160,13 @@ venom run --details=low --format=xml --output-dir="."
## Executors
* **exec**: https://github.com/runabove/venom/tree/master/executors/exec `exec` is the default type for a step
* **http**: https://github.com/runabove/venom/tree/master/executors/http
* **imap**: https://github.com/runabove/venom/tree/master/executors/imap
* **readfile**: https://github.com/runabove/venom/tree/master/executors/readfile
* **smtp**: https://github.com/runabove/venom/tree/master/executors/smtp
* **ssh**: https://github.com/runabove/venom/tree/master/executors/ssh
* **web**: https://github.com/runabove/venom/tree/master/executors/web
* **exec**: https://github.com/ovh/venom/tree/master/executors/exec `exec` is the default type for a step
* **http**: https://github.com/ovh/venom/tree/master/executors/http
* **imap**: https://github.com/ovh/venom/tree/master/executors/imap
* **readfile**: https://github.com/ovh/venom/tree/master/executors/readfile
* **smtp**: https://github.com/ovh/venom/tree/master/executors/smtp
* **ssh**: https://github.com/ovh/venom/tree/master/executors/ssh
* **web**: https://github.com/ovh/venom/tree/master/executors/web
## Assertion
Expand Down
8 changes: 4 additions & 4 deletions cli/venom/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import (
log "github.com/Sirupsen/logrus"
"github.com/spf13/cobra"

"github.com/runabove/venom/cli/venom/run"
"github.com/runabove/venom/cli/venom/template"
"github.com/runabove/venom/cli/venom/update"
"github.com/runabove/venom/cli/venom/version"
"github.com/ovh/venom/cli/venom/run"
"github.com/ovh/venom/cli/venom/template"
"github.com/ovh/venom/cli/venom/update"
"github.com/ovh/venom/cli/venom/version"
)

var rootCmd = &cobra.Command{
Expand Down
22 changes: 11 additions & 11 deletions cli/venom/run/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@ import (
log "github.com/Sirupsen/logrus"
"github.com/spf13/cobra"

"github.com/runabove/venom"
"github.com/runabove/venom/context/default"
"github.com/runabove/venom/context/webctx"
"github.com/runabove/venom/executors/exec"
"github.com/runabove/venom/executors/http"
"github.com/runabove/venom/executors/imap"
"github.com/runabove/venom/executors/ovhapi"
"github.com/runabove/venom/executors/readfile"
"github.com/runabove/venom/executors/smtp"
"github.com/runabove/venom/executors/ssh"
"github.com/runabove/venom/executors/web"
"github.com/ovh/venom"
"github.com/ovh/venom/context/default"
"github.com/ovh/venom/context/webctx"
"github.com/ovh/venom/executors/exec"
"github.com/ovh/venom/executors/http"
"github.com/ovh/venom/executors/imap"
"github.com/ovh/venom/executors/ovhapi"
"github.com/ovh/venom/executors/readfile"
"github.com/ovh/venom/executors/smtp"
"github.com/ovh/venom/executors/ssh"
"github.com/ovh/venom/executors/web"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion cli/venom/template/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"

log "github.com/Sirupsen/logrus"
"github.com/runabove/venom"
"github.com/ovh/venom"
"github.com/spf13/cobra"
"gopkg.in/yaml.v2"
)
Expand Down
8 changes: 4 additions & 4 deletions cli/venom/update/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ import (
"github.com/inconshreveable/go-update"
"github.com/spf13/cobra"

"github.com/runabove/venom"
"github.com/ovh/venom"
)

// used by CI to inject architecture (linux-amd64, etc...) at build time
var architecture string
var urlGitubReleases = "https://github.com/runabove/venom/releases"
var urlGitubReleases = "https://github.com/ovh/venom/releases"

// Cmd update
var Cmd = &cobra.Command{
Expand All @@ -27,7 +27,7 @@ var Cmd = &cobra.Command{

func getURLArtifactFromGithub(architecture string) string {
client := github.NewClient(nil)
release, resp, err := client.Repositories.GetLatestRelease("runabove", "venom")
release, resp, err := client.Repositories.GetLatestRelease("ovh", "venom")
if err != nil {
venom.Exit("Repositories.GetLatestRelease returned error: %v\n%v", err, resp.Body)
}
Expand All @@ -41,7 +41,7 @@ func getURLArtifactFromGithub(architecture string) string {
}

text := "Invalid Artifacts on latest release. Please try again in few minutes.\n"
text += "If the problem persists, please open an issue on https://github.com/runabove/venom/issues\n"
text += "If the problem persists, please open an issue on https://github.com/ovh/venom/issues\n"
venom.Exit(text)
return ""
}
Expand Down
2 changes: 1 addition & 1 deletion cli/venom/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/spf13/cobra"

"github.com/runabove/venom"
"github.com/ovh/venom"
)

// Cmd version
Expand Down
2 changes: 1 addition & 1 deletion context/default/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"errors"
"fmt"

"github.com/runabove/venom"
"github.com/ovh/venom"
)

// Name is Context Type name.
Expand Down
2 changes: 1 addition & 1 deletion context/webctx/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"github.com/sclevine/agouti"

"github.com/runabove/venom"
"github.com/ovh/venom"
)

// Name of the Context
Expand Down
2 changes: 1 addition & 1 deletion executors/exec/executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"github.com/fsamin/go-dump"
"github.com/mitchellh/mapstructure"

"github.com/runabove/venom"
"github.com/ovh/venom"
)

// Name for test exec
Expand Down
2 changes: 1 addition & 1 deletion executors/http/executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
"github.com/fsamin/go-dump"
"github.com/mitchellh/mapstructure"

"github.com/runabove/venom"
"github.com/ovh/venom"
)

// Name of executor
Expand Down
2 changes: 1 addition & 1 deletion executors/imap/decode.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
log "github.com/Sirupsen/logrus"
"github.com/yesnault/go-imap/imap"

"github.com/runabove/venom"
"github.com/ovh/venom"
)

func decodeHeader(msg *mail.Message, headerName string) (string, error) {
Expand Down
2 changes: 1 addition & 1 deletion executors/imap/executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/mitchellh/mapstructure"
"github.com/yesnault/go-imap/imap"

"github.com/runabove/venom"
"github.com/ovh/venom"
)

// Name for test imap
Expand Down
4 changes: 2 additions & 2 deletions executors/ovhapi/executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (
"github.com/mitchellh/mapstructure"
"github.com/ovh/go-ovh/ovh"

"github.com/runabove/venom"
defaultctx "github.com/runabove/venom/context/default"
"github.com/ovh/venom"
defaultctx "github.com/ovh/venom/context/default"
)

// Name of executor
Expand Down
2 changes: 1 addition & 1 deletion executors/readfile/executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"github.com/mattn/go-zglob"
"github.com/mitchellh/mapstructure"

"github.com/runabove/venom"
"github.com/ovh/venom"
)

// Name for test readfile
Expand Down
2 changes: 1 addition & 1 deletion executors/smtp/executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/fsamin/go-dump"
"github.com/mitchellh/mapstructure"

"github.com/runabove/venom"
"github.com/ovh/venom"
)

// Name for test smtp
Expand Down
2 changes: 1 addition & 1 deletion executors/ssh/executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"github.com/mitchellh/mapstructure"
"golang.org/x/crypto/ssh"

"github.com/runabove/venom"
"github.com/ovh/venom"
)

// Name for test ssh
Expand Down
4 changes: 2 additions & 2 deletions executors/web/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Venom allows you to navigate into it and execute actions.

## Input

* Action (https://github.com/runabove/venom/tree/master/executors/web/types.go)
* Action (https://github.com/ovh/venom/tree/master/executors/web/types.go)
* Format

Parameters `debug` (default: false) and `timeout` (default: 180 seconds) are optional.
Expand Down Expand Up @@ -37,7 +37,7 @@ testcases:
- action:
fill:
- find: input[name="q"]
text: "venom runabove"
text: "venom ovh"
- action:
click:
find: input[value="Recherche Google"]
Expand Down
4 changes: 2 additions & 2 deletions executors/web/web.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
"github.com/mitchellh/mapstructure"
"github.com/sclevine/agouti"

"github.com/runabove/venom"
"github.com/runabove/venom/context/webctx"
"github.com/ovh/venom"
"github.com/ovh/venom/context/webctx"
)

// Name of executor
Expand Down
20 changes: 10 additions & 10 deletions lib/lib.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ import (

"encoding/json"

"github.com/runabove/venom"
"github.com/runabove/venom/context/default"
"github.com/runabove/venom/context/webctx"
"github.com/runabove/venom/executors/exec"
"github.com/runabove/venom/executors/http"
"github.com/runabove/venom/executors/imap"
"github.com/runabove/venom/executors/readfile"
"github.com/runabove/venom/executors/smtp"
"github.com/runabove/venom/executors/ssh"
"github.com/runabove/venom/executors/web"
"github.com/ovh/venom"
"github.com/ovh/venom/context/default"
"github.com/ovh/venom/context/webctx"
"github.com/ovh/venom/executors/exec"
"github.com/ovh/venom/executors/http"
"github.com/ovh/venom/executors/imap"
"github.com/ovh/venom/executors/readfile"
"github.com/ovh/venom/executors/smtp"
"github.com/ovh/venom/executors/ssh"
"github.com/ovh/venom/executors/web"
)

func init() {
Expand Down
4 changes: 2 additions & 2 deletions libtests/libtests_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (

"github.com/stretchr/testify/assert"

"github.com/runabove/venom/executors/http"
"github.com/runabove/venom/lib"
"github.com/ovh/venom/executors/http"
"github.com/ovh/venom/lib"
)

func TestVenomTestCase(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ for GOOS in windows darwin linux freebsd; do
echo "Building ${architecture} ${path}"
export GOOS=$GOOS
export GOARCH=$GOARCH
go build -ldflags "-X github.com/runabove/venom/cli/venom/update.architecture=${architecture}" -o bin/venom-${architecture}
go build -ldflags "-X github.com/ovh/venom/cli/venom/update.architecture=${architecture}" -o bin/venom-${architecture}
done
done
2 changes: 1 addition & 1 deletion vendor/vendor.json
Original file line number Diff line number Diff line change
Expand Up @@ -207,5 +207,5 @@
"revisionTime": "2016-09-28T15:37:09Z"
}
],
"rootPath": "github.com/runabove/venom"
"rootPath": "github.com/ovh/venom"
}

0 comments on commit 5ae6015

Please sign in to comment.