add packer executor

This commit is contained in:
Cory Schwartz 2022-03-30 22:30:17 -07:00
parent 1da3e2c711
commit 0095d93686

View File

@ -11,6 +11,16 @@ executors:
ubuntu:
docker:
- image: ubuntu:20.04
packer:
description: |
The HashiCorp provided Packer container
parameters:
packer-version:
type: string
default: 1.8.1
docker:
- image: hashicorp/packer:<< parameters.packer-version >>
commands:
install-deps:
@ -707,8 +717,7 @@ jobs:
publish-packer-mainnet:
description: build and push AWS IAM and DigitalOcean droplet.
executor:
name: packer/default
packer-version: 1.6.6
name: packer
steps:
- checkout
- attach_workspace:
@ -719,8 +728,7 @@ jobs:
publish-packer-calibrationnet:
description: build and push AWS IAM and DigitalOcean droplet.
executor:
name: packer/default
packer-version: 1.6.6
name: packer
steps:
- checkout
- attach_workspace:
@ -731,8 +739,7 @@ jobs:
publish-packer-butterflynet:
description: build and push AWS IAM and DigitalOcean droplet.
executor:
name: packer/default
packer-version: 1.6.6
name: packer
steps:
- checkout
- attach_workspace:
@ -743,8 +750,7 @@ jobs:
publish-packer-snap:
description: build packer image with snap. mainnet only.
executor:
name: packer/default
packer-version: 1.6.6
name: packer
steps:
- checkout
- attach_workspace: