Created
April 3, 2017 15:49
-
-
Save bwhaley/9bafcbfce24c75a6eb022307930bd27b to your computer and use it in GitHub Desktop.
pipeline escaping issues
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sh ‘’’#!/bin/bash -l | |
cp do_image.txt pipeline/testing | |
cd pipeline/testing | |
terraform apply \\ | |
-var do_image=\”\$(<do_image.txt)\” \\ | |
-var do_token=\”\${DO_TOKEN}\” \\ | |
-var ssh_fingerprint=\”\${SSH_FINGERPRINT}\” | |
terraform show terraform.tfstate \\ | |
| grep ipv4_address | awk \”{print \$3}\” > ../../do_ip.txt | |
‘’’ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment