mirror of
https://github.com/certd/certd.git
synced 2026-05-01 02:17:27 +08:00
refactor: logs
This commit is contained in:
@@ -22,6 +22,7 @@ export class Executor {
|
|||||||
this.onChanged = options.onChanged;
|
this.onChanged = options.onChanged;
|
||||||
this.accessService = options.accessService;
|
this.accessService = options.accessService;
|
||||||
this.userId = options.userId;
|
this.userId = options.userId;
|
||||||
|
this.pipeline.userId = this.userId;
|
||||||
this.contextFactory = new ContextFactory(options.storage);
|
this.contextFactory = new ContextFactory(options.storage);
|
||||||
this.logger = logger;
|
this.logger = logger;
|
||||||
this.pipelineContext = this.contextFactory.getContext("pipeline", this.pipeline.id);
|
this.pipelineContext = this.contextFactory.getContext("pipeline", this.pipeline.id);
|
||||||
|
|||||||
@@ -64,6 +64,7 @@ export type Runnable = {
|
|||||||
|
|
||||||
export type Pipeline = Runnable & {
|
export type Pipeline = Runnable & {
|
||||||
version?: number;
|
version?: number;
|
||||||
|
userId: any;
|
||||||
stages: Stage[];
|
stages: Stage[];
|
||||||
triggers: Trigger[];
|
triggers: Trigger[];
|
||||||
};
|
};
|
||||||
|
|||||||
Submodule packages/server/certd-client updated: 51dd77563b...f7d9e45c8a
Submodule packages/server/certd-server updated: 1f108c8ee8...60695c2355
Reference in New Issue
Block a user