Skip to content

Commit 69ca5cf

Browse files
authored
Merge branch 'main' into add_redis_client_only_instrumentation
2 parents 20b9bc8 + afc0d55 commit 69ca5cf

File tree

57 files changed

+3615
-132
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+3615
-132
lines changed

.github/workflows/core_contrib_test_0.yml

+96
Large diffs are not rendered by default.

.github/workflows/generate_workflows_lib/src/generate_workflows_lib/core_contrib_test.yml.j2

+2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ on:
1212
CONTRIB_REPO_SHA:
1313
required: true
1414
type: string
15+
1516
env:
1617
CORE_REPO_SHA: ${% raw %}{{ inputs.CORE_REPO_SHA }}{% endraw %}
1718
CONTRIB_REPO_SHA: ${% raw %}{{ inputs.CONTRIB_REPO_SHA }}{% endraw %}
@@ -23,6 +24,7 @@ jobs:
2324
{{ job_data.tox_env }}:
2425
name: {{ job_data.ui_name }}
2526
runs-on: ubuntu-latest
27+
timeout-minutes: 30
2628
steps:
2729
- name: Checkout contrib repo @ SHA - ${% raw %}{{ env.CONTRIB_REPO_SHA }}{% endraw %}
2830
uses: actions/checkout@v4

.github/workflows/generate_workflows_lib/src/generate_workflows_lib/lint.yml.j2

+14-1
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,20 @@ on:
99
- 'release/*'
1010
pull_request:
1111

12+
concurrency:
13+
group: ${% raw %}{{ github.workflow }}-${{ github.head_ref || github.run_id }}{% endraw %}
14+
cancel-in-progress: true
15+
1216
env:
13-
CORE_REPO_SHA: main
17+
# Set the SHA to the branch name if the PR has a label 'prepare-release' or 'backport' otherwise, set it to 'main'
18+
# For PRs you can change the inner fallback ('main')
19+
# For pushes you change the outer fallback ('main')
20+
# The logic below is used during releases and depends on having an equivalent branch name in the core repo.
21+
CORE_REPO_SHA: {% raw %}${{ github.event_name == 'pull_request' && (
22+
contains(github.event.pull_request.labels.*.name, 'prepare-release') && github.event.pull_request.head.ref ||
23+
contains(github.event.pull_request.labels.*.name, 'backport') && github.event.pull_request.base.ref ||
24+
'main'
25+
) || 'main' }}{% endraw %}
1426
CONTRIB_REPO_SHA: main
1527
PIP_EXISTS_ACTION: w
1628

@@ -20,6 +32,7 @@ jobs:
2032
{{ job_data.name }}:
2133
name: {{ job_data.ui_name }}
2234
runs-on: ubuntu-latest
35+
timeout-minutes: 30
2336
steps:
2437
- name: Checkout repo @ SHA - ${% raw %}{{ github.sha }}{% endraw %}
2538
uses: actions/checkout@v4

.github/workflows/generate_workflows_lib/src/generate_workflows_lib/misc.yml.j2

+14-1
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,20 @@ on:
99
- 'release/*'
1010
pull_request:
1111

12+
concurrency:
13+
group: ${% raw %}{{ github.workflow }}-${{ github.head_ref || github.run_id }}{% endraw %}
14+
cancel-in-progress: true
15+
1216
env:
13-
CORE_REPO_SHA: main
17+
# Set the SHA to the branch name if the PR has a label 'prepare-release' or 'backport' otherwise, set it to 'main'
18+
# For PRs you can change the inner fallback ('main')
19+
# For pushes you change the outer fallback ('main')
20+
# The logic below is used during releases and depends on having an equivalent branch name in the core repo.
21+
CORE_REPO_SHA: {% raw %}${{ github.event_name == 'pull_request' && (
22+
contains(github.event.pull_request.labels.*.name, 'prepare-release') && github.event.pull_request.head.ref ||
23+
contains(github.event.pull_request.labels.*.name, 'backport') && github.event.pull_request.base.ref ||
24+
'main'
25+
) || 'main' }}{% endraw %}
1426
CONTRIB_REPO_SHA: main
1527
PIP_EXISTS_ACTION: w
1628

@@ -20,6 +32,7 @@ jobs:
2032
{{ job_data }}:
2133
name: {{ job_data }}
2234
runs-on: ubuntu-latest
35+
timeout-minutes: 30
2336
{%- if job_data == "generate-workflows" %}
2437
if: |
2538
!contains(github.event.pull_request.labels.*.name, 'Skip generate-workflows')

.github/workflows/generate_workflows_lib/src/generate_workflows_lib/test.yml.j2

+14-1
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,20 @@ on:
99
- 'release/*'
1010
pull_request:
1111

12+
concurrency:
13+
group: ${% raw %}{{ github.workflow }}-${{ github.head_ref || github.run_id }}{% endraw %}
14+
cancel-in-progress: true
15+
1216
env:
13-
CORE_REPO_SHA: main
17+
# Set the SHA to the branch name if the PR has a label 'prepare-release' or 'backport' otherwise, set it to 'main'
18+
# For PRs you can change the inner fallback ('main')
19+
# For pushes you change the outer fallback ('main')
20+
# The logic below is used during releases and depends on having an equivalent branch name in the core repo.
21+
CORE_REPO_SHA: {% raw %}${{ github.event_name == 'pull_request' && (
22+
contains(github.event.pull_request.labels.*.name, 'prepare-release') && github.event.pull_request.head.ref ||
23+
contains(github.event.pull_request.labels.*.name, 'backport') && github.event.pull_request.base.ref ||
24+
'main'
25+
) || 'main' }}{% endraw %}
1426
CONTRIB_REPO_SHA: main
1527
PIP_EXISTS_ACTION: w
1628

@@ -20,6 +32,7 @@ jobs:
2032
{{ job_data.name }}:
2133
name: {{ job_data.ui_name }}
2234
runs-on: {{ job_data.os }}
35+
timeout-minutes: 30
2336
steps:
2437
- name: Checkout repo @ SHA - ${% raw %}{{ github.sha }}{% endraw %}
2538
uses: actions/checkout@v4

0 commit comments

Comments
 (0)