Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

cloudfoundry-incubator/greenhouse-install-script-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Greenhouse install script generator

The greenhouse install script generator is a command line tool that reads configuration data from your BOSH director or a Diego-Windows CF manifest to generate a batch file with the appropriate command line parameters to install and configure GardenWindows.msi and DiegoWindows.msi.

Installation

Precompiled binaries can be downloaded from the Diego Windows Releases. See the Diego Windows installation instructions for more detail.

Usage

Sample for CF Manifest:

generate -manifest cf.yml -outputDir /tmp/install.bat

Sample for BOSH Lite:

generate -boshUrl https://admin:admin@192.168.50.4:25555 -outputDir /tmp/bosh-lite-install-bat -windowsPassword password -windowsUsername username

The Windows user must be a local user with administrative privileges, e.g. domain users are not supported. The password cannot contain special characters. Only the letters A-Z and the numbers 0-9 are currently allowed.

Building

  1. Install and configure direnv
  2. git clone https://github.com/cloudfoundry-incubator/greenhouse-install-script-generator
  3. cd ./greenhouse-install-script-generator
  4. Allow direnv to execute in this dir direnv allow
  5. Pull in libs git submodule init && git submodule update
  6. Build the executable go build -o $GOPATH/bin/generate ./src/generate/generate.go

Tests

We use Ginkgo as our testing framework and runner. To run the install script generator tests:

  1. go get github.com/onsi/ginkgo/ginkgo
  2. ginkgo ./src/integration ./src/models ./src/yaml

About

tool to build install.bat for diego windows msi installation

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published