sd-step

command module
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2022 License: BSD-3-Clause Imports: 14 Imported by: 0

README

sd-step

Build Status Latest Release Go Report Card

Wrapper command of habitat for Screwdriver

Usage

$ go get github.com/screwdriver-cd/sd-step
$ ./sd-step --help
NAME:
   sd-step - wrapper command of habitat for Screwdriver

USAGE:
   sd-step command arguments [options]

VERSION:
   0.0.0

COMMANDS:
     exec     Install and exec habitat package with pkg_name and command...
     help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --pkg-version value  Package version which also accepts semver expression
   --hab-channel value  Install from the specified release channel (default: "stable")
   --help, -h           show help
   --version, -v        print the version

COPYRIGHT:
   (c) 2017 Yahoo Inc.
$ ./sd-step exec core/node "node -v"
v8.9.0
$ ./sd-step exec --pkg-version "~6.11.0" core/node "node -v"
v6.11.5
$ ./sd-step exec --pkg-version "^6.0.0" core/node "node -v"
v6.11.5
$ ./sd-step exec --pkg-version "4.2.6" core/node "node -v"
v4.2.6
$ ./sd-step exec --pkg-version "~6.9.0" --hab-channel "unstable" core/node "node -v"
v6.9.5

Testing

$ go get github.com/screwdriver-cd/sd-step
$ go test -cover github.com/screwdriver-cd/sd-step/...

License

Code licensed under the BSD 3-Clause license. See LICENSE file for terms.

Documentation

Overview

Sd-step is a wrapper command of habitat for Screwdriver.

Directories

Path Synopsis
Package hab provides utility functions for working with Habitat https://www.habitat.sh.
Package hab provides utility functions for working with Habitat https://www.habitat.sh.

Jump to

Keyboard shortcuts

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