Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for drgn 0.0.30 #138

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/litevm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
- name: Build and install drgn with CTF support
run: |
cd ..
git clone https://github.com/brenns10/drgn -b ctf_0.0.29
git clone https://github.com/brenns10/drgn -b ctf_0.0.30
cd drgn
../drgn-tools/venv/bin/python setup.py install
- name: Run tests
Expand Down
2 changes: 1 addition & 1 deletion buildrpm/python-drgn-tools.spec
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ a running kernel image (via /proc/kcore).}
# The drgn dependency can be fulfilled by drgn with, or without, CTF support.
# However, drgn-tools is tied to specific drgn releases.
%global drgn_min 0.0.25
%global drgn_max 0.0.30
%global drgn_max 0.0.31

%package -n drgn-tools
Summary: %{summary}
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def get_version():
description="drgn helper script repository",
long_description=long_description,
install_requires=[
"drgn>=0.0.25,<0.0.30",
"drgn>=0.0.25,<0.0.31",
],
url="https://github.com/oracle-samples/drgn-tools",
author="Oracle Linux Sustaining Engineering Team",
Expand Down
16 changes: 8 additions & 8 deletions testing/heavyvm/images.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ def ks_name(self) -> str:
# OL9: UEK 7
ImageInfo(
9,
4,
5,
7,
"x86_64",
"https://yum.oracle.com/ISOS/OracleLinux/OL9/u4/x86_64/OracleLinux-R9-U4-x86_64-boot-uek.iso", # noqa
["drgn-0.0.29-1.0.1.el9.x86_64.rpm"],
"https://yum.oracle.com/ISOS/OracleLinux/OL9/u5/x86_64/OracleLinux-R9-U5-x86_64-boot-uek.iso", # noqa
["drgn-0.0.30-1.0.1.el9.x86_64.rpm"],
),
# OL8: UEK 6-7
ImageInfo(
Expand All @@ -50,15 +50,15 @@ def ks_name(self) -> str:
7,
"x86_64",
"https://yum.oracle.com/ISOS/OracleLinux/OL8/u10/x86_64/OracleLinux-R8-U10-x86_64-boot-uek.iso", # noqa
["drgn-0.0.29-1.0.1.el8.x86_64.rpm"],
["drgn-0.0.30-1.0.1.el8.x86_64.rpm"],
),
ImageInfo(
8,
10,
6,
"x86_64",
"https://yum.oracle.com/ISOS/OracleLinux/OL8/u10/x86_64/OracleLinux-R8-U10-x86_64-boot-uek.iso", # noqa
["drgn-0.0.29-1.0.1.el8.x86_64.rpm"],
["drgn-0.0.30-1.0.1.el8.x86_64.rpm"],
),
# OL7: UEK 4-6
ImageInfo(
Expand All @@ -67,23 +67,23 @@ def ks_name(self) -> str:
6,
"x86_64",
"https://yum.oracle.com/ISOS/OracleLinux/OL7/u9/x86_64/x86_64-boot-uek.iso", # noqa
["drgn-0.0.29-1.0.1.el7.x86_64.rpm"],
["drgn-0.0.30-1.0.1.el7.x86_64.rpm"],
),
ImageInfo(
7,
9,
5,
"x86_64",
"https://yum.oracle.com/ISOS/OracleLinux/OL7/u9/x86_64/x86_64-boot-uek.iso", # noqa
["drgn-0.0.29-1.0.1.el7.x86_64.rpm"],
["drgn-0.0.30-1.0.1.el7.x86_64.rpm"],
),
ImageInfo(
7,
9,
4,
"x86_64",
"https://yum.oracle.com/ISOS/OracleLinux/OL7/u9/x86_64/x86_64-boot-uek.iso", # noqa
["drgn-0.0.29-1.0.1.el7.x86_64.rpm"],
["drgn-0.0.30-1.0.1.el7.x86_64.rpm"],
),
]
NAME_TO_CONFIGURATION = {i.name: i for i in CONFIGURATIONS}
Loading