John Murret
a2a9c963d6
Correcting an uncapitalized word setup at the beginning of titles to be capitalized in vault section. ( #12759 )
2022-04-12 09:44:41 -07:00
Evan Culver
3984d82e90
Fix build script ( #12367 )
2022-02-16 11:52:44 -08:00
Daniel Nephin
7080e26c83
Replace build script with 'go build'
2022-02-03 07:19:57 -08:00
Nathan Johnson
57ad2f5a35
Allow any supported goos/goarch combination to be built locally
...
fixes #9476
2020-12-29 22:04:19 -06:00
John Cowen
c98130cc08
ui: Move to Workspaced Structure ( #8994 )
...
* ui: Add the most basic workspace root in /ui
* We already have a LICENSE file in the repository root
* Change directory path in build scripts ui-v2 -> ui
* Make yarn install flags configurable from elsewhere
* Minimal workspace root makefile
* Call the new docker specific target
* Update yarn in the docker build image
* Reconfigure the netlify target and move to the higher makefile
* Move ui-v2 -> ui/packages/consul-ui
* Change repo root to refleect new folder structure
* Temporarily don't hoist consul-api-double
* Fixup CI configuration
* Fixup lint errors
* Fixup Netlify target
2020-10-21 15:23:16 +01:00
Paul Banks
a6c748ec1b
Refactor uiserver to separate package, cleaner Reloading
2020-10-01 11:32:25 +01:00
Alvin Huang
b478b09312
remove GIT_DESCRIBE variable since we have a revision line ( #8310 )
2020-07-14 15:17:45 -04:00
Matt Keeler
cdacfcaa6d
Pass the git commits year through as an env var to the ui build ( #7126 )
2020-01-24 10:40:14 -05:00
Matt Keeler
906eeefbac
Remove gox
usage ( #6596 )
2019-10-08 13:42:29 -04:00
R.B. Boyer
4b33f513ad
ui: fix 'make ui' again ( #5751 )
...
When the v1 ui was removed the ui build incorrectly copied everything
into a /dist/ subdirectory instead of directly into the top level.
2019-04-30 12:23:24 -05:00
Matt Keeler
96599dcd92
Build System Fixes for Go Modules ( #5655 )
...
* Docker based builds can now use the module cache
* Simplify building the consul-dev docker image.
* Make sure to pull the latest consul image.
* Allow selecting base image version for the dev image
2019-04-12 15:17:13 -04:00
Freddy
73f8286099
Remove old UI, option to use it, and its build processes
2019-04-12 09:02:27 -06:00
Hans Hasselberg
cf4eb2474a
fix remaining CI failures after Go 1.12.1 Upgrade ( #5576 )
2019-03-29 16:29:27 +01:00
Alvin Huang
b1e8299d5d
add optional parallel flag to gox
2019-03-20 15:19:27 -04:00
Jack Pearkes
5951f842d3
vendor: upgrade to latest version of gopsutil
2018-10-19 11:33:23 -07:00
Jack Pearkes
61b91e7ba2
build: exclude freebsd/arm
2018-10-19 11:32:35 -07:00
Mitchell Hashimoto
f01fc96161
Detect correct GOOS/ARCH for copying binary with build_consul_local
...
If GOOS/ARCH is set to something custom, we need to unset it before
testing the value so we can compare to the _original value_.
2018-09-10 10:25:15 -07:00
Siva Prasad
1932e25c98
Fixed a make build issue with Windows Binaries. ( #4538 )
...
* Fixed an issue where Windows binary had trouble being copied correctly
* Enclosed binname inside angular brackets
2018-08-17 09:31:57 -04:00
John Cowen
08fe675865
UI: Add conditional enterprise logo ( #4432 )
...
Adds additional 'enterprise' text underneath the 'startup' logo if the
ui is built with a CONSUL_BINARY_TYPE environment variable that doesn't
equal `oss`.
2018-07-30 17:59:43 +01:00
Matt Keeler
78124043bf
Fix cross compiling with make
...
make XC_OS=linux XC_ARCH=amd64 when running on macos puts its binaries in ${GOPATH}/bin/linux_amd64/consul and not ${GOPATH}/bin/consul
This makes the build pull the binary from the right location.
2018-07-25 15:21:11 -04:00
John Cowen
dbf2a84ff4
Tiny ui build additions
...
1. Use `ls -A` to list dotfiles also, ready for tarring
2. Don't copy ember's `./tmp` if you have one
2018-07-06 15:08:11 +01:00
Matt Keeler
1c7575f7cd
Fix default make target to build everything
2018-06-27 14:25:49 -04:00
Matt Keeler
579d6813f4
Make sure to disable cgo for dev builds without gox
2018-06-26 14:54:31 -04:00
Matt Keeler
50f43fe247
Create a new ui_version function to pull it out of an index.html file
...
Also verify the ui version after it was built that it matches the env var we set in the build container.
2018-06-26 11:22:13 -04:00
Matt Keeler
b3ced1fef1
Merge remote-tracking branch 'origin/feature/ui-build-version-messages' into bugfix/ui-release-version
2018-06-26 10:17:21 -04:00
Matt Keeler
19699dc5a0
Make sure the release builds for the UI version to be consistent with the binary version.
2018-06-26 09:39:34 -04:00
John Cowen
655a2dff2d
Adds version messages both before and after the ui-v2 build
...
1. Prints the $version that you are passing through to the docker
container
2. Prints the CONSUL_VERSION that is used in the UI v2 footer
3. Additionally added a `mkdir -p` so so `make ui-docker` runs with a
clean exit if run in isolation
2018-06-26 10:33:22 +01:00
Matt Keeler
5c9275c60b
Update ui-v2 makefile to handle updating node_modules when needed
...
Also dont include the dist and node_modules folders in the build context.
2018-06-19 13:51:49 -04:00
Matt Keeler
2d863b8d4c
PR Updates
2018-06-19 12:47:58 -04:00
Matt Keeler
36e789e957
Fix a couple find warnings on linux
...
Additionally add the ability to use go install for dev builds rather than gox (travis doesn’t have gox)
2018-06-19 10:49:07 -04:00
Matt Keeler
b6aecb2d77
Refactor a little to accomodate overriding packaging using directories
2018-06-18 11:33:16 -04:00
Matt Keeler
e7b0a729ea
Only remove builds with the same suffix
2018-06-18 09:57:12 -04:00
Matt Keeler
7d2c8689f5
Update the name of a function source
2018-06-18 09:21:38 -04:00