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.
  1. 13 Nov, 2017 1 commit
  2. 10 Nov, 2017 1 commit
  3. 03 Nov, 2017 1 commit
  4. 01 Nov, 2017 1 commit
  5. 31 Oct, 2017 2 commits
  6. 26 Oct, 2017 2 commits
  7. 24 Oct, 2017 2 commits
  8. 23 Oct, 2017 2 commits
  9. 19 Oct, 2017 2 commits
  10. 17 Oct, 2017 2 commits
  11. 16 Oct, 2017 1 commit
  12. 27 Sep, 2017 1 commit
  13. 26 Sep, 2017 1 commit
  14. 19 Sep, 2017 2 commits
  15. 09 Sep, 2017 2 commits
    • James Nugent's avatar
    • James Nugent's avatar
      build: Rework Vagrant to support multiple OS boxes · f8ff0463
      James Nugent authored
      This commit reworks the Vagrantfile for Nomad in order to support
      straightforward testing on more than one operating system, whilst
      retaining the ability to stand up a test cluster running Ubuntu.
      
      The following changes are made:
      
      - Scripts have been extracted from the Vagrantfile into their own shell
        script files, in order that editors lint them.
      
      - All scripts have been edited to lint with no warnings or errors for
        their respective shells.
      
      - Scripts are named according to the operating system and privilege
        level which they run. We prefer to run a whole shell script as root
        versus prefixing (essentially) every command with `sudo` or an
        equivalent.
      
      - The Linux development box has been separated from the test cluster,
        removing some of the more gnarly (and less portable) logic. The Linux
        development box is still primary and autostarts.
      
      - A FreeBSD target has been added. The base box works for both
        Virtualbox and VMWare Fusion.
      
      - A target...
      f8ff0463
  16. 08 Sep, 2017 1 commit
  17. 06 Sep, 2017 1 commit
  18. 29 Aug, 2017 2 commits
  19. 22 Aug, 2017 2 commits
  20. 21 Aug, 2017 1 commit
  21. 18 Aug, 2017 1 commit
    • James Nugent's avatar
      build: Replace shell scripts with GNUmakefile · dcdc91fb
      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
      dcdc91fb
  22. 03 Aug, 2017 1 commit
  23. 02 Aug, 2017 1 commit
  24. 29 Jul, 2017 1 commit
  25. 13 Mar, 2017 1 commit
    • James Nugent's avatar
      build: Add Vault as an external test dependency · ec91903c
      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.
      ec91903c
  26. 09 Mar, 2017 1 commit
  27. 03 Mar, 2017 1 commit
  28. 28 Feb, 2017 1 commit
    • Alex Dadgar's avatar
      Fix vet script and fix vet problems · 07f7e195
      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>`.
      07f7e195
  29. 28 Jan, 2017 2 commits
    • Michael Schurter's avatar
      Make sed macos compatible · 2843c059
      Michael Schurter authored
      Saves a backup file using a gitignored extension.
      2843c059
    • Michael Schurter's avatar
      Split dev build into its own script · c5f9144e
      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.
      c5f9144e