File tree Expand file tree Collapse file tree 3 files changed +12
-10
lines changed Expand file tree Collapse file tree 3 files changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -14,13 +14,15 @@ jobs:
14
14
run : cargo test
15
15
16
16
- name : CI Metrics
17
+ # To be more stable you can use a tag e.g.
18
+ # https://raw.githubusercontent.com/ci-metrics/script/v0.1.0/run.py
17
19
run : |
18
- wget https://raw.githubusercontent.com/JonathanWoollett-Light/cimetrics- script/v0.1.0 /run.py
20
+ wget https://raw.githubusercontent.com/ci-metrics/ script/master /run.py
19
21
python3 ./run.py
20
22
env :
21
23
# Variables to interact with CI Metrics.
22
24
PUBLIC_KEY : " 6546b543a35b7d5af8c93a7b"
23
- PRIVATE_KEY : ${{ secrets.MetricsPrivateKey }}
25
+ PRIVATE_KEY : " 206925525691777734527727329171694843736 "
24
26
# Variables to upload
25
27
HEAD : ${{ github.event.pull_request.head.sha }}
26
28
DATA_FILE : " ./metrics"
Original file line number Diff line number Diff line change @@ -16,13 +16,15 @@ jobs:
16
16
run : cargo test
17
17
18
18
- name : CI Metrics
19
+ # To be more stable you can use a tag e.g.
20
+ # https://raw.githubusercontent.com/ci-metrics/script/v0.1.0/run.py
19
21
run : |
20
- wget https://raw.githubusercontent.com/JonathanWoollett-Light/cimetrics- script/v0.1.0 /run.py
22
+ wget https://raw.githubusercontent.com/ci-metrics/ script/master /run.py
21
23
python3 ./run.py
22
24
env :
23
25
# Variables to interact with CI Metrics.
24
26
PUBLIC_KEY : " 6546b543a35b7d5af8c93a7b"
25
- PRIVATE_KEY : ${{ secrets.MetricsPrivateKey }}
27
+ PRIVATE_KEY : " 206925525691777734527727329171694843736 "
26
28
# Variables to upload
27
29
HEAD : ${{ github.event.after }}
28
30
DATA_FILE : " ./metrics"
Original file line number Diff line number Diff line change 1
- # cimetrics-hello-world
1
+ # CI Metrics example
2
2
3
- This is a volatile experiment, you shouldn't use this, instead use https://github.com/bencherdev/bencher .
3
+ A repo presenting an example project using CI Metrics .
4
4
5
- A repo presenting an example system for tracking generic metrics in CI like [ codecov] ( https://about.codecov.io ) .
5
+ CI Metrics is a system to track metrics like how [ codecov] ( https://about.codecov.io ) track code coverage .
6
6
7
7
![ Example PR comment] ( ./pr_comment_example.webp )
8
8
@@ -16,11 +16,9 @@ This is from http://3.10.39.149:3000/display/6546b543a35b7d5af8c93a7b/2069255256
16
16
17
17
1 . Create account
18
18
Run ` curl -X POST http://3.10.39.149:3000/users `
19
- Noted down the ` public_key ` and ` private_key ` .
19
+ Note down the ` public_key ` and ` private_key ` .
20
20
There is no recovery mechanism, don't loose these.
21
21
2 . Copy [ pull_request.yml] ( ./.github/workflows/pull_request.yml ) and [ push.yml] ( ./.github/workflows/push.yml ) to your repo.
22
- Updating ` PUBLIC_KEY ` to be your public key.
23
- 3 . Add a repository secret named ` METRICSPRIVATEKEY ` with value of your private key.
24
22
25
23
## Visualize metrics
26
24
You can’t perform that action at this time.
0 commit comments