Skip to content

Commit 0bb0d40

Browse files
committed
v67.0.0
1 parent 876be0f commit 0bb0d40

File tree

334 files changed

+783
-761
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

334 files changed

+783
-761
lines changed

.env

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
IMAGE=taskcluster/taskcluster:v66.0.0
2-
IMAGE_DEV=taskcluster/taskcluster:v66.0.0-devel
3-
IMAGE_GENERIC_WORKER=taskcluster/generic-worker:v66.0.0
1+
IMAGE=taskcluster/taskcluster:v67.0.0
2+
IMAGE_DEV=taskcluster/taskcluster:v67.0.0-devel
3+
IMAGE_GENERIC_WORKER=taskcluster/generic-worker:v67.0.0

CHANGELOG.md

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,60 @@
33
<!-- `yarn release` will insert the existing changelog snippets here: -->
44
<!-- NEXT RELEASE HERE -->
55

6+
## v67.0.0
7+
8+
### USERS
9+
10+
▶ [MAJOR] [#7126](https://github.com/taskcluster/taskcluster/issues/7126)
11+
d2g no longer includes `--privileged` in all generated `podman run` commands. This was previously introduced as a breaking change in release 61.0.0 (PR #6891) but has broken some tasks. The original reason for adding it (#6890) seems to no longer apply, as the original bug report is no longer reproducible. This therefore reverts the d2g treatment of the --privileged flag to how it was before release 61.0.0.
12+
13+
▶ [minor] [#7085](https://github.com/taskcluster/taskcluster/issues/7085)
14+
Worker-manager publishes more events to new exchanges in Pulse:
15+
- `worker-pool-error`
16+
- `worker-requested`
17+
- `worker-running`
18+
- `worker-stopped`
19+
20+
▶ [patch] [#7120](https://github.com/taskcluster/taskcluster/issues/7120)
21+
Removed memory, pid, and ulimits for d2g payloads.
22+
23+
### DEVELOPERS
24+
25+
▶ [patch]
26+
Updated azure test certificates.
27+
28+
### OTHER
29+
30+
▶ Additional change not described here: [#7095](https://github.com/taskcluster/taskcluster/issues/7095).
31+
32+
### Automated Package Updates
33+
34+
<details>
35+
<summary>20 Dependabot updates</summary>
36+
37+
* build(deps): bump the ui-node-deps group across 1 directory with 10 updates (b83e7dbe2)
38+
* build(deps): bump markdown-it from 12.3.2 to 14.1.0 in /ui (99770261c)
39+
* build(deps): bump react-codemirror2 from 7.3.0 to 8.0.0 in /ui (967f5f1fe)
40+
* build(deps): bump the go-deps group with 7 updates (fdb61b7a4)
41+
* build(deps): bump taskcluster from 65.1.0 to 66.0.0 in /taskcluster (15fe4fa58)
42+
* build(deps): bump taskcluster-taskgraph in /taskcluster (e92ef7929)
43+
* build(deps): bump ws from 8.5.0 to 8.17.1 in /workers/docker-worker (9604329d4)
44+
* build(deps): bump the client-node-deps group across 1 directory with 3 updates (d614b4b68)
45+
* build(deps): bump pug from 3.0.2 to 3.0.3 (f53a74456)
46+
* build(deps): bump @octokit/plugin-retry from 3.0.9 to 7.1.1 (6ff6da85c)
47+
* build(deps-dev): bump @testing-library/jest-dom in /ui (b5c00189f)
48+
* build(deps): bump the node-deps group across 1 directory with 22 updates (0f93c1e59)
49+
* build(deps-dev): bump the client-web-node-deps group across 1 directory with 2 updates (3ca58010d)
50+
* build(deps): bump @grpc/grpc-js from 1.9.8 to 1.10.10 (ef3a2daa7)
51+
* build(deps): bump braces from 3.0.2 to 3.0.3 (f2386f545)
52+
* build(deps): bump urllib3 from 2.0.7 to 2.2.2 in /taskcluster (ad955c802)
53+
* build(deps): bump braces from 3.0.2 to 3.0.3 in /clients/client (c918170cd)
54+
* build(deps): bump braces from 3.0.2 to 3.0.3 in /workers/docker-worker (ae3cf638a)
55+
* build(deps-dev): bump ws from 7.5.9 to 7.5.10 (6fea20c51)
56+
* build(deps): bump taskcluster from 64.2.7 to 65.1.0 in /taskcluster (68fdee7ce)
57+
58+
</details>
59+
660
## v66.0.0
761

862
### USERS

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ ARG DOCKER_FLOW_VERSION
4343
RUN if [ -n "${DOCKER_FLOW_VERSION}" ]; then \
4444
echo "${DOCKER_FLOW_VERSION}" > version.json; \
4545
else \
46-
echo \{\"version\": \"66.0.0\", \"commit\": \"local\", \"source\": \"https://github.com/taskcluster/taskcluster\", \"build\": \"NONE\"\} > version.json; \
46+
echo \{\"version\": \"67.0.0\", \"commit\": \"local\", \"source\": \"https://github.com/taskcluster/taskcluster\", \"build\": \"NONE\"\} > version.json; \
4747
fi
4848

4949
# Build the UI and discard everything else in that directory

changelog/Cis9v49JQoKJagsHqpGcOw.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

changelog/H0Ct7_leTvejnaMekiKJOw.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

changelog/issue-7085.md

Lines changed: 0 additions & 10 deletions
This file was deleted.

changelog/issue-7095.md

Lines changed: 0 additions & 4 deletions
This file was deleted.

changelog/issue-7120.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

changelog/issue-7126.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

clients/client-go/README.md

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Taskcluster Client for Go
22

33

4-
[![GoDoc](https://pkg.go.dev/github.com/taskcluster/taskcluster/v66/clients/client-go?status.svg)](https://pkg.go.dev/github.com/taskcluster/taskcluster/v66/clients/client-go)
4+
[![GoDoc](https://pkg.go.dev/github.com/taskcluster/taskcluster/v67/clients/client-go?status.svg)](https://pkg.go.dev/github.com/taskcluster/taskcluster/v67/clients/client-go)
55
[![License](https://img.shields.io/badge/license-MPL%202.0-orange.svg)](http://mozilla.org/MPL/2.0)
66

77
**A Taskcluster client library for Go.**
@@ -19,55 +19,55 @@ This library provides the following packages to interface with Taskcluster:
1919
### HTTP APIs
2020

2121
<!--HTTP-API-start-->
22-
* https://pkg.go.dev/github.com/taskcluster/taskcluster/v66/clients/client-go/tcauth
22+
* https://pkg.go.dev/github.com/taskcluster/taskcluster/v67/clients/client-go/tcauth
2323

24-
* https://pkg.go.dev/github.com/taskcluster/taskcluster/v66/clients/client-go/tcgithub
24+
* https://pkg.go.dev/github.com/taskcluster/taskcluster/v67/clients/client-go/tcgithub
2525

26-
* https://pkg.go.dev/github.com/taskcluster/taskcluster/v66/clients/client-go/tchooks
26+
* https://pkg.go.dev/github.com/taskcluster/taskcluster/v67/clients/client-go/tchooks
2727

28-
* https://pkg.go.dev/github.com/taskcluster/taskcluster/v66/clients/client-go/tcindex
28+
* https://pkg.go.dev/github.com/taskcluster/taskcluster/v67/clients/client-go/tcindex
2929

30-
* https://pkg.go.dev/github.com/taskcluster/taskcluster/v66/clients/client-go/tcnotify
30+
* https://pkg.go.dev/github.com/taskcluster/taskcluster/v67/clients/client-go/tcnotify
3131

32-
* https://pkg.go.dev/github.com/taskcluster/taskcluster/v66/clients/client-go/tcobject
32+
* https://pkg.go.dev/github.com/taskcluster/taskcluster/v67/clients/client-go/tcobject
3333

34-
* https://pkg.go.dev/github.com/taskcluster/taskcluster/v66/clients/client-go/tcpurgecache
34+
* https://pkg.go.dev/github.com/taskcluster/taskcluster/v67/clients/client-go/tcpurgecache
3535

36-
* https://pkg.go.dev/github.com/taskcluster/taskcluster/v66/clients/client-go/tcqueue
36+
* https://pkg.go.dev/github.com/taskcluster/taskcluster/v67/clients/client-go/tcqueue
3737

38-
* https://pkg.go.dev/github.com/taskcluster/taskcluster/v66/clients/client-go/tcsecrets
38+
* https://pkg.go.dev/github.com/taskcluster/taskcluster/v67/clients/client-go/tcsecrets
3939

40-
* https://pkg.go.dev/github.com/taskcluster/taskcluster/v66/clients/client-go/tcworkermanager
40+
* https://pkg.go.dev/github.com/taskcluster/taskcluster/v67/clients/client-go/tcworkermanager
4141
<!--HTTP-API-end-->
4242

4343
### AMQP APIs
4444

4545
<!--AMQP-API-start-->
46-
* https://pkg.go.dev/github.com/taskcluster/taskcluster/v66/clients/client-go/tcauthevents
46+
* https://pkg.go.dev/github.com/taskcluster/taskcluster/v67/clients/client-go/tcauthevents
4747

48-
* https://pkg.go.dev/github.com/taskcluster/taskcluster/v66/clients/client-go/tcgithubevents
48+
* https://pkg.go.dev/github.com/taskcluster/taskcluster/v67/clients/client-go/tcgithubevents
4949

50-
* https://pkg.go.dev/github.com/taskcluster/taskcluster/v66/clients/client-go/tchooksevents
50+
* https://pkg.go.dev/github.com/taskcluster/taskcluster/v67/clients/client-go/tchooksevents
5151

52-
* https://pkg.go.dev/github.com/taskcluster/taskcluster/v66/clients/client-go/tcnotifyevents
52+
* https://pkg.go.dev/github.com/taskcluster/taskcluster/v67/clients/client-go/tcnotifyevents
5353

54-
* https://pkg.go.dev/github.com/taskcluster/taskcluster/v66/clients/client-go/tcqueueevents
54+
* https://pkg.go.dev/github.com/taskcluster/taskcluster/v67/clients/client-go/tcqueueevents
5555

56-
* https://pkg.go.dev/github.com/taskcluster/taskcluster/v66/clients/client-go/tcworkermanagerevents
56+
* https://pkg.go.dev/github.com/taskcluster/taskcluster/v67/clients/client-go/tcworkermanagerevents
5757
<!--AMQP-API-end-->
5858

5959
### Setup
6060

6161
Before invoking API methods, create a client object corresponding to the service you wish to communicate with.
62-
See the [client subdirectories](https://pkg.go.dev/github.com/taskcluster/taskcluster/v66/clients/client-go#pkg-subdirectories) for the list of available packages, each beginning with `tc`.
62+
See the [client subdirectories](https://pkg.go.dev/github.com/taskcluster/taskcluster/v67/clients/client-go#pkg-subdirectories) for the list of available packages, each beginning with `tc`.
6363

6464
The most common case is to use `NewFromEnv`, reading environment variables for credentials:
6565

6666
```go
6767
import (
68-
"github.com/taskcluster/taskcluster/v66/clients/client-go/tcqueue"
68+
"github.com/taskcluster/taskcluster/v67/clients/client-go/tcqueue"
6969

70-
tcclient "github.com/taskcluster/taskcluster/v66/clients/client-go"
70+
tcclient "github.com/taskcluster/taskcluster/v67/clients/client-go"
7171
)
7272
queue := tcqueue.NewFromEnv()
7373
```
@@ -97,15 +97,15 @@ For example, the `CreateTask` method is called like this:
9797

9898
```go
9999
import (
100-
"github.com/taskcluster/taskcluster/v66/clients/client-go/tcqueue"
100+
"github.com/taskcluster/taskcluster/v67/clients/client-go/tcqueue"
101101
"github.com/taskcluster/slugid-go"
102102
)
103103
task := tcqueue.TaskDefinitionRequest{..};
104104
taskId: = slugid.Nice()
105105
status := queue.CreateTask(taskId, &task)
106106
```
107107

108-
Complete Godoc documentation of the available methods and types is [here](https://pkg.go.dev/github.com/taskcluster/taskcluster/v66/clients/client-go); see the "Directories" section to find the interfaces defined for specific services.
108+
Complete Godoc documentation of the available methods and types is [here](https://pkg.go.dev/github.com/taskcluster/taskcluster/v67/clients/client-go); see the "Directories" section to find the interfaces defined for specific services.
109109

110110
### Specifying exponential backoff settings for HTTP request retries
111111

@@ -120,7 +120,7 @@ something like this:
120120
import (
121121
"github.com/cenkalti/backoff/v3"
122122
"github.com/taskcluster/httpbackoff/v3"
123-
"github.com/taskcluster/taskcluster/v66/clients/client-go/tcqueue"
123+
"github.com/taskcluster/taskcluster/v67/clients/client-go/tcqueue"
124124
)
125125
queue := tcqueue.NewFromEnv()
126126
settings := &backoff.ExponentialBackOff{
@@ -142,7 +142,7 @@ queue.HTTPBackoffClient = &httpbackoff.Client{
142142

143143
API methods which take credentials and have method GET can be invoked with a signed URL.
144144
To generate such a URL, use the method with suffix `_SignedURL`, and pass as its final argument the duration for which the URL should be valid.
145-
For example, to generate a URL for [Queue.GetArtifact](https://pkg.go.dev/github.com/taskcluster/taskcluster/v66/clients/client-go/tcqueue#Queue.GetArtifact_SignedURL):
145+
For example, to generate a URL for [Queue.GetArtifact](https://pkg.go.dev/github.com/taskcluster/taskcluster/v67/clients/client-go/tcqueue#Queue.GetArtifact_SignedURL):
146146

147147
```go
148148
url := queue.GetArtifact_SignedURL(taskId, runId, "my/secret/artifact.txt", 5 * time.Minutes)
@@ -156,9 +156,9 @@ party. See [the manual](https://docs.taskcluster.net/docs/manual/design/env-vars
156156
more information.
157157

158158
Create named credentials with
159-
[`Credentials.CreateNamedTemporaryCredentials`](https://pkg.go.dev/github.com/taskcluster/taskcluster/v66/clients/client-go#Credentials.CreateNamedTemporaryCredentials),
159+
[`Credentials.CreateNamedTemporaryCredentials`](https://pkg.go.dev/github.com/taskcluster/taskcluster/v67/clients/client-go#Credentials.CreateNamedTemporaryCredentials),
160160
or unnamed credentials with
161-
[`Credentials.CreateTemporaryCredentials`](https://pkg.go.dev/github.com/taskcluster/taskcluster/v66/clients/client-go#Credentials.CreateTemporaryCredentials).
161+
[`Credentials.CreateTemporaryCredentials`](https://pkg.go.dev/github.com/taskcluster/taskcluster/v67/clients/client-go#Credentials.CreateTemporaryCredentials).
162162
Named credentials are preferred if you are not sure which type to use.
163163

164164
#### Example
@@ -173,8 +173,8 @@ import (
173173
"strconv"
174174
"time"
175175

176-
tcclient "github.com/taskcluster/taskcluster/v66/clients/client-go"
177-
"github.com/taskcluster/taskcluster/v66/clients/client-go/tcqueue"
176+
tcclient "github.com/taskcluster/taskcluster/v67/clients/client-go"
177+
"github.com/taskcluster/taskcluster/v67/clients/client-go/tcqueue"
178178
)
179179

180180
const (
@@ -229,7 +229,7 @@ func main() {
229229
### Handling Timestamps
230230

231231
Taskcluster uses RFC3339 timestamps, specifically with millisecond precision and a `Z` timestamp.
232-
To support serializing and deserializing this format exactly, use the [`tcclient.Time`](https://pkg.go.dev/github.com/taskcluster/taskcluster/v66/clients/client-go#Time) type instead of with the built-in `time.Time` type.
232+
To support serializing and deserializing this format exactly, use the [`tcclient.Time`](https://pkg.go.dev/github.com/taskcluster/taskcluster/v67/clients/client-go#Time) type instead of with the built-in `time.Time` type.
233233

234234
All timestamp arithmetic should be performed with the built-in `time` package.
235235

@@ -307,7 +307,7 @@ queue := tcqueue.New()
307307
data, contentType, contentLength, err := queue.DownloadArtifactToBuf(taskId, runId, name)
308308
```
309309

310-
See the [Go documentation](https://pkg.go.dev/github.com/taskcluster/taskcluster/v66/clients/client-go/tcqueue) for more detail.
310+
See the [Go documentation](https://pkg.go.dev/github.com/taskcluster/taskcluster/v67/clients/client-go/tcqueue) for more detail.
311311

312312
## Compatibility
313313

@@ -322,9 +322,9 @@ Any incompatibilities are noted in the [Changelog](https://github.com/taskcluste
322322

323323
To get you started quickly, some example programs are included that use both the HTTP APIs and the AMQP APIs:
324324

325-
* This [HTTP example program](https://pkg.go.dev/github.com/taskcluster/taskcluster/v66/clients/client-go/tcauth#example-package--Scopes) demonstrates the use of the [tcauth](https://pkg.go.dev/github.com/taskcluster/taskcluster/v66/clients/client-go/tcauth) package to query the expiry and expanded scopes of a given clientId.
326-
* This [HTTP example program](https://pkg.go.dev/github.com/taskcluster/taskcluster/v66/clients/client-go/tcauth#example-package--UpdateClient) demonstrates the use of the [tcauth](https://pkg.go.dev/github.com/taskcluster/taskcluster/v66/clients/client-go/tcauth) package to update an existing clientId with a new description and expiry.
327-
* The [AMQP example program](https://pkg.go.dev/github.com/taskcluster/taskcluster/v66/clients/client-go/tcqueueevents#example-package--TaskclusterSniffer) demonstrates the use of the [tcqueueevents](https://pkg.go.dev/github.com/taskcluster/taskcluster/v66/clients/client-go/tcqueueevents) package to listen in on Taskcluster tasks being defined and executed.
325+
* This [HTTP example program](https://pkg.go.dev/github.com/taskcluster/taskcluster/v67/clients/client-go/tcauth#example-package--Scopes) demonstrates the use of the [tcauth](https://pkg.go.dev/github.com/taskcluster/taskcluster/v67/clients/client-go/tcauth) package to query the expiry and expanded scopes of a given clientId.
326+
* This [HTTP example program](https://pkg.go.dev/github.com/taskcluster/taskcluster/v67/clients/client-go/tcauth#example-package--UpdateClient) demonstrates the use of the [tcauth](https://pkg.go.dev/github.com/taskcluster/taskcluster/v67/clients/client-go/tcauth) package to update an existing clientId with a new description and expiry.
327+
* The [AMQP example program](https://pkg.go.dev/github.com/taskcluster/taskcluster/v67/clients/client-go/tcqueueevents#example-package--TaskclusterSniffer) demonstrates the use of the [tcqueueevents](https://pkg.go.dev/github.com/taskcluster/taskcluster/v67/clients/client-go/tcqueueevents) package to listen in on Taskcluster tasks being defined and executed.
328328

329329
### Creating a Task
330330

@@ -338,8 +338,8 @@ import (
338338
"time"
339339

340340
"github.com/taskcluster/slugid-go/slugid"
341-
tcclient "github.com/taskcluster/taskcluster/v66/clients/client-go"
342-
"github.com/taskcluster/taskcluster/v66/clients/client-go/tcqueue"
341+
tcclient "github.com/taskcluster/taskcluster/v67/clients/client-go"
342+
"github.com/taskcluster/taskcluster/v67/clients/client-go/tcqueue"
343343
)
344344

345345
// *********************************************************

0 commit comments

Comments
 (0)