utils

package
v0.0.0-...-69328ad Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2015 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// BitriseVerifiedStepLibGitURI ...
	BitriseVerifiedStepLibGitURI = "https://github.com/bitrise-io/bitrise-steplib.git"
	// CertificateStepID ...
	CertificateStepID = "certificate-and-profile-installer"
)

Variables

This section is empty.

Functions

func CertificateStep

func CertificateStep() ([]bitriseModels.StepListItemModel, error)

CertificateStep ...

Cerificate step separated in new StepLib so need to insert befor new Xcode steps

func ConvertStep

func ConvertStep(diffStep stepmanModels.StepModel, newStepID string, inputConversionMap map[string]string) (stepmanModels.StepModel, string, error)

ConvertStep ...

Converted step should: * keep original Title * keep original IsAlwaysRun

newStepID: the id of the new step in new StepLib diffStep: readed from workflow to convert

func ConvertStepAndCreateStepListItem

func ConvertStepAndCreateStepListItem(diffStep stepmanModels.StepModel, newStepID string, inputConversionMap map[string]string) ([]bitriseModels.StepListItemModel, error)

ConvertStepAndCreateStepListItem ...

func GetInputByKey

GetInputByKey ...

func GetStepFromNewSteplib

func GetStepFromNewSteplib(stepID, stepLibGitURI string) (stepmanModels.StepModel, string, error)

GetStepFromNewSteplib ...

func ReadOldWorkflowModel

func ReadOldWorkflowModel(pth string) (oldModels.WorkflowModel, error)

ReadOldWorkflowModel ...

func ReadSpecStep

func ReadSpecStep(pth string) (stepmanModels.StepModel, error)

ReadSpecStep ...

func WorkflowModelFromJSONBytes

func WorkflowModelFromJSONBytes(bytes []byte) (workflow oldModels.WorkflowModel, err error)

WorkflowModelFromJSONBytes ...

func WorkflowModelFromYAMLBytes

func WorkflowModelFromYAMLBytes(bytes []byte) (workflow oldModels.WorkflowModel, err error)

WorkflowModelFromYAMLBytes ...

func WriteNewWorkflowModel

func WriteNewWorkflowModel(pth string, newWorkflow bitriseModels.BitriseDataModel) error

WriteNewWorkflowModel ...

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL