File tree Expand file tree Collapse file tree 2 files changed +68
-2
lines changed Expand file tree Collapse file tree 2 files changed +68
-2
lines changed Original file line number Diff line number Diff line change 1
- # layer5-repo-template
2
- This repository is used as the boilerplate for consistency across all Layer5 repos.
1
+ # Meshery SMP Action
2
+ This repository is used for storing a GitHub action for performing SMP tests using Meshery
3
+
4
+ ## Inputs
5
+ ``` yaml
6
+ # token to connect with the remote provider
7
+ provider_token :
8
+ description : " Provider token to use. NOTE: value of the 'token' key in auth.json"
9
+ required : true
10
+
11
+ # platform to deploy meshery
12
+ platform :
13
+ description : " Platform to deploy meshery on. Possible values: docker, kubernetes"
14
+ default : docker
15
+
16
+ # SUPPLY EITHER "profile_filename" or profile_name
17
+
18
+ # name of the file storing the performance profile (keep in .github)
19
+ profile_filename :
20
+ description : " Name of the file containing SMP profile"
21
+
22
+ # name of the prformance profile to use
23
+ profile_name :
24
+ description : " Name of the performance profile"
25
+ ` ` `
26
+
27
+ ## Sample configuration
28
+ ` ` ` yaml
29
+ name : Testing SMP action
30
+ on :
31
+ push :
32
+ branches :
33
+ ' perf'
34
+
35
+ jobs :
36
+ job1 :
37
+ name : Run Performance Test
38
+ runs-on : ubuntu-latest
39
+ steps :
40
+ - name : checkout
41
+ uses : actions/checkout@v2
42
+ with :
43
+ ref : ' perf'
44
+
45
+ - name : Deploy k8s
46
+
47
+ with :
48
+ minikube version : ' v1.21.0'
49
+ kubernetes version : ' v1.20.7'
50
+ driver : docker
51
+
52
+ - name : Performance test
53
+ uses : layer5io/meshery-smp-action@master
54
+ with :
55
+ provider_token : ${{ secrets.PROVIDER_TOKEN }}
56
+ platform : docker
57
+ profile_name : demo
58
+ ` ` `
3
59
4
60
<div> </div>
5
61
Original file line number Diff line number Diff line change @@ -3,13 +3,23 @@ description: "Validate SMP specification using Meshery"
3
3
author : " Layer5"
4
4
5
5
inputs :
6
+ # token to connect with the remote provider
6
7
provider_token :
7
8
description : " Provider token to use. NOTE: value of the 'token' key in auth.json"
9
+ required : true
10
+
11
+ # platform to deploy meshery
8
12
platform :
9
13
description : " Platform to deploy meshery on. Possible values: docker, kubernetes"
10
14
default : docker
15
+
16
+ # SUPPLY EITHER "profile_filename" or profile_name
17
+
18
+ # name of the file storing the performance profile (keep in .github)
11
19
profile_filename :
12
20
description : " Name of the file containing SMP profile"
21
+
22
+ # name of the prformance profile to use
13
23
profile_name :
14
24
description : " Name of the performance profile"
15
25
You can’t perform that action at this time.
0 commit comments