digitalocean / packer-plugin-digitalocean

Packer plugin for DigitalOcean Builder
https://developer.hashicorp.com/packer/integrations/digitalocean/digitalocean
Mozilla Public License 2.0
20 stars 12 forks source link

Release 1.1.0 is broken #74

Closed fcoelho closed 1 year ago

fcoelho commented 1 year ago

Overview of the Issue

The release workflow for version 1.1.0 failed, causing packer init to fail when trying to use the latest version (automatically with a version constraint such as ~> 1.0 or using the specific version)

Reproduction Steps

Create a versions file with just the DO plugin:

# versions.pkr.hcl

packer {
  required_plugins {
    digitalocean = {
      version = "~> 1.0",
      source  = "github.com/digitalocean/digitalocean"
    }
  }
}
$ packer init .
Failed getting the "github.com/digitalocean/digitalocean" plugin:
2 errors occurred:
    * could not parse release version list. Malformed version: list
    * could not get sha256 checksum file for github.com/digitalocean/digitalocean version 1.1.0. Is the file present on the release and correctly named ? GET https://github.com/digitalocean/packer-plugin-digitalocean/releases/download/v1.1.0/packer-plugin-digitalocean_v1.1.0_SHA256SUMS: 404  []

Plugin and Packer version

$ packer version
Packer v1.8.3

Log Fragments and crash.log files

The release workflow failed: https://github.com/digitalocean/packer-plugin-digitalocean/runs/8236600596?check_suite_focus=true

andrewsomething commented 1 year ago

PR to fix has already been opened at https://github.com/digitalocean/packer-plugin-digitalocean/pull/73