Repository navigation
78 lines (71 loc) · 2.5 KB
/
Copy pathperformance_github.yml
File metadata and controls
78 lines (71 loc) · 2.5 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
name: 'Performance GitHub Job'
on:
push:
paths:
- .github/workflows/performance_github.yml
branches:
- main
env:
OTEL_EXPORTER_OTLP_ENDPOINT: '${{ secrets.OTEL_EXPORTER_OTLP_ENDPOINT }}'
OTEL_EXPORTER_OTLP_HEADERS: '${{ secrets.OTEL_EXPORTER_OTLP_HEADERS }}'
jobs:
warmup:
runs-on: ubuntu-latest
permissions:
contents: read
actions: read
steps:
- uses: plengauer/opentelemetry-github/actions/instrument/job@af82b8c3e169f06062ac75ffa55f40e221299d36 # v5.67.0
with:
secrets_to_redact: '["${{ github.token }}"]'
- run: echo hello world
baseline:
needs: [warmup]
runs-on: ubuntu-latest
permissions:
contents: read
actions: read
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- run: echo hello world | cat
default:
needs: [warmup]
runs-on: ubuntu-latest
permissions:
contents: read
actions: read
steps:
- uses: plengauer/opentelemetry-github/actions/instrument/job@af82b8c3e169f06062ac75ffa55f40e221299d36 # v5.67.0
with:
secrets_to_redact: '["${{ github.token }}"]'
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- run: echo hello world | cat
performance:
needs: [warmup]
runs-on: ubuntu-latest
strategy:
matrix:
cache: ['false', 'true']
observe-pipes: ['FALSE', 'TRUE']
mute-internals: ['FALSE', 'TRUE']
mute-builtins: ['FALSE', 'TRUE']
inject-deep: ['FALSE', 'TRUE']
observe-signals: ['FALSE', 'TRUE']
observe-subprocesses: ['FALSE', 'TRUE']
permissions:
contents: read
actions: read
steps:
- uses: plengauer/opentelemetry-github/actions/instrument/job@af82b8c3e169f06062ac75ffa55f40e221299d36 # v5.67.0
with:
secrets_to_redact: '["${{ github.token }}"]'
cache: '${{ matrix.cache }}'
env:
OTEL_SHELL_CONFIG_OBSERVE_PIPES: '${{ matrix.observe-pipes }}'
OTEL_SHELL_CONFIG_MUTE_INTERNALS: '${{ matrix.mute-internals }}'
OTEL_SHELL_CONFIG_MUTE_BUILTINS: '${{ matrix.mute-builtins }}'
OTEL_SHELL_CONFIG_INJECT_DEEP: '${{ matrix.inject-deep }}'
OTEL_SHELL_CONFIG_OBSERVE_SIGNALS: '${{ matrix.observe-signals }}'
OTEL_SHELL_CONFIG_OBSERVE_SUBPROCESSES: '${{ matrix.observe-subprocesses }}'
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- run: echo hello world | cat