Skip to content

Commit e0547cb

Browse files
committed
avoid use YAML file path
1 parent 5a39c5f commit e0547cb

File tree

2 files changed

+22
-11
lines changed

2 files changed

+22
-11
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,23 @@
33
# github-action-workflow
44
GitHub Actions compatible workflows
55

6+
## Feature
7+
* Convert GitHub Workflows to Argo Workflows
8+
* Argo CD Config Management Plugin (CMP)
9+
610
## Usage
11+
You can use it as a CLI:
712

813
```shell
914
gaw convert .github/workflows/pull-request.yaml
1015
```
1116

17+
you can install it via [hd](https://github.com/LinuxSuRen/http-downloader):
18+
19+
```shell
20+
hd i gaw
21+
```
22+
1223
## As CMP
1324
This repository could be [Config Management Plugin](https://argo-cd.readthedocs.io/en/stable/user-guide/config-management-plugins/#option-2-configure-plugin-via-sidecar) as well.
1425

plugin.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
apiVersion: argoproj.io/v1alpha1
2-
kind: ConfigManagementPlugin
3-
metadata:
4-
name: gaw-plugin
5-
spec:
6-
version: v1.0
7-
generate:
8-
command: [gaw, convert, '.github/workflows/pull-request.yaml']
9-
discover:
10-
fileName: "./.github/workflows/*.yaml"
11-
lockRepo: true
1+
apiVersion: argoproj.io/v1alpha1
2+
kind: ConfigManagementPlugin
3+
metadata:
4+
name: gaw-plugin
5+
spec:
6+
version: v1.0
7+
generate:
8+
command: [gaw, convert, '*.yaml']
9+
discover:
10+
fileName: "*.yaml"
11+
lockRepo: true

0 commit comments

Comments
 (0)