Rename module to github.com/helmfile/helmfile

Also updates a few more references to the roboll/helmfile repository,
where possible.

Signed-off-by: austin ce <austin.cawley@gmail.com>
This commit is contained in:
austin ce 2022-05-18 09:03:43 -04:00
parent 2dff652862
commit eb3484d4a8
No known key found for this signature in database
GPG Key ID: BACD4A6A54EBE93C
47 changed files with 106 additions and 106 deletions

View File

@ -6,7 +6,7 @@ body:
value: |
Before opening a bug report, please search for the behaviour in the existing issues.
Go ahead to https://github.com/roboll/helmfile/search?q=&type= and fill in the error message you received from Helmfile or the keywords you think appropriate.
Go ahead to https://github.com/helmfile/helmfile/search?q=&type= and fill in the error message you received from Helmfile or the keywords you think appropriate.
- type: markdown
id: thankyou
attributes:

View File

@ -4,7 +4,7 @@ By contributing to `helmfile`, you accept and agree to the following DCO and lic
conditions for your present and future Contributions submitted to the `helmfile` project.
[DCO](https://developercertificate.org/)
[License](https://github.com/roboll/helmfile/blob/master/LICENSE)
[License](https://github.com/helmfile/helmfile/blob/master/LICENSE)
# Developing helmfile

View File

@ -2,7 +2,7 @@ ORG ?= $(shell basename $(realpath ..))
PKGS := $(shell go list ./... | grep -v /vendor/)
build:
go build -ldflags '-X github.com/roboll/helmfile/pkg/app/version.Version=${TAG}' ${TARGETS}
go build -ldflags '-X github.com/helmfile/helmfile/pkg/app/version.Version=${TAG}' ${TARGETS}
.PHONY: build
generate:
@ -40,15 +40,15 @@ integration/vagrant:
.PHONY: integration/vagrant
cross:
env CGO_ENABLED=0 gox -parallel 4 -os 'windows darwin linux' -arch '386 amd64 arm64' -osarch '!darwin/386' -output "dist/{{.Dir}}_{{.OS}}_{{.Arch}}" -ldflags '-X github.com/roboll/helmfile/pkg/app/version.Version=${TAG}' ${TARGETS}
env CGO_ENABLED=0 gox -parallel 4 -os 'windows darwin linux' -arch '386 amd64 arm64' -osarch '!darwin/386' -output "dist/{{.Dir}}_{{.OS}}_{{.Arch}}" -ldflags '-X github.com/helmfile/helmfile/pkg/app/version.Version=${TAG}' ${TARGETS}
.PHONY: cross
static-linux:
env CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GOFLAGS=-mod=readonly go build -o "dist/helmfile_linux_amd64" -ldflags '-X github.com/roboll/helmfile/pkg/app/version.Version=${TAG}' ${TARGETS}
env CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GOFLAGS=-mod=readonly go build -o "dist/helmfile_linux_amd64" -ldflags '-X github.com/helmfile/helmfile/pkg/app/version.Version=${TAG}' ${TARGETS}
.PHONY: static-linux
install:
env CGO_ENABLED=0 go install -ldflags '-X github.com/roboll/helmfile/pkg/app/version.Version=${TAG}' ${TARGETS}
env CGO_ENABLED=0 go install -ldflags '-X github.com/helmfile/helmfile/pkg/app/version.Version=${TAG}' ${TARGETS}
.PHONY: install
clean:

View File

@ -1,5 +1,5 @@
# What is a helmfile? Read here...
# https://github.com/roboll/helmfile
# https://github.com/helmfile/helmfile
# Before deployment, export the required env vars
# export HELM_SECRETS_DRIVER=vault

2
go.mod
View File

@ -1,4 +1,4 @@
module github.com/roboll/helmfile
module github.com/helmfile/helmfile
go 1.17

10
main.go
View File

@ -5,11 +5,11 @@ import (
"os"
"strings"
"github.com/roboll/helmfile/pkg/app"
"github.com/roboll/helmfile/pkg/app/version"
"github.com/roboll/helmfile/pkg/helmexec"
"github.com/roboll/helmfile/pkg/maputil"
"github.com/roboll/helmfile/pkg/state"
"github.com/helmfile/helmfile/pkg/app"
"github.com/helmfile/helmfile/pkg/app/version"
"github.com/helmfile/helmfile/pkg/helmexec"
"github.com/helmfile/helmfile/pkg/maputil"
"github.com/helmfile/helmfile/pkg/state"
"github.com/urfave/cli"
"go.uber.org/zap"
"golang.org/x/crypto/ssh/terminal"

View File

@ -13,11 +13,11 @@ import (
"syscall"
"text/tabwriter"
"github.com/roboll/helmfile/pkg/argparser"
"github.com/roboll/helmfile/pkg/helmexec"
"github.com/roboll/helmfile/pkg/plugins"
"github.com/roboll/helmfile/pkg/remote"
"github.com/roboll/helmfile/pkg/state"
"github.com/helmfile/helmfile/pkg/argparser"
"github.com/helmfile/helmfile/pkg/helmexec"
"github.com/helmfile/helmfile/pkg/plugins"
"github.com/helmfile/helmfile/pkg/remote"
"github.com/helmfile/helmfile/pkg/state"
"github.com/variantdev/vals"
"go.uber.org/zap"
)

View File

@ -9,9 +9,9 @@ import (
"testing"
"github.com/google/go-cmp/cmp"
"github.com/roboll/helmfile/pkg/exectest"
"github.com/roboll/helmfile/pkg/helmexec"
"github.com/roboll/helmfile/pkg/testhelper"
"github.com/helmfile/helmfile/pkg/exectest"
"github.com/helmfile/helmfile/pkg/helmexec"
"github.com/helmfile/helmfile/pkg/testhelper"
"github.com/variantdev/vals"
)

View File

@ -9,9 +9,9 @@ import (
"testing"
"github.com/google/go-cmp/cmp"
"github.com/roboll/helmfile/pkg/exectest"
"github.com/roboll/helmfile/pkg/helmexec"
"github.com/roboll/helmfile/pkg/testhelper"
"github.com/helmfile/helmfile/pkg/exectest"
"github.com/helmfile/helmfile/pkg/helmexec"
"github.com/helmfile/helmfile/pkg/testhelper"
"github.com/variantdev/vals"
)

View File

@ -9,9 +9,9 @@ import (
"testing"
"github.com/google/go-cmp/cmp"
"github.com/roboll/helmfile/pkg/exectest"
"github.com/roboll/helmfile/pkg/helmexec"
"github.com/roboll/helmfile/pkg/testhelper"
"github.com/helmfile/helmfile/pkg/exectest"
"github.com/helmfile/helmfile/pkg/helmexec"
"github.com/helmfile/helmfile/pkg/testhelper"
"github.com/variantdev/vals"
)

View File

@ -16,18 +16,18 @@ import (
"github.com/google/go-cmp/cmp"
"github.com/roboll/helmfile/pkg/remote"
"github.com/roboll/helmfile/pkg/testutil"
"github.com/helmfile/helmfile/pkg/remote"
"github.com/helmfile/helmfile/pkg/testutil"
"github.com/stretchr/testify/assert"
"github.com/roboll/helmfile/pkg/exectest"
"github.com/helmfile/helmfile/pkg/exectest"
"github.com/variantdev/vals"
"github.com/roboll/helmfile/pkg/helmexec"
"github.com/roboll/helmfile/pkg/state"
"github.com/roboll/helmfile/pkg/testhelper"
"github.com/helmfile/helmfile/pkg/helmexec"
"github.com/helmfile/helmfile/pkg/state"
"github.com/helmfile/helmfile/pkg/testhelper"
"go.uber.org/zap"
)

View File

@ -1,7 +1,7 @@
package app
import (
"github.com/roboll/helmfile/pkg/state"
"github.com/helmfile/helmfile/pkg/state"
)
type Context struct {

View File

@ -6,11 +6,11 @@ import (
"fmt"
"path/filepath"
"github.com/helmfile/helmfile/pkg/environment"
"github.com/helmfile/helmfile/pkg/helmexec"
"github.com/helmfile/helmfile/pkg/remote"
"github.com/helmfile/helmfile/pkg/state"
"github.com/imdario/mergo"
"github.com/roboll/helmfile/pkg/environment"
"github.com/roboll/helmfile/pkg/helmexec"
"github.com/roboll/helmfile/pkg/remote"
"github.com/roboll/helmfile/pkg/state"
"github.com/variantdev/vals"
"go.uber.org/zap"
)

View File

@ -8,9 +8,9 @@ import (
"sync"
"testing"
"github.com/roboll/helmfile/pkg/exectest"
"github.com/roboll/helmfile/pkg/helmexec"
"github.com/roboll/helmfile/pkg/testhelper"
"github.com/helmfile/helmfile/pkg/exectest"
"github.com/helmfile/helmfile/pkg/helmexec"
"github.com/helmfile/helmfile/pkg/testhelper"
"github.com/variantdev/vals"
)

View File

@ -8,9 +8,9 @@ import (
"sync"
"testing"
"github.com/roboll/helmfile/pkg/exectest"
"github.com/roboll/helmfile/pkg/helmexec"
"github.com/roboll/helmfile/pkg/testhelper"
"github.com/helmfile/helmfile/pkg/exectest"
"github.com/helmfile/helmfile/pkg/helmexec"
"github.com/helmfile/helmfile/pkg/testhelper"
"github.com/variantdev/vals"
"go.uber.org/zap"
)

View File

@ -9,9 +9,9 @@ import (
"testing"
"github.com/google/go-cmp/cmp"
"github.com/roboll/helmfile/pkg/exectest"
"github.com/roboll/helmfile/pkg/helmexec"
"github.com/roboll/helmfile/pkg/testhelper"
"github.com/helmfile/helmfile/pkg/exectest"
"github.com/helmfile/helmfile/pkg/helmexec"
"github.com/helmfile/helmfile/pkg/testhelper"
"github.com/variantdev/vals"
)

View File

@ -9,9 +9,9 @@ import (
"testing"
"github.com/google/go-cmp/cmp"
"github.com/roboll/helmfile/pkg/exectest"
"github.com/roboll/helmfile/pkg/helmexec"
"github.com/roboll/helmfile/pkg/testhelper"
"github.com/helmfile/helmfile/pkg/exectest"
"github.com/helmfile/helmfile/pkg/helmexec"
"github.com/helmfile/helmfile/pkg/testhelper"
"github.com/variantdev/vals"
"go.uber.org/zap"
)

View File

@ -4,7 +4,7 @@ import (
"os"
"testing"
"github.com/roboll/helmfile/pkg/testutil"
"github.com/helmfile/helmfile/pkg/testutil"
)
// TestFormatAsTable tests the FormatAsTable function.

View File

@ -1,7 +1,7 @@
package app
import (
"github.com/roboll/helmfile/pkg/state"
"github.com/helmfile/helmfile/pkg/state"
"gopkg.in/yaml.v2"
)

View File

@ -1,6 +1,6 @@
package app
import "github.com/roboll/helmfile/pkg/helmexec"
import "github.com/helmfile/helmfile/pkg/helmexec"
type noCallHelmExec struct {
}

View File

@ -6,9 +6,9 @@ import (
"sort"
"strings"
"github.com/roboll/helmfile/pkg/argparser"
"github.com/roboll/helmfile/pkg/helmexec"
"github.com/roboll/helmfile/pkg/state"
"github.com/helmfile/helmfile/pkg/argparser"
"github.com/helmfile/helmfile/pkg/helmexec"
"github.com/helmfile/helmfile/pkg/state"
)
type Run struct {

View File

@ -6,9 +6,9 @@ import (
"strings"
"github.com/google/go-cmp/cmp"
"github.com/roboll/helmfile/pkg/environment"
"github.com/roboll/helmfile/pkg/state"
"github.com/roboll/helmfile/pkg/tmpl"
"github.com/helmfile/helmfile/pkg/environment"
"github.com/helmfile/helmfile/pkg/state"
"github.com/helmfile/helmfile/pkg/tmpl"
)
func prependLineNumbers(text string) string {

View File

@ -5,11 +5,11 @@ import (
"strings"
"testing"
"github.com/roboll/helmfile/pkg/remote"
"github.com/helmfile/helmfile/pkg/remote"
"github.com/roboll/helmfile/pkg/helmexec"
"github.com/roboll/helmfile/pkg/state"
"github.com/roboll/helmfile/pkg/testhelper"
"github.com/helmfile/helmfile/pkg/helmexec"
"github.com/helmfile/helmfile/pkg/state"
"github.com/helmfile/helmfile/pkg/testhelper"
"gopkg.in/yaml.v2"
)

View File

@ -4,7 +4,7 @@ import (
"fmt"
"strings"
"github.com/roboll/helmfile/pkg/state"
"github.com/helmfile/helmfile/pkg/state"
)
type keyVal struct {

View File

@ -4,7 +4,7 @@ import (
"strings"
"testing"
"github.com/roboll/helmfile/pkg/state"
"github.com/helmfile/helmfile/pkg/state"
"github.com/stretchr/testify/require"
)

View File

@ -1,8 +1,8 @@
package environment
import (
"github.com/helmfile/helmfile/pkg/maputil"
"github.com/imdario/mergo"
"github.com/roboll/helmfile/pkg/maputil"
"gopkg.in/yaml.v2"
)

View File

@ -4,9 +4,9 @@ import (
"fmt"
"strings"
"github.com/roboll/helmfile/pkg/environment"
"github.com/roboll/helmfile/pkg/helmexec"
"github.com/roboll/helmfile/pkg/tmpl"
"github.com/helmfile/helmfile/pkg/environment"
"github.com/helmfile/helmfile/pkg/helmexec"
"github.com/helmfile/helmfile/pkg/tmpl"
"go.uber.org/zap"
)

View File

@ -5,7 +5,7 @@ import (
"io"
"testing"
"github.com/roboll/helmfile/pkg/environment"
"github.com/helmfile/helmfile/pkg/environment"
"go.uber.org/zap"
"go.uber.org/zap/zaptest/observer"
)

View File

@ -7,7 +7,7 @@ import (
"sync"
"github.com/Masterminds/semver/v3"
"github.com/roboll/helmfile/pkg/helmexec"
"github.com/helmfile/helmfile/pkg/helmexec"
)
type ListKey struct {

View File

@ -7,8 +7,8 @@ import (
"testing"
"github.com/google/go-cmp/cmp"
"github.com/roboll/helmfile/pkg/helmexec"
"github.com/roboll/helmfile/pkg/testhelper"
"github.com/helmfile/helmfile/pkg/helmexec"
"github.com/helmfile/helmfile/pkg/testhelper"
)
func TestRemote_HttpsGitHub(t *testing.T) {

View File

@ -9,9 +9,9 @@ import (
"github.com/Masterminds/semver/v3"
goversion "github.com/hashicorp/go-version"
"github.com/helmfile/helmfile/pkg/app/version"
"github.com/helmfile/helmfile/pkg/helmexec"
"github.com/r3labs/diff"
"github.com/roboll/helmfile/pkg/app/version"
"github.com/roboll/helmfile/pkg/helmexec"
"go.uber.org/zap"
"gopkg.in/yaml.v2"
)

View File

@ -7,12 +7,12 @@ import (
"io"
"os"
"github.com/roboll/helmfile/pkg/helmexec"
"github.com/roboll/helmfile/pkg/remote"
"github.com/helmfile/helmfile/pkg/helmexec"
"github.com/helmfile/helmfile/pkg/remote"
"github.com/helmfile/helmfile/pkg/environment"
"github.com/helmfile/helmfile/pkg/maputil"
"github.com/imdario/mergo"
"github.com/roboll/helmfile/pkg/environment"
"github.com/roboll/helmfile/pkg/maputil"
"github.com/variantdev/vals"
"go.uber.org/zap"
"gopkg.in/yaml.v2"

View File

@ -6,10 +6,10 @@ import (
"reflect"
"testing"
"github.com/roboll/helmfile/pkg/environment"
"github.com/roboll/helmfile/pkg/remote"
"github.com/helmfile/helmfile/pkg/environment"
"github.com/helmfile/helmfile/pkg/remote"
"github.com/roboll/helmfile/pkg/testhelper"
"github.com/helmfile/helmfile/pkg/testhelper"
"go.uber.org/zap"
"github.com/stretchr/testify/require"

View File

@ -4,11 +4,11 @@ import (
"fmt"
"path/filepath"
"github.com/helmfile/helmfile/pkg/environment"
"github.com/helmfile/helmfile/pkg/maputil"
"github.com/helmfile/helmfile/pkg/remote"
"github.com/helmfile/helmfile/pkg/tmpl"
"github.com/imdario/mergo"
"github.com/roboll/helmfile/pkg/environment"
"github.com/roboll/helmfile/pkg/maputil"
"github.com/roboll/helmfile/pkg/remote"
"github.com/roboll/helmfile/pkg/tmpl"
"go.uber.org/zap"
"gopkg.in/yaml.v2"
)

View File

@ -6,7 +6,7 @@ import (
"testing"
"github.com/google/go-cmp/cmp"
"github.com/roboll/helmfile/pkg/remote"
"github.com/helmfile/helmfile/pkg/remote"
"go.uber.org/zap"
)

View File

@ -5,8 +5,8 @@ import (
"os"
"path/filepath"
"github.com/roboll/helmfile/pkg/helmexec"
"github.com/roboll/helmfile/pkg/remote"
"github.com/helmfile/helmfile/pkg/helmexec"
"github.com/helmfile/helmfile/pkg/remote"
"github.com/variantdev/chartify"
)

View File

@ -3,7 +3,7 @@ package state
import (
"fmt"
"github.com/roboll/helmfile/pkg/tmpl"
"github.com/helmfile/helmfile/pkg/tmpl"
"gopkg.in/yaml.v2"
)

View File

@ -20,11 +20,11 @@ import (
"github.com/imdario/mergo"
"github.com/variantdev/chartify"
"github.com/roboll/helmfile/pkg/environment"
"github.com/roboll/helmfile/pkg/event"
"github.com/roboll/helmfile/pkg/helmexec"
"github.com/roboll/helmfile/pkg/remote"
"github.com/roboll/helmfile/pkg/tmpl"
"github.com/helmfile/helmfile/pkg/environment"
"github.com/helmfile/helmfile/pkg/event"
"github.com/helmfile/helmfile/pkg/helmexec"
"github.com/helmfile/helmfile/pkg/remote"
"github.com/helmfile/helmfile/pkg/tmpl"
"github.com/tatsushid/go-prettytable"
"github.com/variantdev/vals"

View File

@ -4,7 +4,7 @@ import (
"fmt"
"reflect"
"github.com/roboll/helmfile/pkg/tmpl"
"github.com/helmfile/helmfile/pkg/tmpl"
"gopkg.in/yaml.v2"
)

View File

@ -7,7 +7,7 @@ import (
"testing"
"github.com/go-test/deep"
"github.com/roboll/helmfile/pkg/environment"
"github.com/helmfile/helmfile/pkg/environment"
)
func boolPtrToString(ptr *bool) string {

View File

@ -6,7 +6,7 @@ import (
"testing"
"github.com/google/go-cmp/cmp"
"github.com/roboll/helmfile/pkg/helmexec"
"github.com/helmfile/helmfile/pkg/helmexec"
)
func TestGoGetter(t *testing.T) {

View File

@ -7,7 +7,7 @@ import (
"strings"
"sync"
"github.com/roboll/helmfile/pkg/helmexec"
"github.com/helmfile/helmfile/pkg/helmexec"
"github.com/variantdev/dag/pkg/dag"
)

View File

@ -8,9 +8,9 @@ import (
"testing"
"github.com/Masterminds/semver/v3"
"github.com/roboll/helmfile/pkg/exectest"
"github.com/roboll/helmfile/pkg/helmexec"
"github.com/roboll/helmfile/pkg/testhelper"
"github.com/helmfile/helmfile/pkg/exectest"
"github.com/helmfile/helmfile/pkg/helmexec"
"github.com/helmfile/helmfile/pkg/testhelper"
"github.com/variantdev/vals"
)

View File

@ -1,7 +1,7 @@
package state
import (
"github.com/roboll/helmfile/pkg/environment"
"github.com/helmfile/helmfile/pkg/environment"
)
// TemplateSpec defines the structure of a reusable and composable template for helm releases.

View File

@ -12,7 +12,7 @@ import (
"text/template"
"github.com/ghodss/yaml"
"github.com/roboll/helmfile/pkg/helmexec"
"github.com/helmfile/helmfile/pkg/helmexec"
"golang.org/x/sync/errgroup"
)

View File

@ -4,7 +4,7 @@ import (
"fmt"
"sync"
"github.com/roboll/helmfile/pkg/plugins"
"github.com/helmfile/helmfile/pkg/plugins"
"github.com/variantdev/vals"
)

View File

@ -2,7 +2,7 @@ package tmpl
import (
"fmt"
"github.com/roboll/helmfile/pkg/environment"
"github.com/helmfile/helmfile/pkg/environment"
"reflect"
"testing"
)