You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 20, 2020. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+17-3Lines changed: 17 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,12 @@ If you prefer not to use a prepackaged binary, or want to have the latest unrele
26
26
* Run `go get github.com/taskcluster/livelog`
27
27
* Run `go get github.com/taskcluster/taskcluster-proxy`
28
28
29
+
Run `go get -tags nativeEngine github.com/taskcluster/generic-worker` (all platforms) and/or `go get -tags dockerEngine github.com/taskcluster/generic-worker` (linux only). This should also build binaries for your platform.
30
+
31
+
Run `./build.sh` to check go version, generate code, build binaries, compile (but not run) tests, perform linting, and ensure there are no ineffective assignments in go code.
32
+
33
+
`./build.sh` takes optional arguments, `-a` to build all platforms, and `-t` to run tests. By default tests are not run and only the current platform is built.
34
+
29
35
All being well, the binaries will be built under `${GOPATH}/bin`.
30
36
31
37
# Acquire taskcluster credentials for running tests
@@ -86,7 +92,7 @@ Once you have been granted the above scope:
86
92
To see a full description of all the config options available to you, run `generic-worker --help`:
87
93
88
94
```
89
-
generic-worker 14.1.0
95
+
generic-worker 14.1.1
90
96
91
97
generic-worker is a taskcluster worker that can run on any platform that supports go (golang).
92
98
See http://taskcluster.github.io/generic-worker/ for more details. Essentially, the worker is
@@ -340,7 +346,7 @@ and reports back results to the queue.
340
346
taskclusterProxyPort Port number for taskcluster-proxy HTTP requests.
341
347
[default: 80]
342
348
tasksDir The location where task directories should be
343
-
created on the worker. [default: /home]
349
+
created on the worker. [default: /Users]
344
350
workerGroup Typically this would be an aws region - an
345
351
identifier to uniquely identify which pool of
346
352
workers this worker logically belongs to.
@@ -441,7 +447,7 @@ go test -v ./...
441
447
Run the `release.sh` script like so:
442
448
443
449
```
444
-
$ ./release.sh 14.1.0
450
+
$ ./release.sh 14.1.1
445
451
```
446
452
447
453
This will perform some checks, tag the repo, push the tag to github, which will then trigger travis-ci to run tests, and publish the new release.
@@ -452,9 +458,17 @@ See [worker_types README.md](https://github.com/taskcluster/generic-worker/blob/
452
458
453
459
# Release notes
454
460
461
+
In v14.1.1 since v14.1.0
462
+
========================
463
+
464
+
*[Bug 1548829 - generic-worker: log header should mention provisionerId](https://bugzil.la/1548829)
465
+
*[Bug 1551164 - [mounts] Not able to rename dir caches/*** as tasks/task_***/***: rename caches/*** tasks/task_***/***: file exists](https://bugzil.la/1551164)
466
+
455
467
In v14.1.0 since v14.0.2
456
468
========================
457
469
470
+
__Please don't use release 14.1.0 on macOS/linux due to [bug 1551164](https://bugzil.la/1551164) which will be fixed in v14.1.1.__
471
+
458
472
*[Bug 1436195 - Add support for live-logs via websocktunnel](https://bugzil.la/1436195) (note that existing livelog support via stateless DNS still works)
459
473
460
474
To enable websocktunnel, include configuration options `wstAudience` and `wstServerURL` to correspond to the websocktunnel server the worker should use.
| sed "s_\\(generic-worker/releases/download/v\\)[^/]*\\(/generic-worker-nativeEngine-windows-\\)_\\1${NEW_GW_VERSION}\\2_"| sed "s_\\(\"generic-worker \\)[^ ]*\\(.*\\)\$_\\1${NEW_GW_VERSION}\\2_" \
@@ -111,7 +111,7 @@ for MANIFEST in *-b.json *-cu.json *-beta.json; do
111
111
cat "${MANIFEST}">"${MANIFEST}.bak"
112
112
THIS_ARCH="$(cat "${MANIFEST}"| sed -n 's/.*\/generic-worker-nativeEngine-windows-\(.*\)\.exe.*/\1/p'| sort -u)"
113
113
if [ "${THIS_ARCH}"!="386" ] && [ "${THIS_ARCH}"!="amd64" ];then
0 commit comments