Skip to content
This repository has been archived by the owner on Nov 10, 2019. It is now read-only.

Commit

Permalink
Add codefresh cli plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Itai Gendler authored and Itai Gendler committed Nov 27, 2017
1 parent 8fca18f commit 9afd45d
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -0,0 +1 @@
.idea/
1 change: 1 addition & 0 deletions stable/codefresh-cli/NOTES.md
@@ -0,0 +1 @@
## Notes
31 changes: 31 additions & 0 deletions stable/codefresh-cli/README.md
@@ -0,0 +1,31 @@
# Codefresh Cli Plugin

Use Codefresh Cli plugin to perform operations on your Codefresh resources

## Usage


```yaml
---
version: '1.0'

steps:

...

annotate_image:
image: codefresh/cli
description: annotates image with metadata
command: annotate image IMAGE_ID -a key1=value1 -a key2=value2

run_pipeline:
image: codefresh/cli
description: run a pipeline
command: run pipeline PIPELINE_NAME REPO_OWNER REPO_NAME -b master
...

```

## Environment Variables

- `CFCONFIG` - Path for cfconfig file path (default: ${HOME}/.cfconfig
12 changes: 12 additions & 0 deletions stable/codefresh-cli/plugin.yaml
@@ -0,0 +1,12 @@
image: codefresh/cli
version: 0.1.0
description: Operate on Codefresh resources
keywords:
- cli
home: https://github.com/codefresh-io/codefresh
sources:
- https://github.com/codefresh-io/codefresh
icon: http://cdn.osxdaily.com/wp-content/uploads/2014/08/terminal-icon-osx.png
envs:
- name: CFCONFIG
description: Path for cfconfig file path

0 comments on commit 9afd45d

Please sign in to comment.