Skip to content

Commit

Permalink
ci: Remove btrfs logic
Browse files Browse the repository at this point in the history
Doesn't seem to noticeably speed things up.
  • Loading branch information
DaanDeMeyer committed Mar 14, 2024
1 parent 6264135 commit ac40423
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,26 +142,13 @@ jobs:
sudo ln -svf $PWD/bin/mkosi /usr/bin/mkosi
working-directory: ./

- name: Btrfs
run: |
truncate --size=20G btrfs.raw
mkfs.btrfs btrfs.raw
sudo mkdir -p /mnt/mkosi
LOOP="$(sudo losetup --find --show --direct-io=on btrfs.raw)"
sudo mount "$LOOP" /mnt/mkosi --options compress=zstd:1,user_subvol_rm_allowed,noatime,discard=async,space_cache=v2
sudo chown "$(id -u):$(id -g)" /mnt/mkosi
- name: Configure
run: |
tee mkosi.local.conf <<EOF
[Output]
ManifestFormat=json
UseSubvolumes=yes
CacheDirectory=/mnt/mkosi/mkosi.cache
PackageCacheDirectory=/mnt/mkosi/mkosi.cache
WorkspaceDirectory=/mnt/mkosi
[Content]
KernelCommandLine=systemd.default_device_timeout_sec=180
Environment=SYSTEMD_REPART_MKFS_OPTIONS_EROFS="--quiet"
Expand All @@ -188,8 +175,7 @@ jobs:
- name: Run integration tests
run: |
sudo TMPDIR=/mnt/mkosi \
timeout -k 30 1h python3 -m pytest \
sudo timeout -k 30 1h python3 -m pytest \
--tb=no \
--capture=no \
--verbose \
Expand Down

0 comments on commit ac40423

Please sign in to comment.