This project is mirrored from https://gitee.com/mirrors/nomad.git.
Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
- 22 Aug, 2017 2 commits
-
-
Alex Dadgar authored
-
Alex Dadgar authored
-
- 21 Aug, 2017 1 commit
-
-
Alex Dadgar authored
-
- 18 Aug, 2017 1 commit
-
-
James Nugent authored
This commit replaces the shell script-driven build process for Nomad with one based around GNU Make (note we _do_ use GNU-specific constructs), requiring no additional scripts for common cases of development. The following targets are implemented: Per-OS/arch combinations: Binaries (Host - Mac OS X): pkg/darwin_amd64/nomad Binaries (Host - Linux): pkg/linux_386/nomad pkg/linux_amd64/nomad pkg/linux_amd64-lxc/nomad pkg/linux_arm/nomad pkg/linux_arm64/nomad pkg/windows_386/nomad pkg/windows_amd64/nomad Packages (Host - Mac OS X): pkg/darwin_amd64.zip Packages (Host - Linux): pkg/linux_386.zip pkg/linux_amd64.zip pkg/linux_amd64-lxc.zip pkg/linux_arm.zip pkg/linux_arm64.zip pkg/windows_386.zip pkg/windows_amd64.zip Phony targets: dev - Builds for the current host GOOS/GOARCH (unless overriden in the environment) release - Builds all appropriate release packages for the current host GOOS/GOARCH (i.e. Windows and Linux packages on a Linux host, Darwin packages on an OSX host) generate - Generate code for the current host architecture using `go generate`. test - Runs the Nomad test suite clean - Removes build artifacts travis - Runs `make test` with the wrapper script to prevent Travis CI from timing out. help - Displays usage information about commonly used targets. Note that there are some semantic differences from the previous version. 1. `generate` is no longer a dependency of `dev` builds. This is because it causes a rebuild every time, even when no code has changed, since `go generate` does not appear to leave file timestamps alone. Regardless, it is insufficient to generate on one host OS - it needs to be run on each target to ensure everything is generated correctly. 2. `gofmt` is no longer checked. This should be enabled as a linter once the `gofmt -s` refactoring will pass on the whole code base, in order to avoid special cased checks versus using go-metalinter. Example Usages: Make a development build for the current GOOS/GOARCH: make dev Make release build packages appropriate for the host OS: make release Update generated code for the host OS: make generate Run linting checks: make check Build a specific alternative GOOS/GOARCH/tags combination: make pkg/linux_amd64-pkg/nomad make pkg/linux_amd64-pkg.zip
-
- 03 Aug, 2017 1 commit
-
-
Michael Schurter authored
This reverts commit 9f2ea928.
-
- 02 Aug, 2017 1 commit
-
-
Seth Vargo authored
-
- 29 Jul, 2017 1 commit
-
-
James Nugent authored
gox has not been used since commit 1aec23bb, so there is no need to install it during bootstrap.
-
- 13 Mar, 2017 1 commit
-
-
James Nugent authored
Vault is required for the fingerprinting tests but is not currently installed by the build process. This commit adds a new category of external tools for test dependencies and `go get`'s them during the bootstrap. We also fix the syntax of the Makefile to use tabs throughout.
-
- 09 Mar, 2017 1 commit
-
-
Michael Schurter authored
make dev properly copies the binary into bin/ again. make release still creates binaries for as many archs as possible. Fixes #2407
-
- 03 Mar, 2017 1 commit
-
-
Alex Dadgar authored
-
- 28 Feb, 2017 1 commit
-
-
Alex Dadgar authored
This PR fixes our vet script and fixes all the missed vet changes. It also fixes pointers being printed in `nomad stop <job>` and `nomad node-status <node>`.
-
- 28 Jan, 2017 2 commits
-
-
Michael Schurter authored
Saves a backup file using a gitignored extension.
-
Michael Schurter authored
The dev build is far simpler than the release build, so move it to its own shell script. This simplifies the release build script slightly as well at the cost of duplicating the version/tag logic. Also don't even try to check for LXC if not running on Linux. I don't think we want to try to support cross-compiling LXC from non-Linux hosts.
-
- 22 Oct, 2016 1 commit
-
-
Seth Vargo authored
-
- 25 Aug, 2016 1 commit
-
-
Alex Dadgar authored
-
- 22 Aug, 2016 1 commit
-
-
Diptanu Choudhury authored
-
- 17 Aug, 2016 1 commit
-
-
Alex Dadgar authored
-
- 02 Aug, 2016 1 commit
-
-
Kenjiro Nakayama authored
-
- 11 Jul, 2016 1 commit
-
-
Diptanu Choudhury authored
-
- 17 Jun, 2016 1 commit
-
-
Sean Chittenden authored
-
- 11 Jun, 2016 1 commit
-
-
Alex Dadgar authored
-
- 05 May, 2016 1 commit
-
-
Sean Chittenden authored
-
- 24 Mar, 2016 1 commit
-
-
Alex Dadgar authored
-
- 03 Mar, 2016 1 commit
-
-
Jake Champlin authored
We recently ran into an issue on a small percentage of nomad-clients where the nomad-client was running successfully, but due to a race condition, could not correctly bind to the docker socket. This caused all of our nomad jobs to be allocated to a single nomad-client instead of being spread evenly across our clients. The only way to discover this was to run `nomad node-status <node>` and count each job allocation per node. This can lead to a fairly long debugging process if there are several nomad-clients. Including the number of allocations for each node in the `node-status` command would save a large amount of debug time. ``` jake@biscuits [12:08:41] [~] -> % nomad node-status ID Datacenter Name Class Drain Status Allocations 2b0aabc5 dc1 biscuits <none> false ready 0 ``` ``` jake@biscuits [12:08:55] [~] -> % nomad node-status ID Datacenter Name Class Drain Status Allocations 2b0aabc5 dc1 biscuits <none> false ready 1 ```
-
- 02 Mar, 2016 1 commit
-
-
Abhishek Chanda authored
- Introduces a travis target in Makefile to update docker and install rkt
-
- 21 Feb, 2016 3 commits
-
-
Alex Dadgar authored
-
Alex Dadgar authored
-
Alex Dadgar authored
-
- 16 Feb, 2016 1 commit
-
-
Diptanu Choudhury authored
-
- 13 Feb, 2016 1 commit
-
-
Sean Chittenden authored
-
- 12 Feb, 2016 2 commits
-
-
Diptanu Choudhury authored
-
Diptanu Choudhury authored
-
- 03 Feb, 2016 1 commit
-
-
Abhishek Chanda authored
Lifted from https://github.com/fsouza/go-dockerclient
-
- 28 Jan, 2016 1 commit
-
-
Jake Champlin authored
BSD Make uses `$.CURDIR` instead of `$CURDIR`. BSD and GNU share `$PWD` though, so it works as a drop in replacement. Also update scripts in `scripts/` to call `/usr/bin/env` in the shebang, as BSD places `bash` at `/usr/local/bin/bash` instead of `/bin/bash`
-
- 05 Jan, 2016 1 commit
-
-
Abhishek Chanda authored
These two tools are used in the "cov" Makefile target, but installing these were not automated. This PR removes the ambiguity where a developer tries to do a `make cov` and finds that the tools are not installed.
-
- 11 Dec, 2015 1 commit
-
-
Chris Bednarski authored
-
- 30 Sep, 2015 2 commits
- 29 Sep, 2015 1 commit
-
-
Ryan Uber authored
-
- 28 Sep, 2015 1 commit
-
-
Mitchell Hashimoto authored
-