Skip to content

Commit 7b7a4d6

Browse files
authored
Merge pull request #5299 from taskcluster/feature/4999-azure-workers-registration-issue
feat(worker-manager): Azure provider logs extra information
2 parents 18afc62 + ec7f8f8 commit 7b7a4d6

File tree

6 files changed

+9
-0
lines changed

6 files changed

+9
-0
lines changed

changelog/issue-4999.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
audience: general
2+
level: silent
3+
reference: issue 4999
4+
---

generated/references.json

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

services/worker-manager/src/monitor.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ MonitorManager.register({
2525
providerId: 'The provider that did the work for this worker pool.',
2626
workerGroup: 'The worker group for this worker',
2727
workerId: 'The worker that was created',
28+
terminateAfter: 'Time after which worker should be terminated',
2829
},
2930
});
3031

services/worker-manager/src/providers/aws.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,7 @@ class AwsProvider extends Provider {
228228
providerId: this.providerId,
229229
workerGroup: config.region,
230230
workerId: i.InstanceId,
231+
terminateAfter,
231232
});
232233
const worker = Worker.fromApi({
233234
workerPoolId,

services/worker-manager/src/providers/azure/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,7 @@ class AzureProvider extends Provider {
415415
providerId: this.providerId,
416416
workerGroup,
417417
workerId: virtualMachineName,
418+
terminateAfter,
418419
});
419420
const worker = Worker.fromApi({
420421
workerPoolId,

services/worker-manager/src/providers/google.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,7 @@ class GoogleProvider extends Provider {
313313
providerId: this.providerId,
314314
workerGroup,
315315
workerId: op.targetId,
316+
terminateAfter,
316317
});
317318
const worker = Worker.fromApi({
318319
workerPoolId,

0 commit comments

Comments
 (0)