{"id":17782814,"url":"https://github.com/qubitpi/packer-plugin-qubitpi","last_synced_at":"2025-03-16T01:33:23.530Z","repository":{"id":228520418,"uuid":"772989826","full_name":"QubitPi/packer-plugin-qubitpi","owner":"QubitPi","description":"Packer plugin for common software images","archived":false,"fork":false,"pushed_at":"2025-03-08T13:19:55.000Z","size":607,"stargazers_count":1,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-15T23:06:27.339Z","etag":null,"topics":["hashicorp-packer","packer","packer-plugin","packer-provisioner"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/QubitPi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-16T12:43:55.000Z","updated_at":"2025-03-08T12:34:59.000Z","dependencies_parsed_at":"2024-03-19T08:30:26.062Z","dependency_job_id":"c1a4c072-a542-4814-a5b5-27ea3b73f699","html_url":"https://github.com/QubitPi/packer-plugin-qubitpi","commit_stats":null,"previous_names":["qubitpi/packer-plugin-hashicorp-aws","qubitpi/packer-plugin-hashistack"],"tags_count":56,"template":false,"template_full_name":"QubitPi/packer-plugin-scaffolding","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QubitPi%2Fpacker-plugin-qubitpi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QubitPi%2Fpacker-plugin-qubitpi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QubitPi%2Fpacker-plugin-qubitpi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QubitPi%2Fpacker-plugin-qubitpi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/QubitPi","download_url":"https://codeload.github.com/QubitPi/packer-plugin-qubitpi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243814905,"owners_count":20352037,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hashicorp-packer","packer","packer-plugin","packer-provisioner"],"created_at":"2024-10-27T06:20:21.865Z","updated_at":"2025-03-16T01:33:22.879Z","avatar_url":"https://github.com/QubitPi.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"QubitPi Packer Plugin\n=====================\n\n![Go Badge][Go Badge]\n[![HashiCorp Packer Badge][HashiCorp Packer Badge]][HashiCorp Packer URL]\n![HashiCorp Packer SDK Badge][HashiCorp Packer SDK Badge]\n[![GitHub Workflow Status][GitHub Workflow Status badge]][GitHub Workflow Status URL]\n![GitHub Last Commit]\n[![Apache License][Apache License Badge]][Apache License, Version 2.0]\n\nQubitPi Packer multi-component plugin can be used with HashiCorp [Packer][HashiCorp Packer] to create images hosted on\nAWS. For the full list of available features for this plugin see [docs](./docs).\n\nInstallation\n------------\n\n### Using pre-built releases\n\n#### Using the `packer init` command\n\nStarting from version 1.7, Packer supports a new `packer init` command allowing automatic installation of Packer\nplugins. Read the [Packer documentation][HashiCorp Packer init] for more information.\n\nTo install this plugin, copy and paste this code into Packer configuration. Then, run\n[`packer init`][HashiCorp Packer init].\n\n```hcl\npacker {\n  required_plugins {\n    qubitpi = {\n      version = \"\u003e= 0.0.50\"\n      source = \"github.com/QubitPi/qubitpi\"\n    }\n  }\n}\n```\n\n#### Manual installation\n\nWe can find pre-built binary releases of the plugin\n[here](https://github.com/QubitPi/packer-plugin-qubitpi/releases). Once we have downloaded the latest archive\ncorresponding to our target OS, uncompress it to retrieve the plugin binary file corresponding to our platform. To\ninstall the plugin, please follow the Packer documentation on\n[installing a plugin][HashiCorp Packer installing a plugin].\n\n### From Sources\n\nIf one prefer to build the plugin from sources, clone the GitHub repository locally and run the command `make build`\nfrom the root directory. Upon successful compilation, a `packer-plugin-qubitpi` plugin binary file can be found in\nthe root directory. To install the compiled plugin, please follow the official Packer documentation on\n[installing a plugin][HashiCorp Packer installing a plugin].\n\n### Configuration\n\nFor more information on how to configure the plugin, please read the documentation located in the [`docs/`](docs)\ndirectory.\n\nContributing\n------------\n\nSee [CONTRIBUTING.md](.github/CONTRIBUTING.md) for best practices and instructions on contributing to the Plugin.\n\nDeveloping the Plugin\n---------------------\n\n### The Go Workspace\n\nGo expects a single workspace for third-party Go tools installed via `go install`. By default, this workspace is located\nin `$HOME/go` with source code for these tools stored in `$HOME/go/src` and the compiled binaries in `$HOME/go/bin`. Set\n`$GOPATH` environment variable to this path first:\n\n```shell\nexport GOPATH=$HOME/go\nexport PATH=$PATH:$GOPATH/bin\n```\n\n### Building from Source\n\n1. Clone this GitHub repository locally:\n\n   ```shell\n   git clone git@github.com:QubitPi/packer-plugin-qubitpi.git\n   cd packer-plugin-qubitpi\n   ```\n\n2. Build the plugin from the root directory:\n\n   ```shell \n   go build -ldflags=\"-X github.com/QubitPi/packer-plugin-qubitpi/version.VersionPrerelease=dev\" -o packer-plugin-qubitpi\n   ```\n\n3. After We successfully compile, the `packer-plugin-qubitpi` plugin binary file is in the root directory.\n\n4. To install the compiled plugin, run the following command\n\n   ```shell\n   packer plugins install --path packer-plugin-qubitpi github.com/QubitPi/qubitpi\n   ```\n\n\u003e [!TIP]\n\u003e\n\u003e If executing the `packer plugins install` reports an error, please make sure the version of `packer` command is the\n\u003e latest. To upgrade to the latest version, please refer to\n\u003e [Packer's documentation](https://developer.hashicorp.com/packer/tutorials/docker-get-started/get-started-install-cli)\n\n### Running Acceptance Tests\n\nMake sure to install the plugin locally using the steps in [Build from source](#building-from-source).\n\nOnce everything needed is set up, run:\n\n```shell\nPACKER_ACC=1 go test -count 1 -v ./... -timeout=120m\n```\n\nThis will run the acceptance tests for all plugins in this set.\n\n\u003e [!CAUTION]\n\u003e \n\u003e Please make sure the acceptance tests are running against the local version by deleting all previously installed\n\u003e versions under `$HOME/. config/packer/plugins` directory. Otherwise, the tests will pick up the old released version\n\u003e if they were installed before. Deleting `github.com/QubitPi/qubitpi`, for example, would be\n\u003e \n\u003e ```console\n\u003e rm -rf ~/.config/packer/plugins/github.com/QubitPi/qubitpi\n\u003e ```\n\n## Registering Plugin as Packer Integration\n\nPartner and community plugins can be hard to find if a user doesn't know what\nthey are looking for. To assist with plugin discovery Packer offers an integration\nportal at https://developer.hashicorp.com/packer/integrations to list known integrations\nthat work with the latest release of Packer.\n\nRegistering a plugin as an integration requires [metadata configuration](./metadata.hcl) within the plugin\nrepository and approval by the Packer team. To initiate the process of registering your\nplugin as a Packer integration refer to the [Developing Plugins](https://developer.hashicorp.com/packer/docs/plugins/creation#registering-plugins) page.\n\nLicense\n-------\n\nThe use and distribution terms for [packer-plugin-qubitpi] are covered by the [Apache License, Version 2.0].\n\n[Apache License Badge]: https://img.shields.io/badge/Apache%202.0-F25910.svg?style=for-the-badge\u0026logo=Apache\u0026logoColor=white\n[Apache License, Version 2.0]:  https://www.apache.org/licenses/LICENSE-2.0\n\n[GitHub Last Commit]: https://img.shields.io/github/last-commit/QubitPi/packer-plugin-qubitpi/master?logo=github\u0026style=for-the-badge\n[GitHub Workflow Status badge]: https://img.shields.io/github/actions/workflow/status/QubitPi/packer-plugin-qubitpi/ci-cd.yml?branch=master\u0026logo=github\u0026style=for-the-badge\n[GitHub Workflow Status URL]: https://github.com/QubitPi/packer-plugin-qubitpi/actions/workflows/ci-cd.yml\n[Go Badge]: https://img.shields.io/badge/Go%20\u003e=%201.20-00ADD8?style=for-the-badge\u0026logo=go\u0026logoColor=white\n\n[HashiCorp Packer]: https://packer.qubitpi.org/packer/docs\n[HashiCorp Packer init]: https://packer.qubitpi.org/packer/docs/commands/init\n[HashiCorp Packer installing a plugin]: https://packer.qubitpi.org/packer/docs/plugins#installing-plugins\n[HashiCorp Packer SDK Badge]: https://img.shields.io/badge/Packer%20Plugin%20SDK\u003e=%20v0.5.2-000000?style=for-the-badge\u0026logo=hashicorp\u0026logoColor=white\n[HashiCorp Packer SDK URL]: https://github.com/hashicorp/packer-plugin-sdk\n[HashiCorp Packer Badge]: https://img.shields.io/badge/Packer%20\u003e=%20v1.11.0-02A8EF?style=for-the-badge\u0026logo=Packer\u0026logoColor=white\n[HashiCorp Packer URL]: https://packer.qubitpi.org/packer/docs\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqubitpi%2Fpacker-plugin-qubitpi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqubitpi%2Fpacker-plugin-qubitpi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqubitpi%2Fpacker-plugin-qubitpi/lists"}