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. 14 Jun, 2022 3 commits
  2. 13 Jun, 2022 1 commit
  3. 10 Jun, 2022 2 commits
  4. 09 Jun, 2022 2 commits
  5. 08 Jun, 2022 2 commits
  6. 07 Jun, 2022 1 commit
  7. 06 Jun, 2022 3 commits
  8. 03 Jun, 2022 2 commits
  9. 27 May, 2022 2 commits
  10. 26 May, 2022 1 commit
  11. 24 May, 2022 1 commit
  12. 20 May, 2022 2 commits
  13. 19 May, 2022 6 commits
  14. 16 May, 2022 1 commit
  15. 13 May, 2022 2 commits
    • hc-github-team-nomad-core's avatar
    • hc-github-team-nomad-core's avatar
      docs: update json jobs docs (#12766) (#13005) · 8a8188da
      hc-github-team-nomad-core authored
      * docs: update json jobs docs
      
      Did you know that Nomad has not 1 but 2 JSON formats for jobs? 2½ if you
      want to acknowledge that sometimes our JSON job representations have a
      Job top-level wrapper and sometimes do not.
      
      The 2½ formats are:
      ```
       1.   HCL JSON
       2.   Input API JSON (top-level Job field)
       2.5. Output API JSON (lacks top-level Job field)
      ```
      
      `#2` is what our docs consider our API JSON. `#2.5` seems to be an
      accident of history we can't fix with breaking API compatibility.
      
      `#1` is an even more interesting accident of history: the `jobspec2`
      package automatically detects if the input to Parse is JSON and switches
      to a JSON parser. This behavior is undocumented, the format is
      unspecified, and there is no official HashiCorp tooling to produce this
      JSON from HCL. The plot thickens when you discover popular third party
      tools like hcl2json.com and https://github.com/tmccombs/hcl2json seem to
      produce JSON that `nomad run` accepts!
      
      Since we have no telemetry around whether or not anyone passes HCL JSON
      to `nomad run`, and people don't file bugs around features that Just
      Work, I'm choosing to leave that code path in place and *acknowledged
      but not suggested* in documentation.
      
      See https://github.com/hashicorp/hcl/issues/498
      
       for a more comprehensive
      discussion of what officially supporting HCL JSON in Nomad would look
      like.
      
      (I also added some of the missing fields to the (Input API flavor) JSON
      Job documentation, but it still needs a lot of work to be
      comprehensive.)
      Co-authored-by: default avatarTim Gross <tgross@hashicorp.com>
      Co-authored-by: default avatartemp <temp@hashicorp.com>
      Co-authored-by: default avatarTim Gross <tgross@hashicorp.com>
      8a8188da
  16. 12 May, 2022 1 commit
  17. 11 May, 2022 2 commits
  18. 10 May, 2022 2 commits
  19. 06 May, 2022 2 commits
    • modrake's avatar
      Merge pull request #12913 from hashicorp/mdrake/svc-acct-codeowner · 9f33848e
      modrake authored
      add service acct to codeowners for backport merging
      9f33848e
    • Luiz Aoqui's avatar
      ci: revert file changes and add some checks (#12873) · efe5188e
      Luiz Aoqui authored
      During the release there are several files that need to be modified:
      
        - .release/ci.hcl: the notification channel needs to be updated to a
          channel with greater team visibility during the release.
        - version/version.go: the Version and VersionPrerelease variables
          need to be set so they match the release version.
      
      After the release these files need to be reverted.
      
      For GA releases the following additional changes also need to happen:
      
        - version/version.go: the Version variable needs to be bumped to the
          next version number.
        - GNUMakefile: the LAST_RELEASE variable needs to be set to the
          version that was just released.
      
      Since the release process will commit file changes to the branch being
      used for the release, it should _never_ run on main, so the first step
      is now to protect against that.
      
      It also adds a validation to make the user input version is correct.
      
      After looking at the different release options and steps I noticed that
      automatic CHANGELOG generation is actually the exception, so it would be
      better to have the default to be false.
      efe5188e
  20. 05 May, 2022 2 commits