Skip to content

Commit bf3c958

Browse files
authored
Create process_perf_new.yml
1 parent b549eda commit bf3c958

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed
+54
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: process perf results no docker
2+
on:
3+
workflow_dispatch:
4+
inputs:
5+
commit_id:
6+
description: 'Commit to read results from'
7+
required: true
8+
default: '5b13c202bbf6a196104ebb440678dd22037b6746'
9+
#push:
10+
# branches:
11+
# - test-perf
12+
permissions:
13+
id-token: write
14+
pages: write
15+
jobs:
16+
build:
17+
runs-on: ubuntu-latest
18+
steps:
19+
20+
- name: Login to GHCR
21+
uses: meta-introspector/login-action@v1
22+
with:
23+
registry: ghcr.io
24+
username: ${{ github.actor }}
25+
password: ${{ secrets.GITHUB_TOKEN }}
26+
- name: Download a Build Artifact
27+
uses: meta-introspector/action-download-artifact@v6
28+
with:
29+
workflow_search: true
30+
commit: ${{ inputs.commit_id }}
31+
skip_unpack: true
32+
path: data
33+
- name: list
34+
run: |
35+
find data
36+
for x in data/*.zip;
37+
do unzip $x;
38+
done
39+
unzip data/results.tgz.zip
40+
tar -xzf ./results.tgz
41+
pushd app/perf-reporting/output/results/
42+
tree -H . -o index.html
43+
# cp index.txt app/perf-reporting/output/results/index.html
44+
45+
- name: Setup Pages
46+
uses: meta-introspector/configure-pages@v5
47+
- name: Upload Artifact
48+
uses: meta-introspector/upload-pages-artifact@v5
49+
with:
50+
path: 'app/perf-reporting/output/results'
51+
- name: Deploy to GitHub Pages
52+
id: deployment
53+
uses: meta-introspector/deploy-pages@v4.1
54+

0 commit comments

Comments
 (0)