Skip to content

Commit

Permalink
Merge pull request #119 from kanisterio/sync
Browse files Browse the repository at this point in the history
Fix kando static build during release
  • Loading branch information
tdmanv authored Aug 17, 2018
2 parents 3292a25 + a94ae06 commit 2d25431
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ builds:
binary: kanctl
ldflags:
- -s -w -X github.com/kanisterio/kanister/pkg/version.VERSION={{.Version}} -X github.com/kanisterio/kanister/pkg/version.GIT_COMMIT={{.Commit}} -X github.com/kanisterio/kanister/pkg/version.BUILD_DATE={{.Date}}
- ./usemsan=-msan
env:
- CGO_ENABLED=0
- GO_EXTLINK_ENABLED=0
Expand All @@ -19,7 +18,9 @@ builds:
binary: kando
ldflags:
- -s -w -X github.com/kanisterio/kanister/pkg/version.VERSION={{.Version}} -X github.com/kanisterio/kanister/pkg/version.GIT_COMMIT={{.Commit}} -X github.com/kanisterio/kanister/pkg/version.BUILD_DATE={{.Date}}
- ./usemsan=-msan
env:
- CGO_ENABLED=0
- GO_EXTLINK_ENABLED=0
goos:
- windows
- darwin
Expand Down
21 changes: 20 additions & 1 deletion docs/tooling.rst
Original file line number Diff line number Diff line change
Expand Up @@ -295,12 +295,14 @@ object store like AWS S3. We've found it can be cumbersome to pass Profile
configuration to tools like the AWS command line from inside Blueprints.
`kando` is a tool to simplify object store interactions from within blueprints.
It has two commands:
It has three commands:
* `location push`
* `location pull`
* `location delete`
The usage for these commands can be displayed using the `--help` flag:
.. code-block:: bash
Expand Down Expand Up @@ -333,12 +335,29 @@ The usage for these commands can be displayed using the `--help` flag:
-s, --path string Specify a path suffix (optional)
-p, --profile string Pass a Profile as a JSON string (required)
.. code-block:: bash
$ kando location delete --help
Delete artifacts from s3-compliant object storage
Usage:
kando location delete [flags]
Flags:
-h, --help help for delete
Global Flags:
-s, --path string Specify a path suffix (optional)
-p, --profile string Pass a Profile as a JSON string (required)
The following snippet is an example of using kando from inside a Blueprint.
.. code-block:: console
kando location push --profile '{{ .Profile }}' --path '{{ .ArtifactsOut }}' -
kando location delete --profile '{{ .Profile }}' --path '{{ .ArtifactsOut }}'
Docker Image
============
Expand Down

0 comments on commit 2d25431

Please sign in to comment.