Skip to content
This repository has been archived by the owner on Mar 24, 2023. It is now read-only.

Fix bitbucket upstreams #1048

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
94 changes: 87 additions & 7 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ ignored = [
name = "github.com/hashicorp/terraform"
version = "0.11.14"

[[constraint]]
name = "github.com/hashicorp/go-getter"
branch = "master"

[[constraint]]
name = "github.com/mholt/archiver"
revision = "e4ef56d48eb029648b0e895bb0b6a393ef0829c3"
Expand Down
24 changes: 12 additions & 12 deletions pkg/specs/gogetter/go_getter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,18 @@ func TestIsGoGettable(t *testing.T) {
path: "github.com/replicatedhq/ship",
want: true,
},
// {
// name: "bitbucket",
// // this needs to be a valid bitbucket repo to work
// path: "bitbucket.org/hashicorp/tf-test-git",
// want: true,
// },
// {
// name: "bitbucket",
// // this needs to be a valid bitbucket repo to work
// path: "bitbucket.org/hashicorp/tf-test-hg",
// want: true,
// },
{
name: "bitbucket",
// this needs to be a valid bitbucket repo to work
path: "bitbucket.org/hashicorp/tf-test-git",
want: true,
},
{
name: "bitbucket",
// this needs to be a valid bitbucket repo to work
path: "bitbucket.org/hashicorp/tf-test-hg",
want: true,
},
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
Expand Down
Loading