Uploaded image for project: 'MongoDB ETL Tools'
  1. MongoDB ETL Tools
  2. TOOLS-2157

Update server vendoring

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.19, 4.0.5, 3.6.10, 4.1.7
    • Component/s: None
    • Labels:
      None

      Description

      Once we merge most of TOOLS-2022, the server's tools vendoring will likely be broken. Here are the steps required to fix it:

      • Relocate vended code to a GOPATH like structure (e.g. src/mongo/gotools/src/github.com/mongodb/mongo-tools and fix "go build" output binary path in Evergreen configs (evergreen.yml and system_perf.yml)
      • Update kernel-tools vendoring code to vendor tools to the new directory
      • Revendor new tools code
      • Update server Evergreen configs (evergreen.yml and system_perf.yml):
        • Remove version string munging shell code
        • Source the new set_goenv.sh file instead of set_gopath.sh and call its functions to set the environment and an ldflags variable
        • Remove gorootvars from functions and buildvariants and add the {{ldflags} argument to all "go build" calls
      • Test and backport

        Attachments

          Activity

            People

            • Assignee:
              david.golden David Golden
              Reporter:
              david.golden David Golden
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: