Skip to content

Releases: aibor/virtrun

v0.11.5

11 Sep 14:26
Compare
Choose a tag to compare

Patch release (2024-09-11)

  • Fix #46: failure due to already closed read pipe

Changelog

  • e40f0c5 style(qemu): disable cyclop linter for parseStdout
  • 012f8fe fix(qemu): ignore closed pipe error
  • df390e3 chore: bump library/golang from 1.23.0-bookworm to 1.23.1-bookworm

v0.11.4

01 Sep 19:29
Compare
Choose a tag to compare

Patch release (2024-09-01)

  • Change license to GPL-3.0-or-later

Changelog

  • a028912 build(goreleaser): fix license for packages
  • 5abec1d none: change license to GPLv3
  • bc8c099 chore: bump github.com/vishvananda/netlink from 1.1.0 to 1.3.0
  • d03e40a ci(lint): pin golangi-lint version
  • e5a6a1c ci(lint): enforce line length of 80
  • eadba80 refactor: satisfy err113 linter
  • 6680a0b refactor(qemu): satisfy gosec interger overflow check
  • 02adf04 ci(lint): exclude deprecated linter
  • 500df87 fix: gosec integer conversion issues
  • 8a5b0fe chore: bump library/golang from 1.22.6-bookworm to 1.23.0-bookworm

v0.11.3

15 Aug 12:38
Compare
Choose a tag to compare

Patch release (2024-08-15)

  • Remove darwin builds
  • Fix build info

Changelog

  • 8d80b2d fix(goreleaser): remove darwin build
  • ee82fd1 fix(goreleaser): adjust deprecated key
  • ed1c27d fix(goreleaser): inject paths

v0.11.1

15 Jul 19:18
Compare
Choose a tag to compare

Patch release (2024-07-15)

  • Fix goreleaser config
  • Fix -version output

Changelog

  • 8b69632 fix(goreleaser): fix config

v0.11.0

14 Jul 20:38
Compare
Choose a tag to compare

Minor release (2024-07-14)

  • Add -addModule flag for loading kernel modules.
  • Add -debug flag for debbging output like QEMU command line.

Changelog

  • 0e48314 fix(docs): clarify module loading order
  • 2596b1d chore: relax nlreturn linter
  • e108112 feat(testing): integration test parallel
  • c4c80bb fix(testing): use output buffers
  • 0a881ce refactor: adhere to error wrap linters
  • c33a709 feat(testing): add integration test coverage
  • f43cf12 fix(internal): export types of exported structs
  • dcd01ab refactor(internal): introduce arch type
  • fc1a907 chore: merge initprog package
  • e6db36a chore: shorten integrationtesting dir name
  • 0a3c969 refactor(main): error handling
  • bfb2822 chore: cleanup integrationtesting code
  • bee61a1 chore: move glue code above base packages
  • b2c3165 feat: load modules in the given order
  • bd7db02 fix(sysinit): make modules dir optional
  • bdebcc4 fix: improve debug logging
  • 0af3055 refactor: exit code handling
  • 3fae304 refactor(qemu): move kvm check into dedicated file
  • b0e15f2 fix(cmd): improve naming of initramfs cleanup
  • 8094bbc chore(golangi-lint): extend linting
  • b05067b fix: comment formatting
  • 86717c8 fix: handle errors
  • f8b9647 refactor(cmd): decouple command logic from environment
  • f5bd4bd refactor: use custom flag vars
  • 5aaaf2a refactor(qemu): move default literal values to constants
  • d6a2bf4 fix(init): remove paths from binaries
  • ded506e feat(qemu): add String method for TransportType
  • 276da65 refactor(qemu): move errors into dedicated file
  • bf435d1 chore: bump library/golang from 1.22.4-bookworm to 1.22.5-bookworm
  • 77e1ecd chore: bump fsfe/reuse-action from 3 to 4
  • b1bf032 chore: bump golang.org/x/sys from 0.21.0 to 0.22.0
  • 46f37e7 chore: create LICENSE
  • dd18a72 feat(test): add module guest test
  • 843e3be fix(sysinit): allow custom config with RunTests
  • 759dc9a feat(main): add addModule flag
  • e606656 feat(sysinit): automatically load modules if present
  • 83bb165 feat(sysinit): add module loading helper
  • d63c893 feat(sysinit): add regular file list helper
  • 59c858f chore(readme): add igithub actions test badge
  • b4e1839 chore(readme): add go report card badge
  • 950977c chore(readme): use link reference
  • 1be8850 chore: add noglobals linter
  • afca41b fix: remove globals from fileTree tests
  • 592d87a feat: add sysinit config
  • cc14746 fix: mark build globals
  • 834eadf fix: simplify qemu args
  • 83b790d chore: bump docker/build-push-action from 5 to 6
  • e643f57 chore(dependabot): remove invalid scope key
  • 27fb047 fix: ensure newline before rc line
  • 90a92dc chore(initprog): rebuild with current deps
  • 654abde fix(sysinit): remove obsolete exec helper
  • eaaa68e chore: update recent kernel to 6.9
  • 0fc8bb9 chore: add golangci-lint config with most linters enabled
  • 06fb82d fix: proper assert.Equal order
  • ad9d663 fix: use proper assert helper
  • 907ae3f fix: uncuddle for nlreturn
  • ef6b113 fix: add complex function exceptions
  • df108cb fix: simplify qemu command run function
  • 781fe3a fix: simplify shared objects collection function
  • 4691ed5 fix: add interface parameter names
  • b9781db fix: remove magic numbers
  • cc35b85 fix: add long lines lint exceptions
  • d60014b fix: uncuddle
  • 9be869b fix: use direct local variable
  • 2a17b0b fix: refactor to table driven test
  • 87c3525 fix: remove unnecessary string formating helpers
  • e43855e fix: proper test package naming
  • ade4098 fix: remove punctuation from end of error mesage
  • aa23736 fix: unify receiver names
  • 56aaa09 fix: use require for error checks
  • 547ae73 fix: use errors.Is for error comparison
  • 9842247 fix: change error variable name to convention
  • c66cb50 fix: remove obsolete loop variable shadowing
  • 67b6d2a fix: specify print outputs explicitly
  • ffc19be fix: use proper string builder
  • fa750a6 fix: group variable definitions
  • f2008cf fix: use proper octal notation for file modes
  • b2cba3e fix: remove superfluous empty lines
  • dfa749f fix: order imports according to golangci-lint
  • 1f6c08f chore: use conventional commits for dependabot
  • 1c7ed6a chore: upgrade to go 1.22
  • 48a689d Bump library/golang from 1.22.3-bookworm to 1.22.4-bookworm
  • 6a79c87 Bump goreleaser/goreleaser-action from 5 to 6
  • 6558bd2 Bump golang.org/x/sys from 0.20.0 to 0.21.0
  • 88bcab6 Bump alpine from 3.19 to 3.20 in /integrationtesting
  • b6b80dd Bump golangci/golangci-lint-action from 5 to 6
  • 8788fbd Bump library/golang from 1.22.2-bookworm to 1.22.3-bookworm
  • eda61ea Bump golang.org/x/sys from 0.18.0 to 0.20.0
  • a210639 Bump golangci/golangci-lint-action from 4 to 5
  • 3d01d6c Bump library/ubuntu from 22.04 to 24.04
  • ecf57cd Bump golang.org/x/sync from 0.6.0 to 0.7.0
  • d4b84ec Bump library/golang from 1.22.1-bookworm to 1.22.2-bookworm
  • c164543 Bump library/golang from 1.22.0-bookworm to 1.22.1-bookworm
  • 305706d Bump golang.org/x/sys from 0.17.0 to 0.18.0
  • f590c57 Bump fsfe/reuse-action from 2 to 3
  • 05c6bff Bump github.com/stretchr/testify from 1.8.4 to 1.9.0

v0.10.0

05 Mar 09:35
Compare
Choose a tag to compare

Minor release (2024-03-05)

  • Breaking: QEMU_KERNEL env var is not consumed anymore.
  • Breaking: QEMU_ARCH renamed to VIRTRUN_ARCH.
  • Add VIRTRUN_ARGS environment variable to pass any flag to virtrun.
  • Add -version flag.

Changelog

  • ef5ed9e Add version flag and details set by goreleaser
  • dc3ab7f Drop 5.x kernels in CI test
  • 303b364 Remove QEMU_KERNEL env var
  • 4bd48f1 Rename QEMU_ARCH to VIRTRUN_ARCH
  • ef02f63 Allow passing args by env
  • cbb3a2c Use alpine for test image
  • fbd5ad1 Fix asm file copyright header
  • 5513f8e Add test result step for easier reference
  • b4d685b Make licenseing REUSE compatible
  • 6edf020 Bump golangci/golangci-lint-action from 3 to 4

v0.9.2

12 Feb 08:55
Compare
Choose a tag to compare

Patch release (2024-02-12)

  • Improved error reporting from guest
  • Updated docs

Changelog

  • 27a87be Update README
  • 1128b8c Fix typo in comment
  • 943af50 Update CI tests to go 1.22
  • 543f6d8 Move pre-compiled inits into seperate package
  • 7a06c90 Improve error and return code printing in guest

v0.9.1

08 Feb 17:10
Compare
Choose a tag to compare

Patch release (2024-02-08)

  • Add common file descriptor symlinks to init

Changelog

  • 52d6e3b Add common symlinks in init
  • bbbaa15 Bump library/golang from 1.21.5-bookworm to 1.22.0-bookworm
  • b6ce6ec Run tests in CI only once on PR
  • 160519f Bump library/golang in /integrationtesting
  • b9b427b Bump golang.org/x/sys from 0.16.0 to 0.17.0
  • 81788cd Add docker to dependabot
  • 83c56ed Pin container image version
  • e13e3da Remove kernel fetching from tests
  • 8b1f014 Use test kernels from ci-kernel containers
  • c2388e1 Build container on release

v0.9.0

07 Feb 17:22
Compare
Choose a tag to compare

Minor release (2024-02-07)

  • Breaking: additional files must be passed by new flag -addFile
    instead of positional argument.
  • Breaking: sysinit.Exec removed and replaced with direct
    exec.Command invocation.
  • Add repeatable flag -addFile for passing additional files.
  • Add environment variable PATH=/data to default init.
  • Remove function sysinit.Exec

Changelog

  • bd44e4b Set PATH to /data in guest system
  • edf6614 Pass additional files by flag
  • 7cd89d2 Remove trailing newlines
  • 02454e9 Bump golang.org/x/sys from 0.15.0 to 0.16.0
  • 41fa76f Bump golang.org/x/sync from 0.5.0 to 0.6.0
  • 7775968 Bump actions/checkout from 3 to 4
  • 44cdf38 Bump actions/setup-go from 3 to 5
  • 9a1cd93 Create dependabot.yml

v0.8.3

11 Dec 20:15
Compare
Choose a tag to compare

Patch release (2023-12-11)

  • Fix 0 return code on guest oom.
  • Add panic and oom integration tests.
  • Fix race condition in qemu args.

Changelog

  • 49ce5a6 Add panic and oom integration tests
  • 7bd1a1b Fix race condition
  • 443c0be Parallelize integration tests
  • f267a8a Log kernel warning messages to detect oom
  • b816c81 Never return rc 0 with an error!