Documentation ¶
Index ¶
- Variables
- func ApplyOutputAliases(onEnvs, basedOnEnvs []envmanModels.EnvironmentItemModel) ([]envmanModels.EnvironmentItemModel, error)
- func CheckIsEnvmanInstalled(minEnvmanVersion string) error
- func CheckIsHomebrewInstalled(isFullSetupMode bool) error
- func CheckIsPluginInstalled(name string, dependency PluginDependency) error
- func CheckIsStepmanInstalled(minStepmanVersion string) error
- func CleanupStepWorkDir() error
- func CollectEnvironmentsFromFile(pth string) ([]envmanModels.EnvironmentItemModel, error)
- func CollectEnvironmentsFromFileContent(bytes []byte) ([]envmanModels.EnvironmentItemModel, error)
- func ConfigModelFromJSONBytes(configBytes []byte) (bitriseData models.BitriseDataModel, warnings []string, err error)
- func ConfigModelFromYAMLBytes(configBytes []byte) (bitriseData models.BitriseDataModel, warnings []string, err error)
- func DependencyTryCheckTool(tool string) error
- func EvaluateTemplateToBool(expStr string, isCI, isPR bool, buildResults models.BuildRunResultsModel, ...) (bool, error)
- func EvaluateTemplateToString(expStr string, isCI, isPR bool, buildResults models.BuildRunResultsModel, ...) (string, error)
- func ExportEnvironmentsList(envsList []envmanModels.EnvironmentItemModel) error
- func FormattedSecondsToMax8Chars(t time.Duration) (string, error)
- func GetBuildFailedEnvironments(failed bool) []string
- func InstallWithAptGetIfNeeded(aptGetDep stepmanModels.AptGetDepModel, isCIMode bool) error
- func InstallWithBrewIfNeeded(brewDep stepmanModels.BrewDepModel, isCIMode bool) error
- func InventoryModelFromYAMLBytes(inventoryBytes []byte) (inventory envmanModels.EnvsSerializeModel, err error)
- func PrintInstalledXcodeInfos() error
- func PrintRunningStepFooter(stepRunResult models.StepRunResultsModel, isLastStepInWorkflow bool)
- func PrintRunningStepHeader(stepInfo stepmanModels.StepInfoModel, step stepmanModels.StepModel, idx int)
- func PrintRunningWorkflow(title string)
- func PrintSummary(buildRunResults models.BuildRunResultsModel)
- func ReadBitriseConfig(pth string) (models.BitriseDataModel, []string, error)
- func ReadSpecStep(pth string) (stepmanModels.StepModel, error)
- func RemoveConfigRedundantFieldsAndFillStepOutputs(config *models.BitriseDataModel) error
- func RunSetup(appVersion string, isFullSetupMode bool, isCleanSetupMode bool) error
- func RunSetupIfNeeded(appVersion string, isFullSetupMode bool) error
- func SaveConfigToFile(pth string, bitriseConf models.BitriseDataModel) error
- func SetBuildFailedEnv(failed bool) error
- type PluginDependency
- type TemplateDataModel
Constants ¶
This section is empty.
Variables ¶
var PluginDependencyMap = map[string]PluginDependency{ "init": PluginDependency{ Source: "https://github.com/bitrise-core/bitrise-plugins-init.git", MinVersion: "1.0.1", }, "step": PluginDependency{ Source: "https://github.com/bitrise-core/bitrise-plugins-step.git", MinVersion: "0.9.5", }, "workflow-editor": PluginDependency{ Source: "https://github.com/bitrise-io/bitrise-workflow-editor.git", MinVersion: "1.1.11", }, "analytics": PluginDependency{ Source: "https://github.com/bitrise-core/bitrise-plugins-analytics.git", MinVersion: "0.9.11", }, }
PluginDependencyMap ...
Functions ¶
func ApplyOutputAliases ¶
func ApplyOutputAliases(onEnvs, basedOnEnvs []envmanModels.EnvironmentItemModel) ([]envmanModels.EnvironmentItemModel, error)
ApplyOutputAliases ...
func CheckIsEnvmanInstalled ¶
CheckIsEnvmanInstalled ...
func CheckIsHomebrewInstalled ¶
CheckIsHomebrewInstalled ...
func CheckIsPluginInstalled ¶
func CheckIsPluginInstalled(name string, dependency PluginDependency) error
CheckIsPluginInstalled ...
func CheckIsStepmanInstalled ¶
CheckIsStepmanInstalled ...
func CollectEnvironmentsFromFile ¶
func CollectEnvironmentsFromFile(pth string) ([]envmanModels.EnvironmentItemModel, error)
CollectEnvironmentsFromFile ...
func CollectEnvironmentsFromFileContent ¶
func CollectEnvironmentsFromFileContent(bytes []byte) ([]envmanModels.EnvironmentItemModel, error)
CollectEnvironmentsFromFileContent ...
func ConfigModelFromJSONBytes ¶
func ConfigModelFromJSONBytes(configBytes []byte) (bitriseData models.BitriseDataModel, warnings []string, err error)
ConfigModelFromJSONBytes ...
func ConfigModelFromYAMLBytes ¶
func ConfigModelFromYAMLBytes(configBytes []byte) (bitriseData models.BitriseDataModel, warnings []string, err error)
ConfigModelFromYAMLBytes ...
func DependencyTryCheckTool ¶
DependencyTryCheckTool ...
func EvaluateTemplateToBool ¶
func EvaluateTemplateToBool(expStr string, isCI, isPR bool, buildResults models.BuildRunResultsModel, envList envmanModels.EnvsJSONListModel) (bool, error)
EvaluateTemplateToBool ...
func EvaluateTemplateToString ¶
func EvaluateTemplateToString(expStr string, isCI, isPR bool, buildResults models.BuildRunResultsModel, envList envmanModels.EnvsJSONListModel) (string, error)
EvaluateTemplateToString ...
func ExportEnvironmentsList ¶
func ExportEnvironmentsList(envsList []envmanModels.EnvironmentItemModel) error
ExportEnvironmentsList ...
func FormattedSecondsToMax8Chars ¶
FormattedSecondsToMax8Chars ...
func GetBuildFailedEnvironments ¶
GetBuildFailedEnvironments ...
func InstallWithAptGetIfNeeded ¶
func InstallWithAptGetIfNeeded(aptGetDep stepmanModels.AptGetDepModel, isCIMode bool) error
InstallWithAptGetIfNeeded ...
func InstallWithBrewIfNeeded ¶
func InstallWithBrewIfNeeded(brewDep stepmanModels.BrewDepModel, isCIMode bool) error
InstallWithBrewIfNeeded ...
func InventoryModelFromYAMLBytes ¶
func InventoryModelFromYAMLBytes(inventoryBytes []byte) (inventory envmanModels.EnvsSerializeModel, err error)
InventoryModelFromYAMLBytes ...
func PrintRunningStepFooter ¶
func PrintRunningStepFooter(stepRunResult models.StepRunResultsModel, isLastStepInWorkflow bool)
PrintRunningStepFooter ..
func PrintRunningStepHeader ¶
func PrintRunningStepHeader(stepInfo stepmanModels.StepInfoModel, step stepmanModels.StepModel, idx int)
PrintRunningStepHeader ...
func ReadBitriseConfig ¶
func ReadBitriseConfig(pth string) (models.BitriseDataModel, []string, error)
ReadBitriseConfig ...
func RemoveConfigRedundantFieldsAndFillStepOutputs ¶
func RemoveConfigRedundantFieldsAndFillStepOutputs(config *models.BitriseDataModel) error
RemoveConfigRedundantFieldsAndFillStepOutputs ...
func RunSetupIfNeeded ¶
RunSetupIfNeeded ...
func SaveConfigToFile ¶
func SaveConfigToFile(pth string, bitriseConf models.BitriseDataModel) error
SaveConfigToFile ...
Types ¶
type PluginDependency ¶
PluginDependency ..
type TemplateDataModel ¶
type TemplateDataModel struct { BuildResults models.BuildRunResultsModel IsBuildFailed bool IsBuildOK bool IsCI bool IsPR bool PullRequestID string }
TemplateDataModel ...