Unified Build Time

Unify build time for all runs in a single release
Clean up Ansible and gitignores
This commit is contained in:
Greg Hellings
2022-06-08 02:27:48 -05:00
committed by GitHub
parent dea5487a3c
commit 0941dd9909
5 changed files with 17 additions and 6 deletions
+1 -1
View File
@@ -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
}
}
+6 -2
View File
@@ -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