Documentation
¶
Index ¶
- func GetSha(repo string, ref string) (string, error)
- func InputManifestToManifest(in model.InputManifest) (model.Manifest, error)
- func ReadInManifest(manifestFile string) (model.InputManifest, error)
- func ReadManifest(manifestFile string) (model.Manifest, error)
- func SetupWorkDir(dir string) error
- func Sources(manifest model.Manifest) error
- func StandardizeManifest(manifest *model.Manifest) error
- func TagRepo(manifest model.Manifest, repo string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InputManifestToManifest ¶
func InputManifestToManifest(in model.InputManifest) (model.Manifest, error)
func ReadInManifest ¶
func ReadInManifest(manifestFile string) (model.InputManifest, error)
func SetupWorkDir ¶
The release expects a working directory with: * sources/ contains all of the sources to build from. These should not be modified * work/ initially contains all the sources, but may be modified during the build * out/ contains all final artifacts
func Sources ¶
Sources will copy all dependencies require, pulling from Github if required, and set up the working tree. This includes locally tagging all git repos with the version being built, so that the right version is present in binaries.
func StandardizeManifest ¶
StandardizeManifest will convert a manifest to a fixed SHA, rather than a branch This allows outputting the exact version used after the build is complete
Types ¶
This section is empty.