-
Notifications
You must be signed in to change notification settings - Fork 85
Description
Expected Behavior
packer build to provision server and start build process
Current Behavior
When using the setup-packer@v2.0.0 or main packer is installed and packer init installs the parallels plugin even though the server already has the plugin. Then during the build job it fails with an error saying that parallels plugin is not found and that packer init needs to be ran. Packer is also locally installed on the self-hosted runner through home brew and If I remove the setup-packer action step the build runs as expected. The same job setup is also done on an Intel Mac Mini without any issues.
Here's current output of job run
Setup Packer Step >
Run hashicorp/setup-packer@v2.0.0
with:
version: latest
Installing packer:latest and adding it to GitHub Actions Path
Downloading packer_1.8.6_darwin_arm64.zip.
/usr/bin/unzip -o -q /Users/coreyhemminger/actions-runner3/_work/_temp/packer_1.8.6_darwin_arm64.zip
packer:latest added to path
Packer Init Step >
Run packer init -upgrade packer_templates
packer init -upgrade packer_templates
shell: /bin/bash -e {0}
env:
PACKER_GITHUB_API_TOKEN: ***
Installed plugin github.com/hashicorp/parallels v1.0.3 in "/Users/coreyhemminger/.config/packer/plugins/github.com/hashicorp/parallels/packer-plugin-parallels_v1.0.3_x5.0_darwin_arm64"
Packer Build Step >
Run packer build -timestamp-ui -only=virtualbox-iso.vm -var-file=os_pkrvars/$(echo almalinux-8 | cut -d "-" -f 1)/"almalinux-8-aarch64.pkrvars.hcl" packer_templates
packer build -timestamp-ui -only=virtualbox-iso.vm -var-file=os_pkrvars/$(echo almalinux-8 | cut -d "-" -f 1)/"almalinux-8-aarch64.pkrvars.hcl" packer_templates
shell: /bin/bash -e {0}
Error: no plugin installed for github.com/hashicorp/parallels >= 1.0.1
Did you run packer init for this project ?
Error: Process completed with exit code 1.
Steps to Reproduce
M2 Mac Mini with self-hosted github actions runner installed and running as a service.
Homebrew install of Parallels, Virtualbox, Vmware-Fusion, qemu, packer
Clone of Bento project at github.com/chef/bento
Update ci.yml in .github > workflows directory to enable an arm build job
create a pr and watch job run