Commit Graph

31 Commits

Author SHA1 Message Date
Christopher Swenson
fa91af91e7
Remove gox in favor of go build. (#16353)
Remove gox in favor of go build.

`gox` hasn't had a release to update it in many years, so is missing
support for many modern systems, like `darwin/arm64`.

In any case, we only use it for dev builds, where we don't even use
the ability of it to build for multiple platforms. Release builds use
`go build` now.

So, this switches to `go build` everywhere.

I pulled this down and tested it in Windows as well. (Side note: I
couldn't get `gox` to work in Windows, so couldn't build before this
change.)
2022-07-20 10:44:41 -07:00
Chris Capurso
203b1ad789
Add build date (#14957)
* add BuildDate to version base

* populate BuildDate with ldflags

* include BuildDate in FullVersionNumber

* add BuildDate to seal-status and associated status cmd

* extend core/versions entries to include BuildDate

* include BuildDate in version-history API and CLI

* fix version history tests

* fix sys status tests

* fix TestStatusFormat

* remove extraneous LD_FLAGS from build.sh

* add BuildDate to build.bat

* fix TestSysUnseal_Reset

* attempt to add build-date to release builds

* add branch to github build workflow

* add get-build-date to build-* job needs

* fix release build command vars

* add missing quote in release build command

* Revert "add branch to github build workflow"

This reverts commit b835699ecb.

* add changelog entry
2022-04-19 14:28:08 -04:00
Robert
3dc8ef76b6
Remove old binary before copying new one to GOPATH/bin (#13966) 2022-02-09 08:32:10 -05:00
Scott Miller
addbdd1f95
Darwin/ARM64 build target (#11321)
* Update to Go 1.16.2 for build/dev

* Update SDK version_base

* 1st attempt

* Update docker images

* wip

* wip
2021-04-09 09:53:03 -05:00
Calvin Leung Huang
6036c4fb89
scripts: make build.sh gocmd aware (#9394) 2020-07-02 17:45:41 -07:00
Jeff Mitchell
170521481d
Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
Jeff Mitchell
88741e9956 Sync over 2019-03-18 09:33:01 -04:00
Jeff Mitchell
b7da6a74fd Add the ability for make dev to honor XC_OSARCH 2018-03-03 12:35:36 -05:00
Jeff Mitchell
18a1be4283 It's not a 1.10 thing apparently.
Revert "Revert "Remove netbsd/arm as it won't compile""

This reverts commit 8b43db120c.
2018-02-26 12:40:49 -05:00
Jeff Mitchell
8b43db120c Revert "Remove netbsd/arm as it won't compile"
This reverts commit 3d4bd6f3cb.
2018-02-26 12:27:25 -05:00
Jeff Mitchell
3d4bd6f3cb Remove netbsd/arm as it won't compile 2018-02-20 15:27:33 -05:00
Bharath B
ba0eac153a Remove symbols from vault binary (#3369) 2017-11-08 07:53:08 -05:00
Chris Hoffman
33e004f637 adding ability to set gcflags on build (#3451) 2017-10-11 11:36:26 -04:00
Jeff Mitchell
7bce60290f Add linux/arm64 build.
Fixes #2630
2017-04-24 09:35:36 -04:00
James Nugent
2e7a3aae7d build: Add support for building on Illumos
This commit adds support for building for Illumos-derived operating
systems. Regrettably, the cyrpto/ssh/terminal package does not include
implementations of the functions IsTerminal, MakeRaw or Restore for the
solaris OS. Consequently this commit implements them in Vault.

makeRaw(fd int) is based on the Illumos implementation of the getpass
function [1] for the correct flags. isTerminal(fd int) is based on the
Illumos libc implementation [2] of isatty.

[1] http://src.illumos.org/source/xref/illumos-gate/usr/src/lib/libast/common/uwin/getpass.c
[2] http://src.illumos.org/source/xref/illumos-gate/usr/src/lib/libbc/libc/gen/common/isatty.c
2016-08-13 00:20:15 -04:00
vishalnayak
b45aa72f71 Set the OSARCH for dev builds 2016-05-24 13:25:50 -04:00
Jeff Mitchell
ef5b37f46c
Cut version 0.6.0-beta1 2016-05-23 16:14:15 -04:00
Jeff Mitchell
a0b50b1f68 Rename build tags 2016-04-28 00:59:33 +00:00
Jeff Mitchell
1010591193 Built tag-ify sealtesting 2016-04-28 00:47:44 +00:00
Sean Chittenden
2f28a12cef Go's -X linker flag now requires only one argument 2016-03-17 10:57:25 -07:00
Jeff Mitchell
1a28dc823f Remove us building Solaris binaries for the moment, as they don't build successfully 2016-03-16 15:47:55 -04:00
Jeff Mitchell
a2359d054c Increase platforms for next build 2016-02-25 15:49:12 -05:00
Jeff Mitchell
c77e00d773 TF_DEV->VAULT_DEV_BUILD 2016-02-25 11:05:51 -05:00
Jeff Mitchell
757dca2e2c Migrate to built-in Go vendoring.
This also removes `godep` calls from make scripts. Of note is that
currently `./...` checking in acceptance tests is disabled.
2016-02-18 15:06:02 -05:00
Jeff Mitchell
904e1ee600 Print version on startup.
Fixes #765
2015-11-09 13:52:55 -05:00
Armon Dadgar
5024c84e5d Merge pull request #404 from BRMatt/patch-1
Ensure build.sh uses dependencies vendored by godeps
2015-07-22 17:30:06 -07:00
Jeff Zellner
57dbeaab8e use /usr/bin/env to find bash 2015-07-21 20:06:54 -06:00
Matt Button
e477ff2f94 Ensure build.sh uses dependencies vendored by godeps 2015-07-08 14:02:37 +01:00
Mitchell Hashimoto
f72bde409f don't compile for open/freebsd [GH-136] 2015-05-11 10:34:17 -07:00
Mitchell Hashimoto
0b058d6335 move the cli to the cli/ package so enterprising individuals can call it 2015-04-12 16:58:45 -07:00
Mitchell Hashimoto
a5c076851b scripts 2015-03-03 23:14:18 -08:00