Skip to content

requirements(deps): bump lxml from 6.0.0 to 6.0.1 #2076

requirements(deps): bump lxml from 6.0.0 to 6.0.1

requirements(deps): bump lxml from 6.0.0 to 6.0.1 #2076

name: Smoke test creation of Void chroots
on:
pull_request:
push:
schedule:
- cron: '0 16 * * 5' # Every Friday 4pm
jobs:
install_and_run:
name: Smoke test creation of Void chroots
runs-on: ubuntu-22.04
steps:
- name: Checkout Git repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Cache pip
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('setup.py') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Set up Python 3.13
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
with:
python-version: 3.13
- name: Install
run: |-
sudo pip3 install \
--disable-pip-version-check \
.
- name: Smoke test creation of Void chroots
run: |-
cd /tmp # to not be in Git clone folder
directory-bootstrap --help ; echo
directory-bootstrap void --help ; echo
sudo PYTHONUNBUFFERED=1 directory-bootstrap --verbose --debug void /tmp/void_chroot/
- name: Create .tar archive
run: |-
set -eux
git fetch --force --tags --unshallow origin # for "git describe"
chroot_base_name="void-chroot-$(date '+%Y-%m-%d-%H-%M')-image-bootstrap-$(git describe --tags).tar.xz"
sudo chmod a+xr /tmp/void_chroot/ # for "cd"
( cd /tmp/void_chroot/ && sudo tar c . ) | xz -T "$(nproc)" > "${chroot_base_name}"
ls -lh "${chroot_base_name}"
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: void-chroot-qcow2
path: '*.tar.xz'
if-no-files-found: error