Codify comment about error checking (#11653)

pull/11657/head
Kevin Burnett 4 years ago committed by GitHub
parent 93ea7a5fc2
commit 59a7f9140e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -345,8 +345,9 @@ pipeline.sh
```sh
#!/bin/bash
set -e # abort if there is an issue with any build
packer build -only='step1.docker.example' .
packer build -only='step2.docker.example' .
```
To run the pipeline, call pipeline.sh. You can add error checking to this script to abort if there's an issue with a build. You can create as many build steps as you want. Each can either inhabit one file
To run the pipeline, call pipeline.sh. You can create as many build steps as you want. Each can either inhabit one file

Loading…
Cancel
Save