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. 28 Mar, 2017 1 commit
  2. 27 Mar, 2017 2 commits
  3. 24 Mar, 2017 1 commit
  4. 22 Mar, 2017 2 commits
  5. 21 Mar, 2017 5 commits
    • Alex Dadgar's avatar
      Changelog · 84789d4d
      Alex Dadgar authored
      84789d4d
    • Alex Dadgar's avatar
      Merge pull request #2465 from hashicorp/b-plan-diff · 2e472f63
      Alex Dadgar authored
      Fix diff alignment and remove no change DC
      2e472f63
    • Alex Dadgar's avatar
      Fix diff alignment and remove no change DC · c4435ee7
      Alex Dadgar authored
      Old Output:
      ```
      +/- Job: "example"
          Datacenters {
        Datacenters: "dc1"
      }
      +/- Task Group: "cache" (1 create/destroy update)
        +/- RestartPolicy {
          +/- Attempts: "10" => "9"
              Delay:    "25000000000"
              Interval: "300000000000"
              Mode:     "delay"
        }
        +/- EphemeralDisk {
              Migrate: "false"
          +/- SizeMB:  "300" => "301"
              Sticky:  "false"
        }
        +/- Task: "redis" (forces create/destroy update)
          +   Meta[key]: "value"
          +/- Config {
                image:           "redis:3.2"
            +/- port_map[0][db]: "6379" => "6380"
          }
          +/- Resources {
                CPU:      "500"
                DiskMB:   "0"
                IOPS:     "0"
            +/- MemoryMB: "256" => "257"
          }
          +/- Service {
                Name:      "global-redis-check"
                PortLabel: "db"
            +/- Check {
                  Command:       ""
                  InitialStatus: ""
                  Interval:      "10000000000"
                  Name:          "alive"
                  Path:          ""
                  PortLabel:     ""
                  Protocol:      ""
              +/- Timeout:       "2000000000" => "3000000000"
                  Type:          "tcp"
            }
          }
      ```
      
      New Output:
      ```
      +/- Job: "example"
      +/- Task Group: "cache" (1 create/destroy update)
        +/- RestartPolicy {
          +/- Attempts: "10" => "9"
              Delay:    "25000000000"
              Interval: "300000000000"
              Mode:     "delay"
            }
        +/- EphemeralDisk {
              Migrate: "false"
          +/- SizeMB:  "300" => "301"
              Sticky:  "false"
            }
        +/- Task: "redis" (forces create/destroy update)
          +   Meta[key]: "value"
          +/- Config {
                image:           "redis:3.2"
            +/- port_map[0][db]: "6379" => "6380"
              }
          +/- Resources {
                CPU:      "500"
                DiskMB:   "0"
                IOPS:     "0"
            +/- MemoryMB: "256" => "257"
              }
          +/- Service {
                Name:      "global-redis-check"
                PortLabel: "db"
            +/- Check {
                  Command:       ""
                  InitialStatus: ""
                  Interval:      "10000000000"
                  Name:          "alive"
                  Path:          ""
                  PortLabel:     ""
                  Protocol:      ""
              +/- Timeout:       "2000000000" => "3000000000"
                  Type:          "tcp"
                }
              }
      ```
      c4435ee7
    • Alex Dadgar's avatar
      Fix output alignment and remove no-change DC · 456da653
      Alex Dadgar authored
      Old Output:
      
      ```
      +/- Job: "example"
          Datacenters {
        Datacenters: "dc1"
      }
      +/- Task Group: "cache" (1 create/destroy update)
        +/- RestartPolicy {
          +/- Attempts: "10" => "9"
              Delay:    "25000000000"
              Interval: "300000000000"
              Mode:     "delay"
        }
        +/- EphemeralDisk {
              Migrate: "false"
          +/- SizeMB:  "300" => "301"
              Sticky:  "false"
        }
        +/- Task: "redis" (forces create/destroy update)
          +   Meta[key]: "value"
          +/- Config {
                image:           "redis:3.2"
            +/- port_map[0][db]: "6379" => "6380"
          }
          +/- Resources {
                CPU:      "500"
                DiskMB:   "0"
                IOPS:     "0"
            +/- MemoryMB: "256" => "257"
          }
          +/- Service {
                Name:      "global-redis-check"
                PortLabel: "db"
            +/- Check {
                  Command:       ""
                  InitialStatus: ""
                  Interval:      "10000000000"
                  Name:          "alive"
                  Path:          ""
                  PortLabel:     ""
                  Protocol:      ""
              +/- Timeout:       "2000000000" => "3000000000"
                  Type:          "tcp"
            }
          }
      ```
      
      New Output:
      
      ```
      +/- Job: "example"
      +/- Task Group: "cache" (1 create/destroy update)
        +/- RestartPolicy {
          +/- Attempts: "10" => "9"
              Delay:    "25000000000"
              Interval: "300000000000"
              Mode:     "delay"
            }
        +/- EphemeralDisk {
              Migrate: "false"
          +/- SizeMB:  "300" => "301"
              Sticky:  "false"
            }
        +/- Task: "redis" (forces create/destroy update)
          +   Meta[key]: "value"
          +/- Config {
                image:           "redis:3.2"
            +/- port_map[0][db]: "6379" => "6380"
              }
          +/- Resources {
                CPU:      "500"
                DiskMB:   "0"
                IOPS:     "0"
            +/- MemoryMB: "256" => "257"
              }
          +/- Service {
                Name:      "global-redis-check"
                PortLabel: "db"
            +/- Check {
                  Command:       ""
                  InitialStatus: ""
                  Interval:      "10000000000"
                  Name:          "alive"
                  Path:          ""
                  PortLabel:     ""
                  Protocol:      ""
              +/- Timeout:       "2000000000" => "3000000000"
                  Type:          "tcp"
                }
              }
      ```
      456da653
    • Alex Dadgar's avatar
      Version bump · 4cac484c
      Alex Dadgar authored
      4cac484c
  6. 20 Mar, 2017 5 commits
  7. 18 Mar, 2017 1 commit
  8. 17 Mar, 2017 3 commits
  9. 16 Mar, 2017 4 commits
  10. 15 Mar, 2017 10 commits
  11. 14 Mar, 2017 6 commits