Use new manifest.yml syntax

This commit is contained in:
Lena Fuhrimann 2018-01-10 17:15:59 +01:00
parent 63e75ffbaf
commit 5377ddffff
4 changed files with 10 additions and 11 deletions

View file

@ -1,4 +1,4 @@
*
/*
!/templates
!/entrypoint-cf.sh

4
Gopkg.lock generated
View file

@ -77,13 +77,13 @@
branch = "master"
name = "golang.org/x/crypto"
packages = ["ssh/terminal"]
revision = "0fcca4842a8d74bfddc2c96a073bd2a4d2a7a2e8"
revision = "b3c9a1d25cfbbbab0ff4780b71c4f54e6e92a0de"
[[projects]]
branch = "master"
name = "golang.org/x/sys"
packages = ["unix","windows"]
revision = "b9cf5f96b68d9eaa53d5db5fef235718767f416a"
revision = "810d7000345868fc619eb81f46307107118f4ae1"
[solve-meta]
analyzer-name = "dep"

View file

@ -28,5 +28,5 @@ A Web GUI written in Go to manage S3 buckets from any provider.
## Run on Cloud Foundry
1. Change the service in `manifest.yml` to represent your S3 service (if you are using an external S3 provider, you'll have to switch the service type in `entrypoint-cf.sh` from `dynstrg` to `user-provided` and create the respective user-provided service with `cf create-user-provided-service`)
1. Change `host` in `manifest.yml` to something that isn't taken yet
1. Add a route in `manifest.yml` that isn't taken yet
1. Run `make deploy-cf`

View file

@ -1,10 +1,9 @@
---
applications:
- name: s3-manager
host: s3-manager
memory: 64M
buildpack: https://github.com/cloudfoundry/binary-buildpack.git
command: ./entrypoint-cf.sh
- name: s3-manager
memory: 64M
buildpack: https://github.com/cloudfoundry/binary-buildpack.git
command: ./entrypoint-cf.sh
services:
- my-storage
services:
- my-storage