bitrise

package
v0.3.6-beta Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: BSD-2-Clause-Patent Imports: 15 Imported by: 0

Documentation

Overview

Package bitrise provides support for executing Bitrise Steps.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Environ

func Environ(src []string) []string

Environ function converts harness or drone environment variables to bitrise environment variables.

func Is

func Is(root string) bool

Is returns true if the root path is a Bitrise plugin repository.

func Lookup

func Lookup(name, version string) (repo string, commit string, ok bool)

Lookup returns the repository and commit associated with the named step and version.

func ParseLookup

func ParseLookup(s string) (repo string, commit string, ok bool)

ParseLookup parses the step string and returns the associated repository and commit.

Types

type Execer

type Execer struct {
	Source     string // plugin source code directory
	Workdir    string // pipeline working directory (aka workspace)
	Environ    []string
	Stdout     io.Writer
	Stderr     io.Writer
	OutputFile string
}

Execer executes a bitrise plugin.

func (*Execer) Exec

func (e *Execer) Exec(ctx context.Context) error

Exec executes a bitrise plugin.

Jump to

Keyboard shortcuts

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