Unified Build Time
Unify build time for all runs in a single release Clean up Ansible and gitignores
This commit is contained in:
@@ -34,7 +34,7 @@ build {
|
||||
name = "upload"
|
||||
access_token = var.vagrant_cloud_token
|
||||
box_tag = "boxen/${local.name}"
|
||||
version = local.build
|
||||
version = var.build
|
||||
version_description = local.description
|
||||
}
|
||||
}
|
||||
|
||||
@@ -44,14 +44,18 @@ variable "vagrant_cloud_token" {
|
||||
default = env("VAGRANT_CLOUD_TOKEN")
|
||||
}
|
||||
|
||||
variable "build" {
|
||||
type = string
|
||||
default = "0.1"
|
||||
}
|
||||
|
||||
locals {
|
||||
name = "${var.distro}-${var.version}-${var.arch}"
|
||||
build = formatdate("YYYYMMDDhh", timestamp())
|
||||
description = templatefile("../README.box.md", {
|
||||
distro = var.distro
|
||||
arch = var.arch
|
||||
version = var.version
|
||||
build = local.build
|
||||
build = var.build
|
||||
})
|
||||
|
||||
cpus = 2
|
||||
|
||||
Reference in New Issue
Block a user