Skip to content

Commit acc6cae

Browse files
committed
chore: regenerate workflows, bootstrap, README, and uv.lock for valkey
Run tox -e generate and tox -e generate-workflows to: - Add redis-valkey-base entry to instrumentation/README.md - Regenerate test.yml and core_contrib_test.yml with valkey jobs - Update lint.yml with valkey lint env - Refresh uv.lock
1 parent 43f3294 commit acc6cae

5 files changed

Lines changed: 164 additions & 43 deletions

File tree

.github/workflows/core_contrib_test.yml

Lines changed: 30 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2697,29 +2697,6 @@ jobs:
26972697
- name: Run tests
26982698
run: tox -e py310-test-instrumentation-redis -- -ra
26992699

2700-
py310-test-instrumentation-valkey:
2701-
name: instrumentation-valkey
2702-
runs-on: ubuntu-latest
2703-
timeout-minutes: 30
2704-
steps:
2705-
- name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }}
2706-
uses: actions/checkout@v4
2707-
with:
2708-
repository: open-telemetry/opentelemetry-python-contrib
2709-
ref: ${{ env.CONTRIB_REPO_SHA }}
2710-
2711-
- name: Set up Python 3.10
2712-
uses: actions/setup-python@v5
2713-
with:
2714-
python-version: "3.10"
2715-
architecture: "x64"
2716-
2717-
- name: Install tox
2718-
run: pip install tox-uv
2719-
2720-
- name: Run tests
2721-
run: tox -e py310-test-instrumentation-valkey -- -ra
2722-
27232700
py310-test-instrumentation-remoulade:
27242701
name: instrumentation-remoulade
27252702
runs-on: ubuntu-latest
@@ -3680,6 +3657,36 @@ jobs:
36803657
- name: Run tests
36813658
run: tox -e py310-test-processor-baggage -- -ra
36823659

3660+
py310-test-instrumentation-valkey:
3661+
name: instrumentation-valkey
3662+
runs-on: ubuntu-latest
3663+
timeout-minutes: 30
3664+
steps:
3665+
- name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }}
3666+
uses: actions/checkout@v4
3667+
with:
3668+
repository: open-telemetry/opentelemetry-python-contrib
3669+
ref: ${{ env.CONTRIB_REPO_SHA }}
3670+
3671+
- name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }}
3672+
uses: actions/checkout@v4
3673+
with:
3674+
repository: open-telemetry/opentelemetry-python
3675+
ref: ${{ env.CORE_REPO_SHA }}
3676+
path: opentelemetry-python
3677+
3678+
- name: Set up Python 3.10
3679+
uses: actions/setup-python@v5
3680+
with:
3681+
python-version: "3.10"
3682+
architecture: "x64"
3683+
3684+
- name: Install tox
3685+
run: pip install tox-uv
3686+
3687+
- name: Run tests
3688+
run: tox -e py310-test-instrumentation-valkey -- -ra
3689+
36833690
py310-test-opamp-client-latest:
36843691
name: opamp-client-latest
36853692
runs-on: ubuntu-latest

.github/workflows/lint.yml

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -954,24 +954,6 @@ jobs:
954954

955955
- name: Run tests
956956
run: tox -e lint-instrumentation-redis
957-
lint-instrumentation-valkey:
958-
name: instrumentation-valkey
959-
runs-on: ubuntu-latest
960-
timeout-minutes: 30
961-
steps:
962-
- name: Checkout repo @ SHA - ${{ github.sha }}
963-
uses: actions/checkout@v4
964-
965-
- name: Set up Python 3.13
966-
uses: actions/setup-python@v5
967-
with:
968-
python-version: "3.13"
969-
970-
- name: Install tox
971-
run: pip install tox-uv
972-
973-
- name: Run tests
974-
run: tox -e lint-instrumentation-valkey
975957

976958
lint-instrumentation-remoulade:
977959
name: instrumentation-remoulade
@@ -1353,6 +1335,25 @@ jobs:
13531335
- name: Run tests
13541336
run: tox -e lint-processor-baggage
13551337

1338+
lint-instrumentation-valkey:
1339+
name: instrumentation-valkey
1340+
runs-on: ubuntu-latest
1341+
timeout-minutes: 30
1342+
steps:
1343+
- name: Checkout repo @ SHA - ${{ github.sha }}
1344+
uses: actions/checkout@v4
1345+
1346+
- name: Set up Python 3.14
1347+
uses: actions/setup-python@v5
1348+
with:
1349+
python-version: "3.14"
1350+
1351+
- name: Install tox
1352+
run: pip install tox-uv
1353+
1354+
- name: Run tests
1355+
run: tox -e lint-instrumentation-valkey
1356+
13561357
lint-opamp-client:
13571358
name: opamp-client
13581359
runs-on: ubuntu-latest

.github/workflows/test.yml

Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12507,6 +12507,120 @@ jobs:
1250712507
- name: Run tests
1250812508
run: tox -e pypy3-test-processor-baggage -- -ra
1250912509

12510+
py310-test-instrumentation-valkey_ubuntu-latest:
12511+
name: instrumentation-valkey 3.10 Ubuntu
12512+
runs-on: ubuntu-latest
12513+
timeout-minutes: 30
12514+
steps:
12515+
- name: Checkout repo @ SHA - ${{ github.sha }}
12516+
uses: actions/checkout@v4
12517+
12518+
- name: Set up Python 3.10
12519+
uses: actions/setup-python@v5
12520+
with:
12521+
python-version: "3.10"
12522+
12523+
- name: Install tox
12524+
run: pip install tox-uv
12525+
12526+
- name: Run tests
12527+
run: tox -e py310-test-instrumentation-valkey -- -ra
12528+
12529+
py311-test-instrumentation-valkey_ubuntu-latest:
12530+
name: instrumentation-valkey 3.11 Ubuntu
12531+
runs-on: ubuntu-latest
12532+
timeout-minutes: 30
12533+
steps:
12534+
- name: Checkout repo @ SHA - ${{ github.sha }}
12535+
uses: actions/checkout@v4
12536+
12537+
- name: Set up Python 3.11
12538+
uses: actions/setup-python@v5
12539+
with:
12540+
python-version: "3.11"
12541+
12542+
- name: Install tox
12543+
run: pip install tox-uv
12544+
12545+
- name: Run tests
12546+
run: tox -e py311-test-instrumentation-valkey -- -ra
12547+
12548+
py312-test-instrumentation-valkey_ubuntu-latest:
12549+
name: instrumentation-valkey 3.12 Ubuntu
12550+
runs-on: ubuntu-latest
12551+
timeout-minutes: 30
12552+
steps:
12553+
- name: Checkout repo @ SHA - ${{ github.sha }}
12554+
uses: actions/checkout@v4
12555+
12556+
- name: Set up Python 3.12
12557+
uses: actions/setup-python@v5
12558+
with:
12559+
python-version: "3.12"
12560+
12561+
- name: Install tox
12562+
run: pip install tox-uv
12563+
12564+
- name: Run tests
12565+
run: tox -e py312-test-instrumentation-valkey -- -ra
12566+
12567+
py313-test-instrumentation-valkey_ubuntu-latest:
12568+
name: instrumentation-valkey 3.13 Ubuntu
12569+
runs-on: ubuntu-latest
12570+
timeout-minutes: 30
12571+
steps:
12572+
- name: Checkout repo @ SHA - ${{ github.sha }}
12573+
uses: actions/checkout@v4
12574+
12575+
- name: Set up Python 3.13
12576+
uses: actions/setup-python@v5
12577+
with:
12578+
python-version: "3.13"
12579+
12580+
- name: Install tox
12581+
run: pip install tox-uv
12582+
12583+
- name: Run tests
12584+
run: tox -e py313-test-instrumentation-valkey -- -ra
12585+
12586+
py314-test-instrumentation-valkey_ubuntu-latest:
12587+
name: instrumentation-valkey 3.14 Ubuntu
12588+
runs-on: ubuntu-latest
12589+
timeout-minutes: 30
12590+
steps:
12591+
- name: Checkout repo @ SHA - ${{ github.sha }}
12592+
uses: actions/checkout@v4
12593+
12594+
- name: Set up Python 3.14
12595+
uses: actions/setup-python@v5
12596+
with:
12597+
python-version: "3.14"
12598+
12599+
- name: Install tox
12600+
run: pip install tox-uv
12601+
12602+
- name: Run tests
12603+
run: tox -e py314-test-instrumentation-valkey -- -ra
12604+
12605+
pypy3-test-instrumentation-valkey_ubuntu-latest:
12606+
name: instrumentation-valkey pypy-3.10 Ubuntu
12607+
runs-on: ubuntu-latest
12608+
timeout-minutes: 30
12609+
steps:
12610+
- name: Checkout repo @ SHA - ${{ github.sha }}
12611+
uses: actions/checkout@v4
12612+
12613+
- name: Set up Python pypy-3.10
12614+
uses: actions/setup-python@v5
12615+
with:
12616+
python-version: "pypy-3.10"
12617+
12618+
- name: Install tox
12619+
run: pip install tox-uv
12620+
12621+
- name: Run tests
12622+
run: tox -e pypy3-test-instrumentation-valkey -- -ra
12623+
1251012624
py310-test-opamp-client-latest_ubuntu-latest:
1251112625
name: opamp-client-latest 3.10 Ubuntu
1251212626
runs-on: ubuntu-latest

instrumentation/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
| [opentelemetry-instrumentation-pymysql](./opentelemetry-instrumentation-pymysql) | PyMySQL < 2 | No | migration
4040
| [opentelemetry-instrumentation-pyramid](./opentelemetry-instrumentation-pyramid) | pyramid >= 1.7 | Yes | migration
4141
| [opentelemetry-instrumentation-redis](./opentelemetry-instrumentation-redis) | redis >= 2.6 | No | migration
42+
| [opentelemetry-instrumentation-redis-valkey-base](./opentelemetry-instrumentation-redis-valkey-base) | _redis_valkey | No | development
4243
| [opentelemetry-instrumentation-remoulade](./opentelemetry-instrumentation-remoulade) | remoulade >= 0.50 | No | development
4344
| [opentelemetry-instrumentation-requests](./opentelemetry-instrumentation-requests) | requests ~= 2.0 | Yes | migration
4445
| [opentelemetry-instrumentation-sqlalchemy](./opentelemetry-instrumentation-sqlalchemy) | sqlalchemy >= 1.0.0, < 2.1.0 | Yes | migration

uv.lock

Lines changed: 0 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)