Closed Bug 1314982 Opened 9 years ago Closed 9 years ago

taskcluster-worker doesn't build properly on travis

Categories

(Taskcluster :: Workers, defect)

All
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: wcosta, Unassigned)

References

Details

Travis build OSX on a Linux host. taskcluster-worker needs CGO_ENABLE=1, but that requires Mac OSX SDK. One solution is download it from tooltool.
Commits pushed to master at https://github.com/taskcluster/taskcluster-worker https://github.com/taskcluster/taskcluster-worker/commit/71f3b9f3292462a18f166c533cc4f36dbb35644b Bug 1314982 part 1: Use travis provided go package. Travis now supports go 1.7, let's use it. https://github.com/taskcluster/taskcluster-worker/commit/810f5c89e5e6bb0297c33fdb645c0eccb01d9ee2 Bug 1314982 part 2: Build OSX in the osx host. To build taskcluster-worker properly on OSX, we need MacOSX SDK, which is provided by the OSX host environment in travis. https://github.com/taskcluster/taskcluster-worker/commit/8f66c8283b20bd96e78d8200377419fc8ec8515a Bug 1314982 part 3: run tests for OSX. https://github.com/taskcluster/taskcluster-worker/commit/b96b79391b424cfe234f1f02fb6e119b0d1038e3 Bug 1314982 part 4: Remove MY_ environment variables. MY_* environment variables was a hack to avoid conflitcs between system and download versions of go. Now that we are using system go again, they are unneed.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Blocks: 1322921
Component: Worker → Workers
You need to log in before you can comment on or make changes to this bug.