-
Notifications
You must be signed in to change notification settings - Fork 0
62 lines (52 loc) · 1.61 KB
/
Copy pathops.yml
File metadata and controls
62 lines (52 loc) · 1.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Ops
on:
workflow_dispatch:
inputs:
operation:
description: Operation to run
required: true
type: choice
options:
- perf-baseline
git_ref:
description: Git ref to test
required: false
default: main
type: string
permissions:
contents: read
defaults:
run:
shell: bash
jobs:
backend-perf-baseline:
name: Backend Perf Baseline
if: inputs.operation == 'perf-baseline'
runs-on: ubuntu-latest
timeout-minutes: 45
steps:
- name: Checkout trusted workflow ref
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- name: Set up runtime
uses: ./.github/actions/setup-runtime
- name: Checkout requested repository ref
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
with:
ref: ${{ inputs.git_ref }}
path: repo
persist-credentials: false
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd
- name: Run CI-stack backend perf baseline
working-directory: repo
run: just docker-ci-perf-baseline
- name: Archive perf artifacts
if: always()
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a
with:
name: ops-backend-perf-baseline
path: |
repo/backend/reports/performance/latest-k6-summary.json
repo/backend/reports/performance/*.md
retention-days: 14