Created
March 13, 2019 13:46
-
-
Save markododa/8fcd3c0f93b312c3c5a828e61d6d1cf8 to your computer and use it in GitHub Desktop.
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
docker: Summary for local | |
docker: ------------- | |
docker: Succeeded: 18 (changed=17) | |
docker: Failed: 1 | |
docker: ------------- | |
docker: Total states run: 19 | |
docker: Total run time: 24.564 s | |
2019/03/13 14:43:11 [INFO] 11206 bytes written for 'stdout' | |
2019/03/13 14:43:11 [INFO] 30964 bytes written for 'stderr' | |
2019/03/13 14:43:11 packer: 2019/03/13 14:43:11 [INFO] RPC endpoint: Communicator ended with: 1 | |
2019/03/13 14:43:11 [INFO] RPC client: Communicator ended with: 1 | |
2019/03/13 14:43:11 [INFO] RPC endpoint: Communicator ended with: 1 | |
2019/03/13 14:43:11 packer: 2019/03/13 14:43:11 [INFO] 11206 bytes written for 'stdout' | |
2019/03/13 14:43:11 packer: 2019/03/13 14:43:11 [INFO] 30964 bytes written for 'stderr' | |
2019/03/13 14:43:11 packer: 2019/03/13 14:43:11 [INFO] RPC client: Communicator ended with: 1 | |
2019/03/13 14:43:11 [INFO] (telemetry) ending salt-masterless | |
==> docker: Killing the container: e167d3096cedfe930b488046ba984413954d9dacca389322ffed3d1611a776bf | |
2019/03/13 14:43:12 [INFO] (telemetry) ending docker | |
2019/03/13 14:43:12 ui error: Build 'docker' errored: Error executing salt-call: Bad exit status: 1 | |
2019/03/13 14:43:12 Builds completed. Waiting on interrupt barrier... | |
2019/03/13 14:43:12 machine readable: error-count []string{"1"} | |
2019/03/13 14:43:12 ui error: | |
==> Some builds didn't complete successfully and had errors: | |
2019/03/13 14:43:12 machine readable: docker,error []string{"Error executing salt-call: Bad exit status: 1"} | |
2019/03/13 14:43:12 ui error: --> docker: Error executing salt-call: Bad exit status: 1 | |
==> Builds finished but no artifacts were created. | |
2019/03/13 14:43:12 [INFO] (telemetry) Finalizing. | |
Build 'docker' errored: Error executing salt-call: Bad exit status: 1 | |
==> Some builds didn't complete successfully and had errors: | |
--> docker: Error executing salt-call: Bad exit status: 1 | |
==> Builds finished but no artifacts were created. | |
2019/03/13 14:43:13 waiting for all plugin processes to complete... | |
2019/03/13 14:43:13 /usr/bin/packer: plugin process exited | |
2019/03/13 14:43:13 /usr/bin/packer: plugin process exited | |
2019/03/13 14:43:13 /usr/bin/packer: plugin process exited | |
2019/03/13 14:43:13 /usr/bin/packer: plugin process exited |
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
{"builders": [ | |
{ | |
"type": "docker", | |
"image": "debian", | |
"commit": true, | |
"changes": [ | |
"ENTRYPOINT /root/entrypoint.sh" | |
] | |
} | |
], | |
"provisioners": [ | |
{ | |
"type": "shell", | |
"inline": [ | |
"apt-get update; apt-get install curl python-pip -y; pip install docker-py" | |
] | |
}, | |
{ | |
"type": "salt-masterless", | |
"local_state_tree": "../saltstack/salt", | |
"disable_sudo": true, | |
"local_pillar_roots": "../saltstack/pillar", | |
"grains_file": "./grains", | |
"no_exit_on_failure": true | |
}, | |
{ | |
"type": "file", | |
"source": "entrypoint.sh", | |
"destination": "/root/entrypoint.sh" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment