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

Fix Cirrus CI #22

Merged
merged 1 commit into from
Sep 9, 2024
Merged
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
9 changes: 6 additions & 3 deletions .cirrus.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,25 @@
freebsd_instance:
image_family: freebsd-13-2
image_family: freebsd-14-1

iocage_tests_task:
create_pool_script:
- truncate -s 20G /root/poolfile
- zpool create pool /root/poolfile
install_pkgs_script:
- sed -i '' 's/quarterly/latest/g' /etc/pkg/FreeBSD.conf
- pkg install -y git python3 py39-sqlite3
- pkg install -y git python3 py311-sqlite3
- pkg install -y rust
configure_python_script:
- python3 -m ensurepip
pip_cache:
folder: ~/.cache/pip
populate_script:
- python3 install -r requirements-test.txt
- python3 -m pip install -r requirements-test.txt
- python3 -m pip install -r requirements.txt
- python3 -m pip install -U cython
env_setup_script:
- python3 -m pip install -U -r requirements-test.txt
- python3 -m pip install -U -r requirements.txt
- mount -t fdescfs null /dev/fd
- pkg install -y devel/py-libzfs
install_iocage_script:
Expand Down
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def pytest_addoption(parser):
help='Specify a zpool to use.'
)
parser.addoption(
'--release', action='store', default='12.2-RELEASE',
'--release', action='store', default='14.1-RELEASE',
help='Specify a RELEASE to use.'
)
parser.addoption(
Expand Down
Loading