Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit 6b0d2de

Browse files
Jean-Christophe Sirotchris-crone
authored andcommitted
- Update k8s dependencies to 1.14.0
- Use a custom duffle branch using github.com/deislabs/cnab-go/bundle (waiting for cnabio/duffle#681 to be merged) Signed-off-by: Jean-Christophe Sirot <[email protected]>
1 parent f0bf841 commit 6b0d2de

File tree

817 files changed

+108561
-64536
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

817 files changed

+108561
-64536
lines changed

Gopkg.lock

Lines changed: 176 additions & 201 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Gopkg.toml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ required = ["github.com/wadey/gocovmerge"]
4343
# Waiting for https://github.com/deislabs/duffle/pull/682 to be merged
4444
[[override]]
4545
name = "github.com/deislabs/duffle"
46-
source = "github.com/ijc/duffle"
47-
branch = "set-merge"
46+
source = "github.com/silvin-lubecki/duffle"
47+
branch = "jc"
4848

4949
[[constraint]]
5050
name = "github.com/sirupsen/logrus"
@@ -66,29 +66,33 @@ required = ["github.com/wadey/gocovmerge"]
6666
name = "github.com/docker/go-metrics"
6767
revision = "d466d4f6fd960e01820085bd7e1a24426ee7ef18"
6868

69+
[[override]]
70+
name = "github.com/prometheus/client_golang"
71+
revision = "v0.8.0"
72+
6973
[[override]]
7074
name = "github.com/docker/distribution"
7175
revision = "0d3efadf0154c2b8a4e7b6621fff9809655cc580"
7276

7377
[[override]]
7478
name = "github.com/docker/swarmkit"
75-
revision = "edd5641391926a50bc5f7040e20b7efc05003c26"
79+
revision = "18e7e58ea1a5ec016625a636d0d52500eea123bc"
7680

7781
[[override]]
7882
name = "k8s.io/kubernetes"
79-
revision = "v1.11.1"
83+
revision = "v1.14.0"
8084

8185
[[override]]
8286
name = "k8s.io/api"
83-
revision = "kubernetes-1.11.1"
87+
revision = "kubernetes-1.14.0"
8488

8589
[[override]]
8690
name = "k8s.io/apimachinery"
87-
revision = "kubernetes-1.11.1"
91+
revision = "kubernetes-1.14.0"
8892

8993
[[override]]
9094
name = "k8s.io/client-go"
91-
revision = "kubernetes-1.11.1"
95+
revision = "kubernetes-1.14.0"
9296

9397
# This is using a fork waiting for go-yaml/yaml#375 to be merged
9498
# This PR allows to set a max decoded value, thus not being exposed to yaml bombs

cmd/cnab-run/install.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"os"
77
"strconv"
88

9-
"github.com/deislabs/duffle/pkg/bundle"
9+
"github.com/deislabs/cnab-go/bundle"
1010
"github.com/docker/app/internal"
1111
"github.com/docker/app/internal/packager"
1212
"github.com/docker/app/render"

internal/commands/bundle.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"fmt"
88
"io/ioutil"
99

10-
"github.com/deislabs/duffle/pkg/bundle"
10+
"github.com/deislabs/cnab-go/bundle"
1111
"github.com/docker/app/internal"
1212
"github.com/docker/app/internal/packager"
1313
"github.com/docker/app/types"

internal/commands/cnab.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import (
1010
"os"
1111
"strings"
1212

13+
"github.com/deislabs/cnab-go/bundle"
1314
"github.com/deislabs/duffle/pkg/action"
14-
"github.com/deislabs/duffle/pkg/bundle"
1515
"github.com/deislabs/duffle/pkg/claim"
1616
"github.com/deislabs/duffle/pkg/credentials"
1717
"github.com/deislabs/duffle/pkg/driver"
@@ -225,7 +225,7 @@ func resolveBundle(dockerCli command.Cli, bundleStore appstore.BundleStore, name
225225
if strings.HasSuffix(name, internal.AppExtension) {
226226
return extractAndLoadAppBasedBundle(dockerCli, name)
227227
}
228-
return loader.NewDetectingLoader().Load(name)
228+
return loader.NewLoader().Load(name)
229229
case nameKindDir, nameKindEmpty:
230230
if pullRef {
231231
if kind == nameKindDir {

internal/commands/cnab_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"encoding/json"
55
"testing"
66

7-
"github.com/deislabs/duffle/pkg/bundle"
7+
"github.com/deislabs/cnab-go/bundle"
88
"github.com/docker/app/internal"
99
"github.com/docker/cli/cli/command"
1010
"github.com/docker/cli/cli/config/configfile"

internal/commands/parameters.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package commands
33
import (
44
"fmt"
55

6-
"github.com/deislabs/duffle/pkg/bundle"
6+
"github.com/deislabs/cnab-go/bundle"
77
"github.com/deislabs/duffle/pkg/claim"
88
"github.com/docker/app/internal"
99
"github.com/docker/app/types/parameters"

internal/commands/parameters_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package commands
33
import (
44
"testing"
55

6-
"github.com/deislabs/duffle/pkg/bundle"
6+
"github.com/deislabs/cnab-go/bundle"
77
"github.com/deislabs/duffle/pkg/claim"
88
"github.com/docker/app/internal"
99
"gotest.tools/assert"

internal/commands/push.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"strings"
1111

1212
"github.com/containerd/containerd/platforms"
13-
"github.com/deislabs/duffle/pkg/bundle"
13+
"github.com/deislabs/cnab-go/bundle"
1414
"github.com/docker/app/internal/packager"
1515
"github.com/docker/app/types/metadata"
1616
"github.com/docker/cli/cli"
@@ -101,7 +101,7 @@ func runPush(dockerCli command.Cli, name string, opts pushOptions) error {
101101
return err
102102
}
103103
// push bundle manifest
104-
descriptor, err := remotes.Push(context.Background(), bndl, retag.cnabRef, resolverConfig.Resolver)
104+
descriptor, err := remotes.Push(context.Background(), bndl, retag.cnabRef, resolverConfig.Resolver, true)
105105
if err != nil {
106106
return err
107107
}

internal/commands/push_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package commands
33
import (
44
"testing"
55

6-
"github.com/deislabs/duffle/pkg/bundle"
6+
"github.com/deislabs/cnab-go/bundle"
77
"github.com/docker/app/types/metadata"
88
"github.com/docker/distribution/reference"
99
"gotest.tools/assert"

0 commit comments

Comments
 (0)