Skip to content

Commit

Permalink
Update repo throughout codebase (#924)
Browse files Browse the repository at this point in the history
Updates:
 - readme/docs with heptio/sonobuoy
 - import lines from heptio/sonobuoy to vmware-tanzu/sonobuoy
 - rerun dep ensure
 - build flags which required package name
Signed-off-by: John Schnake <[email protected]>
  • Loading branch information
johnSchnake authored Sep 30, 2019
1 parent c9c2a46 commit 3a8f83a
Show file tree
Hide file tree
Showing 152 changed files with 447 additions and 447 deletions.
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ builds:
- linux
goarch:
- amd64
ldflags: -s -w -X github.com/heptio/sonobuoy/pkg/buildinfo.Version=v{{.Version}} -X github.com/heptio/sonobuoy/pkg/buildinfo.GitSHA={{.FullCommit}}
ldflags: -s -w -X github.com/vmware-tanzu/sonobuoy/pkg/buildinfo.Version=v{{.Version}} -X github.com/vmware-tanzu/sonobuoy/pkg/buildinfo.GitSHA={{.FullCommit}}
archive:
format: tar.gz
files:
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ deploy:
skip_cleanup: true
script: ./travis-deploy.sh
on:
repo: heptio/sonobuoy
repo: vmware-tanzu/sonobuoy
all_branches: true
env:
secure: AsGb+4LLxBE9fo8eJMfuwUK3QTt61TC+HDP+GbzRaYPB27usaSouAvqeLJI2jxDU/oNaDlNarb3A43gZIqbZe+0uT8jdrqnv5pGmX4CooNm52zF4QEQrFpERvfFAdbUKkZ11NLXav3S0iLVb8/iWopF0/yvt7h0ohBzNX/tMs7vYeZ5KbKUF8v7Uwg3VmjIHsvfSmtaEvWPi3302O/lo5J1tB6TH8b/bAXWweU8GKmQnQKES/+tUern+zOT0S47/fyRbvG6KbLdttol9k7KbzWZxG2iHcC65ogmdHD2azZmLyL8s5khDkA2rO4ovnOqse2kxmxn7da7y8k93vWaN1y98RpXw4H6brsH15BzoGoYBaMLg/Kn/JbTkSxPkPr/+6WGJ6lFeGgvArkwCXVyRPpecSH55+kvKmD8wxGnXaQp086cNKBiZYgN4C+T/8XXO011CxgjzLCsyyqr2KGI7c1VXvdiDt+fjVUeE/ftbHFdHH8Oc809U+6sa+6UWFxDcg3fsyIDKqUAh+cOYdjL+8+OpNWiV8p7/Yu+QntbfMuRmkyQz9boYZU58uzFGe0B87nu0Y9O6nIKJWu07nPiPP11CU3iv2aYDfg2y1wvyvk5rWSgnBnD82nHf7ip2/bykbsajK2fcX1sIA/3c7NzWtKauxnfTXLxxqBRbZFkOuoE=
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ COMMA := $(EMPTY),$(EMPTY)

BINARY = sonobuoy
TARGET = sonobuoy
GOTARGET = github.com/heptio/$(TARGET)
GOTARGET = github.com/vmware-tanzu/$(TARGET)
GOPATH = $(shell go env GOPATH)
REGISTRY ?= gcr.io/heptio-images
IMAGE = $(REGISTRY)/$(TARGET)
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Download one of the releases directly from [here][releases].
Alternatively, you can install the CLI by running:

```bash
go get -u -v github.com/heptio/sonobuoy
go get -u -v github.com/vmware-tanzu/sonobuoy
```

Golang version 1.13 or greater is recommended. Golang can be installed via
Expand Down Expand Up @@ -151,24 +151,24 @@ See [the list of releases][releases] to find out about feature changes.
[airgap]: https://sonobuoy.io/docs/airgap
[brew]: https://kubernetes.io/docs/tasks/tools/install-kubectl/#install-with-homebrew-on-macos
[cncf]: https://github.com/cncf/k8s-conformance#certified-kubernetes
[coc]: https://github.com/heptio/sonobuoy/blob/master/CODE_OF_CONDUCT.md
[contrib]: https://github.com/heptio/sonobuoy/blob/master/CONTRIBUTING.md
[coc]: https://github.com/vmware-tanzu/sonobuoy/blob/master/CODE_OF_CONDUCT.md
[contrib]: https://github.com/vmware-tanzu/sonobuoy/blob/master/CONTRIBUTING.md
[conformance]: https://sonobuoy.io/docs/conformance-testing
[docker]: https://docs.docker.com/install
[docs]: https://sonobuoy.io/docs
[e2e]: https://sonobuoy.io/docs/conformance-testing
[gen]: https://sonobuoy.io/docs/gen
[gimme]: https://github.com/travis-ci/gimme
[issue]: https://github.com/heptio/sonobuoy/issues
[issue]: https://github.com/vmware-tanzu/sonobuoy/issues
[k8s]: https://github.com/kubernetes/kubernetes
[linux]: https://kubernetes.io/docs/tasks/tools/install-kubectl/#tabset-1
[oview]: https://youtu.be/k-P4hXdruRs?t=9m27s
[plugins]: https://sonobuoy.io/docs/plugins
[quickstart]: https://aws.amazon.com/quickstart/architecture/vmware-kubernetes/
[releases]: https://github.com/heptio/sonobuoy/releases
[releases]: https://github.com/vmware-tanzu/sonobuoy/releases
[results]: https://sonobuoy.io/docs/results.md
[slack]: https://kubernetes.slack.com/messages/sonobuoy
[snapshot]:https://sonobuoy.io/docs/snapshot
[sonobuoyconfig]: https://sonobuoy.io/docs/sonobuoy-config
[status]: https://travis-ci.org/heptio/sonobuoy.svg?branch=master
[travis]: https://travis-ci.org/heptio/sonobuoy/#
[status]: https://travis-ci.org/vmware-tanzu/sonobuoy.svg?branch=master
[travis]: https://travis-ci.org/vmware-tanzu/sonobuoy/#
6 changes: 3 additions & 3 deletions cmd/sonobuoy/app/args.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ import (
"regexp"
"strings"

"github.com/heptio/sonobuoy/pkg/image"
"github.com/vmware-tanzu/sonobuoy/pkg/image"

"gopkg.in/yaml.v2"

ops "github.com/heptio/sonobuoy/pkg/client"
"github.com/heptio/sonobuoy/pkg/config"
ops "github.com/vmware-tanzu/sonobuoy/pkg/client"
"github.com/vmware-tanzu/sonobuoy/pkg/config"
"github.com/pkg/errors"
"github.com/spf13/pflag"
v1 "k8s.io/api/core/v1"
Expand Down
2 changes: 1 addition & 1 deletion cmd/sonobuoy/app/args_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (

"github.com/spf13/pflag"

ops "github.com/heptio/sonobuoy/pkg/client"
ops "github.com/vmware-tanzu/sonobuoy/pkg/client"
)

func TestGetE2EConfig(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions cmd/sonobuoy/app/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package app

import (
"time"
"github.com/heptio/sonobuoy/pkg/client"
sonodynamic "github.com/heptio/sonobuoy/pkg/dynamic"
"github.com/vmware-tanzu/sonobuoy/pkg/client"
sonodynamic "github.com/vmware-tanzu/sonobuoy/pkg/dynamic"

"github.com/pkg/errors"
"k8s.io/client-go/rest"
Expand Down
4 changes: 2 additions & 2 deletions cmd/sonobuoy/app/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ import (
"os"
"time"

"github.com/heptio/sonobuoy/pkg/client"
"github.com/heptio/sonobuoy/pkg/errlog"
"github.com/vmware-tanzu/sonobuoy/pkg/client"
"github.com/vmware-tanzu/sonobuoy/pkg/errlog"
"github.com/pkg/errors"
"github.com/spf13/cobra"
)
Expand Down
4 changes: 2 additions & 2 deletions cmd/sonobuoy/app/e2e.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ import (
"fmt"
"os"

"github.com/heptio/sonobuoy/pkg/client"
"github.com/heptio/sonobuoy/pkg/errlog"
"github.com/vmware-tanzu/sonobuoy/pkg/client"
"github.com/vmware-tanzu/sonobuoy/pkg/errlog"
"github.com/pkg/errors"
"github.com/spf13/cobra"
"github.com/spf13/pflag"
Expand Down
10 changes: 5 additions & 5 deletions cmd/sonobuoy/app/gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ import (
"fmt"
"os"

"github.com/heptio/sonobuoy/pkg/client"
"github.com/heptio/sonobuoy/pkg/config"
"github.com/heptio/sonobuoy/pkg/errlog"
imagepkg "github.com/heptio/sonobuoy/pkg/image"
"github.com/vmware-tanzu/sonobuoy/pkg/client"
"github.com/vmware-tanzu/sonobuoy/pkg/config"
"github.com/vmware-tanzu/sonobuoy/pkg/errlog"
imagepkg "github.com/vmware-tanzu/sonobuoy/pkg/image"
"github.com/imdario/mergo"
"github.com/pkg/errors"
"github.com/spf13/cobra"
Expand Down Expand Up @@ -96,7 +96,7 @@ func (g *genFlags) Config() (*client.GenConfig, error) {
return nil, errors.Wrap(err, "could not retrieve E2E config")
}

// TODO: Refactor this logic to be less convuled: https://github.com/heptio/sonobuoy/issues/481
// TODO: Refactor this logic to be less convuled: https://github.com/vmware-tanzu/sonobuoy/issues/481

// In some configurations, the kube client isn't actually needed for correct executation
// Therefore, delay reporting the error until we're sure we need the client
Expand Down
2 changes: 1 addition & 1 deletion cmd/sonobuoy/app/gen_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"os"

"github.com/heptio/sonobuoy/pkg/errlog"
"github.com/vmware-tanzu/sonobuoy/pkg/errlog"
"github.com/pkg/errors"
"github.com/spf13/cobra"
)
Expand Down
10 changes: 5 additions & 5 deletions cmd/sonobuoy/app/gen_plugin_def.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ import (
"fmt"
"os"

"github.com/heptio/sonobuoy/pkg/client/results"
"github.com/heptio/sonobuoy/pkg/errlog"
"github.com/heptio/sonobuoy/pkg/plugin"
"github.com/heptio/sonobuoy/pkg/plugin/driver"
"github.com/heptio/sonobuoy/pkg/plugin/manifest"
"github.com/vmware-tanzu/sonobuoy/pkg/client/results"
"github.com/vmware-tanzu/sonobuoy/pkg/errlog"
"github.com/vmware-tanzu/sonobuoy/pkg/plugin"
"github.com/vmware-tanzu/sonobuoy/pkg/plugin/driver"
"github.com/vmware-tanzu/sonobuoy/pkg/plugin/manifest"
"github.com/pkg/errors"
"github.com/spf13/cobra"
"github.com/spf13/pflag"
Expand Down
2 changes: 1 addition & 1 deletion cmd/sonobuoy/app/gen_plugin_def_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"io/ioutil"
"testing"

"github.com/heptio/sonobuoy/pkg/plugin/manifest"
"github.com/vmware-tanzu/sonobuoy/pkg/plugin/manifest"
v1 "k8s.io/api/core/v1"
)

Expand Down
10 changes: 5 additions & 5 deletions cmd/sonobuoy/app/gen_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ import (
"strings"
"testing"

"github.com/heptio/sonobuoy/pkg/buildinfo"
"github.com/heptio/sonobuoy/pkg/client"
"github.com/heptio/sonobuoy/pkg/config"
"github.com/heptio/sonobuoy/pkg/plugin"
"github.com/heptio/sonobuoy/pkg/plugin/manifest"
"github.com/vmware-tanzu/sonobuoy/pkg/buildinfo"
"github.com/vmware-tanzu/sonobuoy/pkg/client"
"github.com/vmware-tanzu/sonobuoy/pkg/config"
"github.com/vmware-tanzu/sonobuoy/pkg/plugin"
"github.com/vmware-tanzu/sonobuoy/pkg/plugin/manifest"

"github.com/kylelemons/godebug/pretty"
v1 "k8s.io/api/core/v1"
Expand Down
4 changes: 2 additions & 2 deletions cmd/sonobuoy/app/images.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ import (
"fmt"
"os"

"github.com/heptio/sonobuoy/pkg/errlog"
"github.com/heptio/sonobuoy/pkg/image"
"github.com/vmware-tanzu/sonobuoy/pkg/errlog"
"github.com/vmware-tanzu/sonobuoy/pkg/image"
"github.com/pkg/errors"
"github.com/spf13/cobra"
)
Expand Down
4 changes: 2 additions & 2 deletions cmd/sonobuoy/app/logs.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ import (
"github.com/pkg/errors"
"github.com/spf13/cobra"

"github.com/heptio/sonobuoy/pkg/client"
"github.com/heptio/sonobuoy/pkg/errlog"
"github.com/vmware-tanzu/sonobuoy/pkg/client"
"github.com/vmware-tanzu/sonobuoy/pkg/errlog"
)

const (
Expand Down
6 changes: 3 additions & 3 deletions cmd/sonobuoy/app/master.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ import (
"fmt"
"os"

"github.com/heptio/sonobuoy/pkg/config"
"github.com/heptio/sonobuoy/pkg/discovery"
"github.com/heptio/sonobuoy/pkg/errlog"
"github.com/vmware-tanzu/sonobuoy/pkg/config"
"github.com/vmware-tanzu/sonobuoy/pkg/discovery"
"github.com/vmware-tanzu/sonobuoy/pkg/errlog"
"github.com/pkg/errors"
"github.com/sirupsen/logrus"
"github.com/spf13/cobra"
Expand Down
2 changes: 1 addition & 1 deletion cmd/sonobuoy/app/pluginList.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"path/filepath"
"strings"

"github.com/heptio/sonobuoy/pkg/plugin/manifest"
"github.com/vmware-tanzu/sonobuoy/pkg/plugin/manifest"
"github.com/pkg/errors"
"github.com/spf13/pflag"

Expand Down
2 changes: 1 addition & 1 deletion cmd/sonobuoy/app/pluginList_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"fmt"
"testing"

"github.com/heptio/sonobuoy/pkg/plugin/manifest"
"github.com/vmware-tanzu/sonobuoy/pkg/plugin/manifest"
"github.com/kylelemons/godebug/pretty"
)

Expand Down
6 changes: 3 additions & 3 deletions cmd/sonobuoy/app/results.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ import (
"path"
"strings"

"github.com/heptio/sonobuoy/pkg/client/results"
"github.com/heptio/sonobuoy/pkg/discovery"
"github.com/heptio/sonobuoy/pkg/errlog"
"github.com/vmware-tanzu/sonobuoy/pkg/client/results"
"github.com/vmware-tanzu/sonobuoy/pkg/discovery"
"github.com/vmware-tanzu/sonobuoy/pkg/errlog"
"github.com/pkg/errors"
"github.com/spf13/cobra"
)
Expand Down
4 changes: 2 additions & 2 deletions cmd/sonobuoy/app/retrieve.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ import (
"os"
"path/filepath"

"github.com/heptio/sonobuoy/pkg/client"
"github.com/heptio/sonobuoy/pkg/errlog"
"github.com/vmware-tanzu/sonobuoy/pkg/client"
"github.com/vmware-tanzu/sonobuoy/pkg/errlog"
"github.com/pkg/errors"
"github.com/spf13/cobra"
"golang.org/x/sync/errgroup"
Expand Down
2 changes: 1 addition & 1 deletion cmd/sonobuoy/app/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package app
import (
"flag"

"github.com/heptio/sonobuoy/pkg/errlog"
"github.com/vmware-tanzu/sonobuoy/pkg/errlog"
"github.com/spf13/cobra"

"k8s.io/klog"
Expand Down
4 changes: 2 additions & 2 deletions cmd/sonobuoy/app/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ import (
"github.com/spf13/cobra"
"github.com/spf13/pflag"

"github.com/heptio/sonobuoy/pkg/client"
"github.com/heptio/sonobuoy/pkg/errlog"
"github.com/vmware-tanzu/sonobuoy/pkg/client"
"github.com/vmware-tanzu/sonobuoy/pkg/errlog"
)

type runFlags struct {
Expand Down
2 changes: 1 addition & 1 deletion cmd/sonobuoy/app/sonobuoyconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"encoding/json"
"io/ioutil"

"github.com/heptio/sonobuoy/pkg/config"
"github.com/vmware-tanzu/sonobuoy/pkg/config"
"github.com/pkg/errors"
"github.com/spf13/pflag"
)
Expand Down
8 changes: 4 additions & 4 deletions cmd/sonobuoy/app/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ import (
"github.com/pkg/errors"
"github.com/spf13/cobra"

"github.com/heptio/sonobuoy/pkg/client"
"github.com/heptio/sonobuoy/pkg/errlog"
"github.com/heptio/sonobuoy/pkg/plugin/aggregation"
"github.com/vmware-tanzu/sonobuoy/pkg/client"
"github.com/vmware-tanzu/sonobuoy/pkg/errlog"
"github.com/vmware-tanzu/sonobuoy/pkg/plugin/aggregation"
)

var statusFlags struct {
Expand Down Expand Up @@ -138,7 +138,7 @@ func humanReadableStatus(str string) string {
case aggregation.PostProcessingStatus:
return "Sonobuoy plugins have completed. Preparing results for download."
default:
return fmt.Sprintf("Sonobuoy is in unknown state %q. Please report a bug at github.com/heptio/sonobuoy", str)
return fmt.Sprintf("Sonobuoy is in unknown state %q. Please report a bug at github.com/vmware-tanzu/sonobuoy", str)
}
}

Expand Down
2 changes: 1 addition & 1 deletion cmd/sonobuoy/app/status_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"io"
"testing"

"github.com/heptio/sonobuoy/pkg/plugin/aggregation"
"github.com/vmware-tanzu/sonobuoy/pkg/plugin/aggregation"
)

var expectedSummary = ` PLUGIN STATUS RESULT COUNT
Expand Down
4 changes: 2 additions & 2 deletions cmd/sonobuoy/app/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ package app
import (
"fmt"

"github.com/heptio/sonobuoy/pkg/buildinfo"
"github.com/heptio/sonobuoy/pkg/errlog"
"github.com/vmware-tanzu/sonobuoy/pkg/buildinfo"
"github.com/vmware-tanzu/sonobuoy/pkg/errlog"
"github.com/pkg/errors"
"github.com/spf13/cobra"
)
Expand Down
8 changes: 4 additions & 4 deletions cmd/sonobuoy/app/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ import (
"syscall"
"time"

"github.com/heptio/sonobuoy/pkg/errlog"
"github.com/heptio/sonobuoy/pkg/plugin"
"github.com/heptio/sonobuoy/pkg/plugin/aggregation"
"github.com/heptio/sonobuoy/pkg/worker"
"github.com/vmware-tanzu/sonobuoy/pkg/errlog"
"github.com/vmware-tanzu/sonobuoy/pkg/plugin"
"github.com/vmware-tanzu/sonobuoy/pkg/plugin/aggregation"
"github.com/vmware-tanzu/sonobuoy/pkg/worker"
"github.com/pkg/errors"
"github.com/sirupsen/logrus"
"github.com/spf13/cobra"
Expand Down
2 changes: 1 addition & 1 deletion examples/plugins/cmd-runner/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ set -x
results_dir="${RESULTS_DIR:-/tmp/results}"

# saveResults prepares the results for handoff to the Sonobuoy worker.
# See: https://github.com/heptio/sonobuoy/blob/master/docs/plugins.md
# See: https://github.com/vmware-tanzu/sonobuoy/blob/master/docs/plugins.md
saveResults() {
cd ${results_dir}

Expand Down
2 changes: 1 addition & 1 deletion examples/plugins/progress-reporter/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ total_updates=60
sleep_seconds=1

# saveResults prepares the results for handoff to the Sonobuoy worker.
# See: https://github.com/heptio/sonobuoy/blob/master/docs/plugins.md
# See: https://github.com/vmware-tanzu/sonobuoy/blob/master/docs/plugins.md
saveResults() {
# Signal to the worker that we are done and where to find the results.
echo "hello world" > ${results_dir}/myresults
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package main
import (
"os"

"github.com/heptio/sonobuoy/cmd/sonobuoy/app"
"github.com/vmware-tanzu/sonobuoy/cmd/sonobuoy/app"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion pkg/backplane/ca/authtest/testserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"net/http/httptest"
"testing"

"github.com/heptio/sonobuoy/pkg/backplane/ca"
"github.com/vmware-tanzu/sonobuoy/pkg/backplane/ca"
)

// Server is an extension of httptest.Server that uses our own CA
Expand Down
Loading

0 comments on commit 3a8f83a

Please sign in to comment.