From 345164da12195ea005a7f322f4b3084213c941ad Mon Sep 17 00:00:00 2001 From: Lena Fuhrimann <6780471+cloudlena@users.noreply.github.com> Date: Sun, 29 Jul 2018 15:37:31 +0200 Subject: [PATCH] Use prettier to format YAML --- .travis.yml | 4 ++-- README.md | 4 ++-- deployments/cf/manifest.yml | 13 ++++++------- go.mod | 2 +- go.sum | 4 ++-- 5 files changed, 13 insertions(+), 14 deletions(-) diff --git a/.travis.yml b/.travis.yml index 49ee3ba..41b47ea 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,11 +4,11 @@ go: - stable before_install: - - curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh + - go get -u golang.org/x/vgo - go get -u github.com/golangci/golangci-lint/cmd/golangci-lint install: - - dep ensure + - vgo mod -vendor script: - make lint diff --git a/README.md b/README.md index bd6e0b8..d92967a 100644 --- a/README.md +++ b/README.md @@ -8,8 +8,8 @@ A Web GUI written in Go to manage S3 buckets from any provider. ## Install Dependencies -1. Install [Dep](https://github.com/golang/dep) -1. Run `dep ensure` +1. Install [vgo](https://github.com/golang/vgo) +1. Run `vgo mod -vendor` ## Build and Run Locally diff --git a/deployments/cf/manifest.yml b/deployments/cf/manifest.yml index 7582104..744b29f 100644 --- a/deployments/cf/manifest.yml +++ b/deployments/cf/manifest.yml @@ -1,9 +1,8 @@ ---- applications: -- name: s3-manager - memory: 64M - buildpack: https://github.com/cloudfoundry/binary-buildpack.git - command: ./deployments/cf/entrypoint-cf.sh + - name: s3-manager + memory: 64M + buildpack: https://github.com/cloudfoundry/binary-buildpack.git + command: ./deployments/cf/entrypoint-cf.sh - services: - - my-storage + services: + - my-storage diff --git a/go.mod b/go.mod index d055cde..54a01f2 100644 --- a/go.mod +++ b/go.mod @@ -13,7 +13,7 @@ require ( github.com/smartystreets/assertions v0.0.0-20180725160413-e900ae048470 // indirect github.com/smartystreets/goconvey v0.0.0-20180222194500-ef6db91d284a // indirect golang.org/x/crypto v0.0.0-20180723164146-c126467f60eb // indirect - golang.org/x/net v0.0.0-20180724234803-3673e40ba225 // indirect + golang.org/x/net v0.0.0-20180731172858-49c15d80dfbc // indirect golang.org/x/sys v0.0.0-20180727230415-bd9dbc187b6e // indirect golang.org/x/text v0.3.0 // indirect gopkg.in/ini.v1 v1.38.1 // indirect diff --git a/go.sum b/go.sum index e2b943d..7753e6c 100644 --- a/go.sum +++ b/go.sum @@ -22,8 +22,8 @@ github.com/smartystreets/goconvey v0.0.0-20180222194500-ef6db91d284a h1:JSvGDIbm github.com/smartystreets/goconvey v0.0.0-20180222194500-ef6db91d284a/go.mod h1:XDJAKZRPZ1CvBcN2aX5YOUTYGHki24fSF0Iv48Ibg0s= golang.org/x/crypto v0.0.0-20180723164146-c126467f60eb h1:Ah9YqXLj6fEgeKqcmBuLCbAsrF3ScD7dJ/bYM0C6tXI= golang.org/x/crypto v0.0.0-20180723164146-c126467f60eb/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= -golang.org/x/net v0.0.0-20180724234803-3673e40ba225 h1:kNX+jCowfMYzvlSvJu5pQWEmyWFrBXJ3PBy10xKMXK8= -golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20180731172858-49c15d80dfbc h1:fxZeP24od5lQwTpFLCU8QkWPRbntiOgNkcTByEnKbbo= +golang.org/x/net v0.0.0-20180731172858-49c15d80dfbc/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/sys v0.0.0-20180727230415-bd9dbc187b6e h1:3dQ4fR8k5KugjVKO0oqSd1odxuk2yaE2CIfxWP2WarQ= golang.org/x/sys v0.0.0-20180727230415-bd9dbc187b6e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/text v0.3.0 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg=