Documentation ¶
Index ¶
- Variables
- func CheckIsEnvmanInstalled(minEnvmanVersion string) error
- func CheckIsHomebrewInstalled(isFullSetupMode bool) error
- func CheckIsPluginInstalled(name string, dependency PluginDependency) error
- func CheckIsRubyGemsInstalled() error
- func CheckIsStepmanInstalled(minStepmanVersion string) error
- func CheckProgramInstalledPath(clcommand string) (string, error)
- func CleanupStepWorkDir() error
- func CollectEnvironmentsFromFile(pth string) ([]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 GetBuildFailedEnvironments(failed bool) []string
- func InstallWithAptGetIfNeeded(tool string, isCIMode bool) error
- func InstallWithBrewIfNeeded(tool string, isCIMode bool) error
- func InventoryModelFromYAMLBytes(inventoryBytes []byte) (inventory envmanModels.EnvsYMLModel, err error)
- func PrintInstalledXcodeInfos() error
- func PrintRunningStepFooter(stepRunResult models.StepRunResultsModel, isLastStepInWorkflow bool)
- func PrintRunningStepHeader(stepInfo stepmanModels.StepInfoModel, 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) error
- func SaveConfigToFile(pth string, bitriseConf models.BitriseDataModel) error
- func SetBuildFailedEnv(failed bool) error
- func TimeToFormattedSeconds(t time.Duration, postfix string) string
- type PluginDependency
- type TemplateDataModel
Constants ¶
This section is empty.
Variables ¶
var LinuxPluginDependencyMap = map[string]PluginDependency{ "analytics": PluginDependency{ Source: "https://github.com/bitrise-core/bitrise-plugins-analytics.git", Binary: "https://github.com/bitrise-core/bitrise-plugins-analytics/releases/download/0.9.4/analytics-Linux-x86_64", MinVersion: "0.9.4", }, }
LinuxPluginDependencyMap ...
var OSXPluginDependencyMap = map[string]PluginDependency{ "analytics": PluginDependency{ Source: "https://github.com/bitrise-core/bitrise-plugins-analytics.git", Binary: "https://github.com/bitrise-core/bitrise-plugins-analytics/releases/download/0.9.4/analytics-Darwin-x86_64", MinVersion: "0.9.4", }, }
OSXPluginDependencyMap ...
Functions ¶
func CheckIsEnvmanInstalled ¶
CheckIsEnvmanInstalled ...
func CheckIsHomebrewInstalled ¶
CheckIsHomebrewInstalled ...
func CheckIsPluginInstalled ¶
func CheckIsPluginInstalled(name string, dependency PluginDependency) error
CheckIsPluginInstalled ...
func CheckIsStepmanInstalled ¶
CheckIsStepmanInstalled ...
func CheckProgramInstalledPath ¶
CheckProgramInstalledPath ...
func CollectEnvironmentsFromFile ¶
func CollectEnvironmentsFromFile(pth string) ([]envmanModels.EnvironmentItemModel, error)
CollectEnvironmentsFromFile ...
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 GetBuildFailedEnvironments ¶
GetBuildFailedEnvironments ...
func InstallWithAptGetIfNeeded ¶
InstallWithAptGetIfNeeded ...
func InstallWithBrewIfNeeded ¶
InstallWithBrewIfNeeded ...
func InventoryModelFromYAMLBytes ¶
func InventoryModelFromYAMLBytes(inventoryBytes []byte) (inventory envmanModels.EnvsYMLModel, err error)
InventoryModelFromYAMLBytes ...
func PrintRunningStepFooter ¶
func PrintRunningStepFooter(stepRunResult models.StepRunResultsModel, isLastStepInWorkflow bool)
PrintRunningStepFooter ..
func PrintRunningStepHeader ¶
func PrintRunningStepHeader(stepInfo stepmanModels.StepInfoModel, idx int)
PrintRunningStepHeader ...
func ReadBitriseConfig ¶
func ReadBitriseConfig(pth string) (models.BitriseDataModel, []string, error)
ReadBitriseConfig ...
func RemoveConfigRedundantFieldsAndFillStepOutputs ¶
func RemoveConfigRedundantFieldsAndFillStepOutputs(config *models.BitriseDataModel) error
RemoveConfigRedundantFieldsAndFillStepOutputs ...
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 ...