This project is mirrored from https://:*****@github.com/hashicorp/terraform.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 Jan, 2021 1 commit
    • Nick Fagerlund's avatar
      Remove website-test task from Makefile · bf5522aa
      Nick Fagerlund authored
      This task relied on using `wget` to spider the entire site, which is no longer a
      useful way of checking for broken links on a non-production instance of
      terraform.io. Also, it didn't include a step for pausing until the server came
      online, so the task wouldn't have functioned properly anyway.
      bf5522aa
  2. 02 Dec, 2020 1 commit
  3. 23 Sep, 2020 1 commit
  4. 12 Aug, 2020 1 commit
  5. 08 Jun, 2020 1 commit
    • Alisdair McDiarmid's avatar
      Makefile: remove unused targets · ba374bae
      Alisdair McDiarmid authored
      Most of the targets in the Makefile have not been used in either CI or
      the normal development workflow for some time. Removing them clarifies
      that the expected way to build Terraform locally is simple: go install.
      
      Remaining targets:
      
      - fmtcheck, generate: these are used in CI to verify that the code is
        correctly formatted and that generate has been run appropriately
      - protobuf: referenced in CONTRIBUTING.md as the simplest way to build
        the proto files
      - website, website-test: used to compile and test the local website in
        isolation from the terraform-website repo
      ba374bae
  6. 03 Mar, 2020 2 commits
  7. 12 Dec, 2019 1 commit
  8. 17 Oct, 2019 1 commit
  9. 06 Sep, 2019 1 commit
  10. 05 Sep, 2019 1 commit
  11. 06 Feb, 2019 1 commit
    • Martin Atkins's avatar
      build: Run "go generate" in modules mode · a9274bea
      Martin Atkins authored
      It seems that all of the tools we run here are now sufficiently
      modules-aware to run without problems in modules mode, and indeed running
      _not_ in modules mode was causing problems with locating packages in
      mockgen.
      a9274bea
  12. 01 Feb, 2019 1 commit
  13. 29 Jan, 2019 1 commit
  14. 10 Dec, 2018 1 commit
  15. 19 Nov, 2018 2 commits
    • Martin Atkins's avatar
      plugin: Establish our current plugin protocol as version 5 · 4fe9632f
      Martin Atkins authored
      The main significant change here is that the package name for the proto
      definition is "tfplugin5", which is important because this name is part
      of the wire protocol for references to types defined in our package.
      
      Along with that, we also move the generated package into "internal" to
      make it explicit that importing the generated Go package from elsewhere is
      not the right approach for externally-implemented SDKs, which should
      instead vendor the proto definition they are using and generate their
      own stubs to ensure that the wire protocol is the only hard dependency
      between Terraform Core and plugins.
      
      After this is merged, any provider binaries built against our
      helper/schema package will need to be rebuilt so that they use the new
      "tfplugin5" package name instead of "proto".
      
      In a future commit we will include more elaborate and organized
      documentation on how an external codebase might make use of our RPC
      interface definition to implement an SDK, but the primary concern here
      is to ensure we have the right wire package name before release.
      4fe9632f
    • Martin Atkins's avatar
      build: Update most things for Go 1.11 modules · c133de86
      Martin Atkins authored
      We're still using vendoring for now until we get _all_ of our tooling
      updated, so the main idea here is to force use of the vendor directory
      when running tests and building for development so we can quickly find
      situations where we forget to run "go mod vendor".
      
      We also setting GO111MODULE=off for installation of tools. Right now this
      is the best way to install a tool in GOBIN without also interfering with
      go.mod and go.sum, until a better pattern for managing tool dependencies
      is devised by the Go team.
      
      Finally, we run "go mod download" before launching "gox" in the main
      build process, to prime the local module cache once so that the concurrent
      "go build" processes won't race to populate it redundantly. This means
      that we'll be producing final builds from the module cache rather than
      from vendor as with everything else -- there's currently no way to tell
      gox to use -mod=vendor -- but that should be fine in practice since
      our go.sum file will ensure that we get the exact sources we expect in
      the module cache before building.
      c133de86
  16. 18 Oct, 2018 1 commit
    • Martin Atkins's avatar
      build: Take protoc out of the "go generate" path · ec57927e
      Martin Atkins authored
      Since protoc is not go-gettable, and most development tasks in Terraform
      won't involve recompiling protoc files anyway, we'll use a separate
      mechanism for these.
      
      This way "go generate" only depends on things we can "go get" in the
      "make tools" target.
      
      In a later commit we should also in some way specify a particular version
      of protoc to use so that we don't get "flapping" regenerations as
      developers work with different versions, but the priority here is just to
      make "make generate" minimally usable again to restore the dev workflow
      documented in the README.
      
      This also includes some updates that resulted from running "make generate"
      and "make protobuf" after those Makefile changes were in place.
      ec57927e
  17. 11 Oct, 2018 1 commit
  18. 02 May, 2018 1 commit
  19. 21 Feb, 2018 2 commits
  20. 28 Sep, 2017 1 commit
    • Martin Atkins's avatar
      build: run end-to-end tests during Travis run · f45aae9b
      Martin Atkins authored
      We don't usually run "acceptance tests" during a Travis run, but this
      particular suite doesn't require any special credentials since it just
      accesses releases.hashicorp.com to download plugins, so therefore it's
      safe to run in Travis at the expense of adding a few more seconds to
      the runtime.
      
      Running it in Travis can therefore give us some extra confidence for
      pull requests that may inadvertently break certain details of the
      workflow, as well as ensuring that these tests are kept up-to-date as
      the system changes.
      f45aae9b
  21. 28 Aug, 2017 1 commit
    • Martin Atkins's avatar
      build: Remove vendor-grepping from Makefile · 8cf6756a
      Martin Atkins authored
      As of Go 1.9, ./... excludes the vendor directory by default and so we
      no longer need to jump through hoops to exclude vendored packages from
      testing, vetting, etc.
      
      As a simplification this also re-introduces builtin/bins to the set of
      packages we run tests on. With the providers now split into their own
      repositories there's far fewer of these and so including them doesn't
      really hurt anything, and makes our invocations here simpler.
      8cf6756a
  22. 12 Jun, 2017 2 commits
    • James Bardin's avatar
      remove "core" distinction · 77a32f3d
      James Bardin authored
      Since there is little left that isn't core, remove the distinction for
      now to reduce confusion, since a "core" binary will mostly work except
      for provisioners.
      77a32f3d
    • James Bardin's avatar
      remove errcheck · 1bd0205e
      James Bardin authored
      The existing harness was only for aws, which fails now that aws is gone.
      1bd0205e
  23. 31 May, 2017 2 commits
  24. 23 May, 2017 1 commit
  25. 27 Apr, 2017 1 commit
  26. 28 Mar, 2017 1 commit
  27. 22 Mar, 2017 1 commit
    • James Bardin's avatar
      test changes to travis · 4ef90d80
      James Bardin authored
      Increase timeout to 60s. The consul backend tests come too close to that
      and timout every time they stall a little.
      4ef90d80
  28. 09 Mar, 2017 1 commit
  29. 17 Feb, 2017 1 commit
  30. 26 Jan, 2017 2 commits
  31. 20 Jan, 2017 1 commit
  32. 13 Jan, 2017 1 commit
  33. 24 Nov, 2016 1 commit
  34. 02 Sep, 2016 1 commit
    • Clint's avatar
      provider/aws: Run errcheck in tests (#8579) · 740b8bb9
      Clint authored
      * provider/aws: Add errcheck to Makefile, error on unchecked errors
      
      * more exceptions
      
      * updates for errcheck to pass
      
      * reformat and spilt out the ignore statements
      
      * narrow down ignores
      
      * fix typo, only ignore Close and Write, instead of close or write
      740b8bb9