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

Build with github actions #584

Open
incyi opened this issue Jan 27, 2023 · 1 comment
Open

Build with github actions #584

incyi opened this issue Jan 27, 2023 · 1 comment

Comments

@incyi
Copy link

incyi commented Jan 27, 2023

Issue Description

I tried to fork this repo and build with github actions, but it did not worked. Anyone an idea if there is a workaround or maybe I did something wrong ?

See my repo:
https://github.com/incyi/metasploitable3/actions/runs/4027872515/jobs/6924112049

Host System

  • OS: Ubuntu-latest

Command Output

qemu: Done copying files from floppy_content

==> qemu: Found port for communicator (SSH, WinRM, etc): 3637.
==> qemu: Looking for available port between 5900 and 6000 on 127.0.0.1
==> qemu: Starting VM, booting from CD-ROM
==> qemu: Overriding default Qemu arguments with qemuargs template option...
==> qemu: Error launching VM: Qemu failed to start. Please run with PACKER_LOG=1 to get more info.
==> qemu: Deleting output directory...
Build 'qemu' errored after 3 minutes 39 seconds: Build was halted.

@jmartin-tech
Copy link
Contributor

This is unlikely to be possible to build in github action as the build process interacts with full virtualization environments and needs resources more complex than actions are really best suited for.

There are also currently a couple issue with builds the first of which is #575 which needs to address that files needed during the build can no longer be obtained during the packer build process. This may be reworked the coming months to restore deployment capabilities.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants