Use an include statement to make Atlas happy, remove token reference (unused), properly initialize the submodule

This commit is contained in:
Moritz Heiber 2017-04-28 07:44:30 +02:00
parent 0f79a7aa51
commit fc14259402
1 changed files with 9 additions and 3 deletions

View File

@ -15,7 +15,7 @@
}, },
{ {
"type": "shell-local", "type": "shell-local",
"command": "git submodule init ansible" "command": "git submodule update --recurse --init"
}, },
{ "type": "shell", { "type": "shell",
"inline": [ "inline": [
@ -107,7 +107,6 @@
"post-processors": [ "post-processors": [
{ {
"type": "atlas", "type": "atlas",
"token": "{{user `atlas_token`}}",
"artifact": "mastodon/ubuntu-xenial64", "artifact": "mastodon/ubuntu-xenial64",
"artifact_type": "vagrant.box", "artifact_type": "vagrant.box",
"metadata": { "metadata": {
@ -120,6 +119,13 @@
], ],
"push": { "push": {
"name": "mastodon/ubuntu-xenial64", "name": "mastodon/ubuntu-xenial64",
"vcs": true "vcs": false,
"include": [
".git*",
".git/*",
".git/**/*",
"preseeds/*",
"scripts/*"
]
} }
} }