From fc14259402831b3006acc500723d43cd32d48d22 Mon Sep 17 00:00:00 2001 From: Moritz Heiber Date: Fri, 28 Apr 2017 07:44:30 +0200 Subject: [PATCH] Use an include statement to make Atlas happy, remove token reference (unused), properly initialize the submodule --- packer.atlas.json | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/packer.atlas.json b/packer.atlas.json index 9db5443..1c9c999 100644 --- a/packer.atlas.json +++ b/packer.atlas.json @@ -15,7 +15,7 @@ }, { "type": "shell-local", - "command": "git submodule init ansible" + "command": "git submodule update --recurse --init" }, { "type": "shell", "inline": [ @@ -107,7 +107,6 @@ "post-processors": [ { "type": "atlas", - "token": "{{user `atlas_token`}}", "artifact": "mastodon/ubuntu-xenial64", "artifact_type": "vagrant.box", "metadata": { @@ -120,6 +119,13 @@ ], "push": { "name": "mastodon/ubuntu-xenial64", - "vcs": true + "vcs": false, + "include": [ + ".git*", + ".git/*", + ".git/**/*", + "preseeds/*", + "scripts/*" + ] } }