Skip to content

Commit

Permalink
https://github.com/hashicorp/packer/issues/12990
Browse files Browse the repository at this point in the history
  • Loading branch information
NorseGaud committed May 28, 2024
1 parent df744e1 commit d034011
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 36 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/notify-integration-release-via-manual.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
required: false
branch:
description: "A branch or SHA"
default: 'main'
default: 'master'
required: false
jobs:
notify-release:
Expand Down Expand Up @@ -44,7 +44,7 @@ jobs:
with:
# The integration identifier will be used by the Packer team to register the integration
# the expected format is packer/<GitHub Org Name>/<plugin-name>
integration_identifier: "packer/veertuinc/packer-plugin-veertu-anka"
integration_identifier: "packer/veertuinc/veertu-anka"
release_version: ${{ github.event.inputs.version }}
release_sha: ${{ github.event.inputs.branch }}
github_token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/notify-integration-release-via-tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
with:
# The integration identifier will be used by the Packer team to register the integration
# the expected format is packer/<GitHub Org Name>/<plugin-name>
integration_identifier: "packer/veertuinc/packer-plugin-veertu-anka"
integration_identifier: "packer/veertuinc/veertu-anka"
release_version: ${{ needs.strip-version.outputs.packer-version }}
release_sha: ${{ github.ref }}
github_token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .web-docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ To install this plugin, copy and paste this code into your Packer configuration,
packer {
required_plugins {
veertu-anka = {
version = "= 3.2.0"
version = "= v4.0.0"
source = "github.com/veertuinc/veertu-anka"
}
}
Expand Down
39 changes: 17 additions & 22 deletions .web-docs/metadata.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,20 @@
# Alternatively this metadata.hcl file can be placed under the docs/ subdirectory or any other config subdirectory that
# makes senses for the plugin.
integration {
name = "Integration Template"
description = "This is an integration template"
identifier = "packer/veertuinc/packer-plugin-veertu-anka"
name = "Anka"
description = "This is a packer plugin for building macOS VM templates and tags using the Anka Virtualization CLI"
identifier = "packer/veertuinc/veertu-anka"
flags = [
# Remove if the plugin does not conform to the HCP Packer requirements.
#
# Please refer to our docs if you want your plugin to be compatible with
# HCP Packer: https://developer.hashicorp.com/packer/docs/plugins/creation/hcp-support
"hcp-ready",
# "hcp-ready",
# This signals that the plugin is unmaintained and will eventually not be
# working with a future version of Packer.
#
# On the integrations, this will end-up as an icon on the plugin's main card.
"archived",
# "archived",
]
docs {
process_docs = true
Expand All @@ -27,31 +27,26 @@ integration {
#
# If you need a separate README from what you will display on GitHub vs
# what is shown on HashiCorp Developer, this is totally valid, though!
readme_location = "./INTEGRATION_README.md"
external_url = "https://github.com/hashicorp/integration-template"
readme_location = "./README.md"
external_url = "https://github.com/veertuinc/packer-plugin-veertu-anka"
}
license {
type = "MPL-2.0"
url = "https://github.com/hashicorp/integration-template/blob/main/LICENSE.md"
type = "MIT License"
url = "https://github.com/veertuinc/packer-plugin-veertu-anka/blob/main/LICENSE"
}
component {
type = "builder"
name = "Component Name (e.g HappyCloud EBS)"
slug = "name"
name = "Anka VM Create"
slug = "veertu-anka-vm-create"
}
component {
type = "provisioner"
name = "Component Name (e.g HappyCloud Shell)"
slug = "name"
}
component {
type = "post-processor"
name = "Component Name"
slug = "name"
type = "builder"
name = "Anka VM Clone"
slug = "veertu-anka-vm-clone"
}
component {
type = "data-source"
name = "Component Name"
slug = "name"
type = "provisioner"
name = "Anka Build Cloud Registry Push"
slug = "veertu-anka-registry-push"
}
}
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ To install this plugin, copy and paste this code into your Packer configuration,
packer {
required_plugins {
veertu-anka = {
version = "= 3.2.0"
version = "= v4.0.0"
source = "github.com/veertuinc/veertu-anka"
}
}
Expand Down
9 changes: 0 additions & 9 deletions examples/clone-existing.pkr.hcl
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
// packer {
// required_plugins {
// veertu-anka = {
// version = "= v3.2.1"
// source = "github.com/veertuinc/veertu-anka"
// }
// }
// }

variable "source_vm_name" {
type = string
default = "anka-packer-base-macos"
Expand Down

0 comments on commit d034011

Please sign in to comment.