No description, website, or topics provided.
Switch branches/tags
Clone or download
Permalink
Failed to load latest commit information.
bosh-psmodules Protect CF Cell disables RDP Sep 19, 2018
lib Removing docker and other problematic services from 1803 Azure Sep 14, 2018
resources Move base vmx into stemcell builder Apr 10, 2018
scripts added setup to support new environemnts Jul 12, 2017
spec Removing docker and other problematic services from 1803 Azure Sep 14, 2018
src/github.com Update submodules Sep 19, 2018
vendor/cache Update azure_mgmt_recources Sep 21, 2018
.envrc add gopath for bwats Apr 6, 2017
.gitignore Ignore local-builders Jul 2, 2018
.gitmodules Submodule Pester 3.4.6 Mar 17, 2017
.rspec Working VMX Builder Mar 3, 2017
.ruby-version Bunde all gem files Mar 9, 2017
Gemfile Update rubyzip to 1.2.2 Sep 11, 2018
Gemfile.lock Update azure_mgmt_recources Sep 21, 2018
LICENSE Add LICENSE and README Aug 2, 2016
NOTICE Create NOTICE Jul 7, 2017
README.md Enable CIS hardening for public IaaSes Jun 12, 2018
Rakefile Remove reference to deleted rake tasks Jan 25, 2018
azure-light-stemcell.md put links to the wiki in the existing readme's Jun 5, 2017
azure-marketplace.png Add docs for accepting azure light stemcell license agreement Apr 17, 2017
create-manual-openstack-stemcells.md put links to the wiki in the existing readme's Jun 5, 2017
create-manual-vsphere-2016-stemcells.md put links to the wiki in the existing readme's Jun 5, 2017
create-manual-vsphere-stemcells.md put links to the wiki in the existing readme's Jun 5, 2017
manual-stemcell-dotnet-version-guide.md put links to the wiki in the existing readme's Jun 5, 2017
with-concourse.md Fix broken link Jul 5, 2017

README.md

BOSH Windows Stemcell Builder slack.cloudfoundry.org

This repo contains a set of scripts for automating the process of building BOSH Windows Stemcells.

Contributing

Please submit PR's to the develop branch

Dependencies

Install

gem install bundler
bundle install

Commands

rake build:aws                                                                 # Build AWS Stemcell
rake build:azure                                                               # Build Azure Stemcell
rake build:gcp                                                                 # Build GCP Stemcell
rake build:vsphere                                                             # Build VSphere Stemcell
rake build:vsphere_add_updates                                                 # Apply Windows Updates for VMX

rake package:agent                                                             # Package BOSH Agent and dependencies into agent.zip
rake package:bwats                                                             # package bosh-windows-acceptance-tests (BWATS) config.json
rake package:psmodules                                                         # Package BOSH psmodules into bosh-psmodules.zip
rake package:vsphere_ova[ova_file_name,output_directory,version,updates_path]  # Package VSphere OVA files into Stemcells

rake publish:staging:azure                                                     # Stage an image to the Azure marketplace
rake publish:production:azure                                                  # Publish an image to the Azure marketplace
rake publish:finalize:azure                                                    # Wait for finalizing an image to the Azure marketplace

rake publish:gcp                                                               # Publish an image to GCP

rake run:bwats[iaas]                                                           # Run bosh-windows-acceptance-tests (BWATS)

In Concourse see Greenhouse CI for required environment variables for these tasks. For example, for rake build:vsphere refer to this task.yml.

Instructions for building a manual stemcell for vSphere can be found in the wiki.

Running the tests

bundler exec rspec

Testing stemcell with bosh-windows-acceptance-tests

Requirements

Set the following environment variables:

bosh-cli environment variables
  • BOSH_TARGET: IP of your BOSH director
  • BOSH_CLIENT:
  • BOSH_CLIENT_SECRET:
  • BOSH_CA_CERT: (not a file name, but the actual cert itself)
Stemcell to test
  • STEMCELL_PATH: Path to stemcell tarball
Match with cloud config
  • AZ:
  • VM_TYPE:
  • VM_EXTENSIONS:
  • NETWORK:

Run BWATS:

rake package:bwats
rake run:bwats["vsphere"]