Files
clover_vm/base_vm.json
Alexey Rogachevskiy 34fc51389f travis: Enable image builds for main branch
Squashed commit of the following:

commit c70fc8dd0b
Author: Alexey Rogachevskiy <sfalexrog@gmail.com>
Date:   Thu Jul 9 21:26:47 2020 +0300

    travis: Use proper bucket name

commit d9fc21773b
Author: Alexey Rogachevskiy <sfalexrog@gmail.com>
Date:   Thu Jul 9 21:14:38 2020 +0300

    travis: Use S3 key stored in travis environment

commit 8ef93c928a
Author: Alexey Rogachevskiy <sfalexrog@gmail.com>
Date:   Thu Jul 9 20:02:28 2020 +0300

    travis: Set actual S3 endpoint

commit 848e4b33f7
Author: Alexey Rogachevskiy <sfalexrog@gmail.com>
Date:   Thu Jul 9 18:50:41 2020 +0300

    travis: Try enabling deployments

commit 11196f0c7d
Author: Alexey Rogachevskiy <sfalexrog@gmail.com>
Date:   Thu Jul 9 17:03:44 2020 +0300

    scripts: Allow apt to finish doing initial updates

commit 46064eafe2
Author: Alexey Rogachevskiy <sfalexrog@gmail.com>
Date:   Sun Jul 5 22:16:18 2020 +0300

    ros_ide_vm: Be even more CI-friendly

commit 72f35a0b04
Author: Alexey Rogachevskiy <sfalexrog@gmail.com>
Date:   Sun Jul 5 22:05:57 2020 +0300

    ros_ide_vm: Allocate less resources for build

commit 246ba6e5fb
Author: Alexey Rogachevskiy <sfalexrog@gmail.com>
Date:   Sun Jul 5 22:04:16 2020 +0300

    travis: Download base VM instead of building it

commit 9d2830bfeb
Author: Alexey Rogachevskiy <sfalexrog@gmail.com>
Date:   Sun Jul 5 20:29:26 2020 +0300

    base_vm: Try building in headless mode

commit 31db396477
Author: Alexey Rogachevskiy <sfalexrog@gmail.com>
Date:   Sun Jul 5 18:22:54 2020 +0300

    base_vm: Use simplier hardware config

commit 8709ec5873
Author: Alexey Rogachevskiy <sfalexrog@gmail.com>
Date:   Sun Jul 5 18:05:59 2020 +0300

    build: Download Packer in CI environment (hack)

commit 691cdde431
Author: Alexey Rogachevskiy <sfalexrog@gmail.com>
Date:   Sun Jul 5 17:58:23 2020 +0300

    travis: Bump Virtualbox version

commit e2c6d709db
Author: Alexey Rogachevskiy <sfalexrog@gmail.com>
Date:   Sun Jul 5 17:54:11 2020 +0300

    travis: Try running Packer in CI
2020-07-20 21:52:52 +03:00

44 lines
1.4 KiB
JSON

{
"variables" : {
"user": "clever",
"password": "clever",
"vm-name": "clever-devel"
},
"builders": [{
"type": "virtualbox-iso",
"vm_name": "{{user `vm-name`}}",
"guest_os_type": "Ubuntu_64",
"format": "ova",
"guest_additions_mode": "disable",
"disk_size": "30000",
"hard_drive_interface": "sata",
"vboxmanage": [
["modifyvm", "{{.Name}}", "--memory", "2048", "--mouse", "usbtablet", "--apic", "on", "--rtcuseutc", "on", "--nictype1", "virtio"],
["storageattach", "{{.Name}}", "--storagectl", "SATA Controller", "--port", "0", "--nonrotational", "on", "--discard", "on"]
],
"headless": "true",
"iso_url": "http://archive.ubuntu.com/ubuntu/dists/bionic/main/installer-amd64/current/images/netboot/mini.iso",
"iso_checksum": "bed8a55ae2a657f8349fe3271097cff3a5b8c3d1048cf258568f1601976fa30d",
"iso_checksum_type": "sha256",
"ssh_password": "{{user `password`}}",
"ssh_username": "{{user `user`}}",
"ssh_wait_timeout": "10000s",
"boot_command": [
"<esc><wait>",
"install auto=true priority=critical url=http://{{.HTTPIP}}:{{.HTTPPort}}/preseed.cfg",
"<enter><wait>"
],
"boot_wait": "4s",
"http_directory": "http",
"shutdown_command": "echo {{user `password`}} | sudo -S shutdown -P now",
"vboxmanage_post": [
["modifyhd", "output-virtualbox-iso/{{.Name}}.vdi", "--compact"]
]
}]
}