Skip to content

Commit 8bb6405

Browse files
authored
Merge branch 'main' into 4330
2 parents ca5b30f + 2c758c7 commit 8bb6405

219 files changed

Lines changed: 5622 additions & 4086 deletions

File tree

Some content is hidden

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

.github/workflows/core_contrib_test_0.yml

Lines changed: 369 additions & 39 deletions
Large diffs are not rendered by default.
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
"""
2+
This script builds a text file with the list of required checks based on
3+
the tox environments. Similarly to the system we are using to build the
4+
github workflows.
5+
The output is in the format than can be cut-and-pasted into the python-contrib
6+
terraform configuration in the admin repository.
7+
"""
8+
9+
from pathlib import Path
10+
11+
from generate_workflows_lib import (
12+
get_lint_job_datas,
13+
get_misc_job_datas,
14+
get_test_job_datas,
15+
get_tox_envs,
16+
)
17+
18+
tox_ini_path = Path(__file__).parent.parent.parent.joinpath("tox.ini")
19+
20+
21+
def get_gh_contexts_from_jobs(job_datas):
22+
def get_job_name(job):
23+
if isinstance(job, str):
24+
return job
25+
return job["ui_name"]
26+
27+
return [
28+
f""" {{ context = "{get_job_name(job)}" }},\n"""
29+
for job in job_datas
30+
]
31+
32+
33+
jobs = sorted(
34+
get_gh_contexts_from_jobs(get_lint_job_datas(get_tox_envs(tox_ini_path)))
35+
+ get_gh_contexts_from_jobs(
36+
get_test_job_datas(get_tox_envs(tox_ini_path), ["ubuntu-latest"])
37+
)
38+
+ get_gh_contexts_from_jobs(get_misc_job_datas(get_tox_envs(tox_ini_path)))
39+
)
40+
with open("opentelemetry-admin-jobs.txt", "w") as f:
41+
for job in jobs:
42+
f.write(job)

.github/workflows/lint_0.yml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -393,25 +393,6 @@ jobs:
393393
- name: Run tests
394394
run: tox -e lint-instrumentation-dbapi
395395

396-
lint-instrumentation-boto:
397-
name: instrumentation-boto
398-
runs-on: ubuntu-latest
399-
timeout-minutes: 30
400-
steps:
401-
- name: Checkout repo @ SHA - ${{ github.sha }}
402-
uses: actions/checkout@v4
403-
404-
- name: Set up Python 3.14
405-
uses: actions/setup-python@v5
406-
with:
407-
python-version: "3.14"
408-
409-
- name: Install tox
410-
run: pip install tox-uv
411-
412-
- name: Run tests
413-
run: tox -e lint-instrumentation-boto
414-
415396
lint-instrumentation-asyncclick:
416397
name: instrumentation-asyncclick
417398
runs-on: ubuntu-latest

.github/workflows/stale.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,5 @@ jobs:
3333
This PR has been closed due to inactivity. Please reopen if you would
3434
like to continue working on it.
3535
exempt-pr-labels: "hold,WIP,blocked-by-spec,do not merge"
36+
# TODO: Revert back to default of 30 after we have cleared the backlog of stale PRs.
37+
operations-per-run: 500

0 commit comments

Comments
 (0)