Use prettier to format YAML
This commit is contained in:
parent
6fb86ead01
commit
345164da12
5 changed files with 13 additions and 14 deletions
|
@ -4,11 +4,11 @@ go:
|
||||||
- stable
|
- stable
|
||||||
|
|
||||||
before_install:
|
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
|
- go get -u github.com/golangci/golangci-lint/cmd/golangci-lint
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- dep ensure
|
- vgo mod -vendor
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- make lint
|
- make lint
|
||||||
|
|
|
@ -8,8 +8,8 @@ A Web GUI written in Go to manage S3 buckets from any provider.
|
||||||
|
|
||||||
## Install Dependencies
|
## Install Dependencies
|
||||||
|
|
||||||
1. Install [Dep](https://github.com/golang/dep)
|
1. Install [vgo](https://github.com/golang/vgo)
|
||||||
1. Run `dep ensure`
|
1. Run `vgo mod -vendor`
|
||||||
|
|
||||||
## Build and Run Locally
|
## Build and Run Locally
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,8 @@
|
||||||
---
|
|
||||||
applications:
|
applications:
|
||||||
- name: s3-manager
|
- name: s3-manager
|
||||||
memory: 64M
|
memory: 64M
|
||||||
buildpack: https://github.com/cloudfoundry/binary-buildpack.git
|
buildpack: https://github.com/cloudfoundry/binary-buildpack.git
|
||||||
command: ./deployments/cf/entrypoint-cf.sh
|
command: ./deployments/cf/entrypoint-cf.sh
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- my-storage
|
- my-storage
|
||||||
|
|
2
go.mod
2
go.mod
|
@ -13,7 +13,7 @@ require (
|
||||||
github.com/smartystreets/assertions v0.0.0-20180725160413-e900ae048470 // indirect
|
github.com/smartystreets/assertions v0.0.0-20180725160413-e900ae048470 // indirect
|
||||||
github.com/smartystreets/goconvey v0.0.0-20180222194500-ef6db91d284a // indirect
|
github.com/smartystreets/goconvey v0.0.0-20180222194500-ef6db91d284a // indirect
|
||||||
golang.org/x/crypto v0.0.0-20180723164146-c126467f60eb // 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/sys v0.0.0-20180727230415-bd9dbc187b6e // indirect
|
||||||
golang.org/x/text v0.3.0 // indirect
|
golang.org/x/text v0.3.0 // indirect
|
||||||
gopkg.in/ini.v1 v1.38.1 // indirect
|
gopkg.in/ini.v1 v1.38.1 // indirect
|
||||||
|
|
4
go.sum
4
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=
|
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 h1:Ah9YqXLj6fEgeKqcmBuLCbAsrF3ScD7dJ/bYM0C6tXI=
|
||||||
golang.org/x/crypto v0.0.0-20180723164146-c126467f60eb/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
|
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-20180731172858-49c15d80dfbc h1:fxZeP24od5lQwTpFLCU8QkWPRbntiOgNkcTByEnKbbo=
|
||||||
golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
|
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 h1:3dQ4fR8k5KugjVKO0oqSd1odxuk2yaE2CIfxWP2WarQ=
|
||||||
golang.org/x/sys v0.0.0-20180727230415-bd9dbc187b6e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
|
golang.org/x/sys v0.0.0-20180727230415-bd9dbc187b6e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
|
||||||
golang.org/x/text v0.3.0 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg=
|
golang.org/x/text v0.3.0 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg=
|
||||||
|
|
Loading…
Reference in a new issue