Lucas Bajolet 255874c021 hcp: wrap completeBuild to mark as failed on error
When a build cannot be completed without errors, the build state was
left as running, unless the build explicitly failed, which meant that
HCP Packer would be responsible for changing the status after the
heartbeats for the build stopped being sent for two 5m periods.

This commit changes this behaviour, by explicitly marking the build as
failed if something did not work while trying to complete a build on HCP
Packer, even if the local Packer core build succeeded before that.
2024-11-12 13:36:04 -05:00
2024-11-11 17:04:00 -05:00
2021-10-11 10:19:49 +02:00
2024-07-18 10:51:17 -04:00
2024-11-11 17:04:00 -05:00
2024-11-12 09:04:50 -08:00
2024-11-11 17:04:00 -05:00
2024-05-31 15:17:52 -04:00
2024-11-11 17:04:00 -05:00
2023-12-06 12:43:42 -08:00
2021-04-21 10:52:55 +02:00
2024-09-09 14:39:52 -04:00
wip
2024-11-12 08:33:01 -08:00
2023-10-03 10:32:42 -04:00
wip
2024-11-12 08:33:01 -08:00
wip
2024-11-12 08:33:01 -08:00
2023-12-06 12:43:42 -08:00
2024-07-18 10:51:17 -04:00
2024-07-18 10:51:17 -04:00
2023-08-10 15:53:29 -07:00
2023-10-26 15:03:55 -04:00
2024-11-12 09:04:50 -08:00
2023-08-10 15:53:29 -07:00

Packer

License: BUSL-1.1 Build Status Discuss

HashiCorp Packer logo

Packer is a tool for building identical machine images for multiple platforms from a single source configuration.

Packer is lightweight, runs on every major operating system, and is highly performant, creating machine images for multiple platforms in parallel. Packer supports various platforms through external plugin integrations, the full list of which can be found at https://developer.hashicorp.com/packer/integrations.

The images that Packer creates can easily be turned into Vagrant boxes.

Quick Start

Packer

There is a great introduction and getting started guide for building a Docker image on your local machine without using any paid cloud resources.

Alternatively, you can refer to getting started with AWS to learn how to build a machine image for an external cloud provider.

HCP Packer

HCP Packer registry stores Packer image metadata, enabling you to track your image lifecycle.

To get started with building an AWS machine image to HCP Packer for referencing in Terraform refer to the collection of HCP Packer Tutorials.

Documentation

Comprehensive documentation is viewable on the Packer website at https://developer.hashicorp.com/packer/docs.

Contributing to Packer

See CONTRIBUTING.md for best practices and instructions on setting up your development environment to work on Packer.

Unmaintained Plugins

As contributors' circumstances change, development on a community maintained plugin can slow. When this happens, HashiCorp may use GitHub's option to archive the plugins repository, to clearly signal the plugin's status to users.

What does unmaintained mean?

  1. The code repository and all commit history will still be available.
  2. Documentation will remain on the Packer website.
  3. Issues and pull requests are monitored as a best effort.
  4. No active development will be performed by HashiCorp.

If you are interested in maintaining an unmaintained or archived plugin, please reach out to us at [email protected].

S
Description
No description provided
Readme
163 MiB
Languages
Go 94.2%
HCL 4%
Shell 0.8%
Makefile 0.3%
MDX 0.3%
Other 0.4%