diff --git a/.drone.star b/.drone.star index 1a15426149..f8fba5a71f 100644 --- a/.drone.star +++ b/.drone.star @@ -32,31 +32,6 @@ def testing(ctx): 'arch': 'amd64', }, 'steps': [ - { - 'name': 'frontend', - 'image': 'webhippie/nodejs:latest', - 'pull': 'always', - 'commands': [ - 'yarn install --frozen-lockfile', - 'yarn lint', - 'yarn test', - 'yarn build', - ], - }, - { - 'name': 'generate', - 'image': 'webhippie/golang:1.13', - 'pull': 'always', - 'commands': [ - 'make generate', - ], - 'volumes': [ - { - 'name': 'gopath', - 'path': '/srv/app', - }, - ], - }, { 'name': 'vet', 'image': 'webhippie/golang:1.13', @@ -71,34 +46,34 @@ def testing(ctx): }, ], }, - { - 'name': 'staticcheck', - 'image': 'webhippie/golang:1.13', - 'pull': 'always', - 'commands': [ - 'make staticcheck', - ], - 'volumes': [ - { - 'name': 'gopath', - 'path': '/srv/app', - }, - ], - }, - { - 'name': 'lint', - 'image': 'webhippie/golang:1.13', - 'pull': 'always', - 'commands': [ - 'make lint', - ], - 'volumes': [ - { - 'name': 'gopath', - 'path': '/srv/app', - }, - ], - }, + # { + # 'name': 'staticcheck', + # 'image': 'webhippie/golang:1.13', + # 'pull': 'always', + # 'commands': [ + # 'make staticcheck', + # ], + # 'volumes': [ + # { + # 'name': 'gopath', + # 'path': '/srv/app', + # }, + # ], + # }, + # { + # 'name': 'lint', + # 'image': 'webhippie/golang:1.13', + # 'pull': 'always', + # 'commands': [ + # 'make lint', + # ], + # 'volumes': [ + # { + # 'name': 'gopath', + # 'path': '/srv/app', + # }, + # ], + # }, { 'name': 'build', 'image': 'webhippie/golang:1.13', diff --git a/pkg/command/server.go b/pkg/command/server.go index 64571da392..e353b0cdec 100644 --- a/pkg/command/server.go +++ b/pkg/command/server.go @@ -126,6 +126,7 @@ func Server(cfg *config.Config) cli.Command { if err != nil { log.Errorf("Server [http] failed to initialize: %w", err) + cancel() return err }