Skip to content

Commit b3314de

Browse files
authored
Merge pull request codefresh-io#12 from codefresh-io/cli
codefresh-cli
2 parents 8fca18f + 7c1e198 commit b3314de

File tree

5 files changed

+51
-5
lines changed

5 files changed

+51
-5
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.idea/

CATALOG.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22

33
## Stable Plugins
44

5-
| Plugin | Description | Tags |
6-
| -------------------------------------------- | -------------------------- | --------------------------------- |
7-
| [Deploy Helm](stable/helm/README.md) | Deploy a Helm chart | `kubernetes` `helm` |
8-
| [Slack](stable/slack/README.md) | Send message to slack | `slack` `notify` |
9-
| [Deploy to ECS](stable/ecs-deploy/README.md) | Deploy docker image to ECS | `ecs` `deploy` `containers` `aws` |
5+
| Plugin | Description | Tags |
6+
| ----------------------------------------------- | ------------------------------ | --------------------------------- |
7+
| [Codefresh Cli](stable/codefresh-cli/README.md) | Operate on Codefresh resources | `cli` |
8+
| [Deploy Helm](stable/helm/README.md) | Deploy a Helm chart | `kubernetes` `helm` |
9+
| [Slack](stable/slack/README.md) | Send message to slack | `slack` `notify` |
10+
| [Deploy to ECS](stable/ecs-deploy/README.md) | Deploy docker image to ECS | `ecs` `deploy` `containers` `aws` |
1011

1112
## Incubator Plugins
1213

stable/codefresh-cli/NOTES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
## Notes

stable/codefresh-cli/README.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Codefresh Cli Plugin
2+
3+
Use Codefresh Cli plugin to perform operations on your Codefresh resources
4+
5+
## Usage
6+
7+
8+
```yaml
9+
---
10+
version: '1.0'
11+
12+
steps:
13+
14+
...
15+
16+
annotate_image:
17+
image: codefresh/cli
18+
description: annotates image with metadata
19+
command: annotate image IMAGE_ID -a key1=value1 -a key2=value2
20+
21+
run_pipeline:
22+
image: codefresh/cli
23+
description: run a pipeline
24+
command: run pipeline PIPELINE_NAME REPO_OWNER REPO_NAME -b master
25+
...
26+
27+
```
28+
29+
## Environment Variables
30+
31+
- `CFCONFIG` - Path for cfconfig file path (default: ${HOME}/.cfconfig

stable/codefresh-cli/plugin.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
image: codefresh/cli
2+
version: 0.1.0
3+
description: Operate on Codefresh resources
4+
keywords:
5+
- cli
6+
home: https://github.com/codefresh-io/codefresh
7+
sources:
8+
- https://github.com/codefresh-io/codefresh
9+
icon: http://cdn.osxdaily.com/wp-content/uploads/2014/08/terminal-icon-osx.png
10+
envs:
11+
- name: CFCONFIG
12+
description: Path for cfconfig file path

0 commit comments

Comments
 (0)