File tree Expand file tree Collapse file tree 2 files changed +30
-0
lines changed Expand file tree Collapse file tree 2 files changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,34 @@ Incorporate Service Mesh Patterns into your GitHub workflows using Meshery's CLI
4
4
5
5
<div >  ; </div >
6
6
7
+ ## Sample pattern action configuration
8
+
9
+ ``` yaml
10
+ name : Mesheryctl Pattern Action
11
+ on :
12
+ push :
13
+ branches :
14
+ - ' master'
15
+ # if manually triggering, provide a provider token yourself
16
+ workflow_dispatch :
17
+ inputs :
18
+ provider_token :
19
+ description : " Meshery auth token"
20
+ required : true
21
+
22
+ jobs :
23
+ mesheryctl-pattern-action :
24
+ name : Mesheryctl Pattern Actions
25
+ runs-on : ubuntu-latest
26
+ steps :
27
+ - name : mesheryctl pattern action
28
+ uses : layer5io/mesheryctl-service-mesh-patterns-action@master
29
+ with :
30
+ provider_token : ${{ github.event.inputs.provider_token }}
31
+ platform : docker
32
+ url : https://raw.githubusercontent.com/service-mesh-patterns/service-mesh-patterns/master/samples/IstioFilterPattern.yaml
33
+ ` ` `
34
+
7
35
## Join the service mesh community!
8
36
9
37
<a name="contributing"></a><a name="community"></a>
Original file line number Diff line number Diff line change @@ -7,13 +7,15 @@ inputs:
7
7
service_mesh :
8
8
# used for provisioning appropriate meshery-adatper
9
9
description : " Service mesh to use. e.g: osm, istio etc"
10
+ default : istio
10
11
required : true
11
12
platform :
12
13
description : " Platform to deploy meshery on. Possible values: docker, kubernetes"
13
14
default : docker
14
15
url :
15
16
description : " A raw Github URL for the patterns to be deployed"
16
17
default : " https://raw.githubusercontent.com/service-mesh-patterns/service-mesh-patterns/master/samples/IstioFilterPattern.yaml"
18
+ required : true
17
19
runs :
18
20
using : " node12"
19
21
main : " main.js"
You can’t perform that action at this time.
0 commit comments