Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildImage ¶
BuildImage will run make build-openstack-buildOS which will launch an instance in Openstack, add any requirements as defined in the image-builder imageRepo and then create an image from that build.
func CreateRepoDirectory ¶
func CreateRepoDirectory() string
CreateRepoDirectory create the random directory where the Image repo will be cloned into.
func FetchBuildRepo ¶
FetchBuildRepo simply pulls the contents of the imageRepo to the specified path
func InstallDependencies ¶
func InstallDependencies(repoPath string)
InstallDependencies will run make dep-openstack so that any requirements such as packer, ansible and goss will be installed.
func NewBuildCommand ¶
NewBuildCommand creates a command that allows the building of an image.
func SaveImageIDToFile ¶
SaveImageIDToFile exports the image ID to a file so that it can be read later by the scan system - this will generally be used by the gitHub action.
Types ¶
This section is empty.