mirror of
https://github.com/CopterExpress/clover_vm.git
synced 2026-06-07 12:34:31 +00:00
Squashed commit of the following: commitc70fc8dd0bAuthor: Alexey Rogachevskiy <sfalexrog@gmail.com> Date: Thu Jul 9 21:26:47 2020 +0300 travis: Use proper bucket name commitd9fc21773bAuthor: Alexey Rogachevskiy <sfalexrog@gmail.com> Date: Thu Jul 9 21:14:38 2020 +0300 travis: Use S3 key stored in travis environment commit8ef93c928aAuthor: Alexey Rogachevskiy <sfalexrog@gmail.com> Date: Thu Jul 9 20:02:28 2020 +0300 travis: Set actual S3 endpoint commit848e4b33f7Author: Alexey Rogachevskiy <sfalexrog@gmail.com> Date: Thu Jul 9 18:50:41 2020 +0300 travis: Try enabling deployments commit11196f0c7dAuthor: Alexey Rogachevskiy <sfalexrog@gmail.com> Date: Thu Jul 9 17:03:44 2020 +0300 scripts: Allow apt to finish doing initial updates commit46064eafe2Author: Alexey Rogachevskiy <sfalexrog@gmail.com> Date: Sun Jul 5 22:16:18 2020 +0300 ros_ide_vm: Be even more CI-friendly commit72f35a0b04Author: Alexey Rogachevskiy <sfalexrog@gmail.com> Date: Sun Jul 5 22:05:57 2020 +0300 ros_ide_vm: Allocate less resources for build commit246ba6e5fbAuthor: Alexey Rogachevskiy <sfalexrog@gmail.com> Date: Sun Jul 5 22:04:16 2020 +0300 travis: Download base VM instead of building it commit9d2830bfebAuthor: Alexey Rogachevskiy <sfalexrog@gmail.com> Date: Sun Jul 5 20:29:26 2020 +0300 base_vm: Try building in headless mode commit31db396477Author: Alexey Rogachevskiy <sfalexrog@gmail.com> Date: Sun Jul 5 18:22:54 2020 +0300 base_vm: Use simplier hardware config commit8709ec5873Author: Alexey Rogachevskiy <sfalexrog@gmail.com> Date: Sun Jul 5 18:05:59 2020 +0300 build: Download Packer in CI environment (hack) commit691cdde431Author: Alexey Rogachevskiy <sfalexrog@gmail.com> Date: Sun Jul 5 17:58:23 2020 +0300 travis: Bump Virtualbox version commite2c6d709dbAuthor: Alexey Rogachevskiy <sfalexrog@gmail.com> Date: Sun Jul 5 17:54:11 2020 +0300 travis: Try running Packer in CI
26 lines
610 B
Bash
Executable File
26 lines
610 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# FIXME: Use system Packer if possible
|
|
#PACKER=$(which packer)
|
|
|
|
#if [ "x${PACKER}" == "x" ]; then
|
|
PACKER="./packer"
|
|
if [ ! -f ${PACKER} ]; then
|
|
echo "Packer not found; downloading v1.5.4 from Hashicorp"
|
|
wget https://releases.hashicorp.com/packer/1.5.4/packer_1.5.4_linux_amd64.zip
|
|
unzip packer_1.5.4_linux_amd64.zip
|
|
rm packer_1.5.4_linux_amd64.zip
|
|
fi
|
|
|
|
echo "--- Using Packer version $(${PACKER} --version)"
|
|
|
|
echo "--- Building base image"
|
|
|
|
${PACKER} build -only=virtualbox-iso base_vm.json
|
|
|
|
echo "--- Building extended image"
|
|
|
|
${PACKER} build ros_ide_vm.json
|
|
|
|
echo "--- All done!"
|