You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: resctl-bench/doc/lambda.md
+10-8
Original file line number
Diff line number
Diff line change
@@ -87,10 +87,8 @@ We still need to configure our S3 bucket to allow public read only access, so th
87
87
}
88
88
```
89
89
90
-
91
90
We also store the credential parameters required to file a github issue in AWS Systems Manager -> parameter store.
92
-
We use github app `iocost-issue-creater` to file a github issue, thus it's credentials information `App Id` and
93
-
`Private Key` are stored in parameter store.
91
+
Lambda uses github app [iocost-issue-creater](https://github.com/apps/iocost-issue-creater) to file a github issue, thus it's credentials information `App Id` and `Private Key` are stored in AWS parameter store.
94
92
```
95
93
{
96
94
/iocost-bot/appid : "xxxx"
@@ -100,18 +98,22 @@ We use github app `iocost-issue-creater` to file a github issue, thus it's crede
100
98
101
99
AWS lambda flow
102
100
===============
103
-
1. User generates the benchmark result on their device.
104
-
`$ resctl-bench -r "$RESULT_JSON" --logfile=$LOG_FILE run iocost-tun`
105
-
2. User uploads the result to aws lambda function url as:
106
-
`resctl-bench -r <RESULT_JSON> upload --upload-url <AWS lambda function URL>`
101
+
1. User generates the benchmark result on their device.
102
+
`$ resctl-bench -r "$RESULT_JSON" --logfile=$LOG_FILE run iocost-tune`
103
+
2. User uploads the result to aws lambda function url as:
104
+
`resctl-bench -r <RESULT_JSON> upload --upload-url <AWS lambda function URL>`
- Then create a issue in iocost-benchmark/iocost-benchmarks project using `iocost-issue-creater` github app.
110
+
- Then creates an issue in [iocost-benchmarks](https://github.com/iocost-benchmark/iocost-benchmarks) project using [iocost-issue-creater](https://github.com/apps/iocost-issue-creater) github app.
113
111
- Issue contain a link to benchmark result stored in s3 bucket.
Client uploads the benchmark result (above steps) -> AWS Lambda runs -> save result to s3 bucket -> Create github Issue with link of result stored in s3.
116
+
Thereafter it's job of [iocost-benchmarks project](https://github.com/iocost-benchmark/iocost-benchmarks) to import and merge the results with existing database and generate final hwdb file.
0 commit comments