Skip to content

Commit dbabb6c

Browse files
committed
Merge branch 'bump-versions' into 'master'
refactor: bump DBLab version to v2 See merge request postgres-ai/database-lab!251
2 parents d104d7f + 81c1550 commit dbabb6c

Some content is hidden

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

75 files changed

+259
-257
lines changed

.gitlab-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
image: golang:1.14
1+
image: golang:1.15
22

33
include:
44
- template: Security/SAST.gitlab-ci.yml
@@ -43,7 +43,7 @@ lint:
4343
when: manual
4444

4545
build-binary-alpine:
46-
image: golang:1.14-alpine
46+
image: golang:1.15-alpine
4747
stage: build-binary
4848
only:
4949
refs:

cmd/cli/commands/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010

1111
"github.com/urfave/cli/v2"
1212

13-
"gitlab.com/postgres-ai/database-lab/pkg/client/dblabapi"
13+
"gitlab.com/postgres-ai/database-lab/v2/pkg/client/dblabapi"
1414
)
1515

1616
// CLI configuration keys.

cmd/cli/commands/clone/actions.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ import (
1414

1515
"github.com/urfave/cli/v2"
1616

17-
"gitlab.com/postgres-ai/database-lab/cmd/cli/commands"
18-
"gitlab.com/postgres-ai/database-lab/pkg/client/dblabapi/types"
19-
"gitlab.com/postgres-ai/database-lab/pkg/log"
20-
"gitlab.com/postgres-ai/database-lab/pkg/models"
17+
"gitlab.com/postgres-ai/database-lab/v2/cmd/cli/commands"
18+
"gitlab.com/postgres-ai/database-lab/v2/pkg/client/dblabapi/types"
19+
"gitlab.com/postgres-ai/database-lab/v2/pkg/log"
20+
"gitlab.com/postgres-ai/database-lab/v2/pkg/models"
2121
)
2222

2323
// list runs a request to list clones of an instance.

cmd/cli/commands/clone/command_list.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ package clone
77
import (
88
"github.com/urfave/cli/v2"
99

10-
"gitlab.com/postgres-ai/database-lab/cmd/cli/commands"
10+
"gitlab.com/postgres-ai/database-lab/v2/cmd/cli/commands"
1111
)
1212

1313
// CommandList returns available commands for a clones management.

cmd/cli/commands/config/actions.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313

1414
"github.com/urfave/cli/v2"
1515

16-
"gitlab.com/postgres-ai/database-lab/cmd/cli/commands"
16+
"gitlab.com/postgres-ai/database-lab/v2/cmd/cli/commands"
1717
)
1818

1919
// headers of a config list.

cmd/cli/commands/config/environment.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"github.com/pkg/errors"
99
"github.com/urfave/cli/v2"
1010

11-
"gitlab.com/postgres-ai/database-lab/cmd/cli/commands"
11+
"gitlab.com/postgres-ai/database-lab/v2/cmd/cli/commands"
1212
)
1313

1414
// CLIConfig defines a format of CLI configuration.

cmd/cli/commands/global/actions.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ import (
1313
"github.com/pkg/errors"
1414
"github.com/urfave/cli/v2"
1515

16-
"gitlab.com/postgres-ai/database-lab/cmd/cli/commands"
17-
"gitlab.com/postgres-ai/database-lab/cmd/cli/commands/config"
18-
"gitlab.com/postgres-ai/database-lab/pkg/log"
16+
"gitlab.com/postgres-ai/database-lab/v2/cmd/cli/commands"
17+
"gitlab.com/postgres-ai/database-lab/v2/cmd/cli/commands/config"
18+
"gitlab.com/postgres-ai/database-lab/v2/pkg/log"
1919
)
2020

2121
func initCLI(c *cli.Context) error {

cmd/cli/commands/global/command_list.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ package global
77
import (
88
"github.com/urfave/cli/v2"
99

10-
"gitlab.com/postgres-ai/database-lab/cmd/cli/commands"
11-
"gitlab.com/postgres-ai/database-lab/cmd/cli/templates"
10+
"gitlab.com/postgres-ai/database-lab/v2/cmd/cli/commands"
11+
"gitlab.com/postgres-ai/database-lab/v2/cmd/cli/templates"
1212
)
1313

1414
// List provides commands for getting started.

cmd/cli/commands/instance/actions.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111

1212
"github.com/urfave/cli/v2"
1313

14-
"gitlab.com/postgres-ai/database-lab/cmd/cli/commands"
14+
"gitlab.com/postgres-ai/database-lab/v2/cmd/cli/commands"
1515
)
1616

1717
// status runs a request to get status of the instance.

cmd/cli/commands/port_forwarding.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
"github.com/urfave/cli/v2"
1515
"golang.org/x/crypto/ssh"
1616

17-
"gitlab.com/postgres-ai/database-lab/pkg/portfwd"
17+
"gitlab.com/postgres-ai/database-lab/v2/pkg/portfwd"
1818
)
1919

2020
// BuildTunnel creates a new instance of SSH tunnel.

0 commit comments

Comments
 (0)