Skip to content

Commit

Permalink
Add descriptions for task types as comments in protobuf schema
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Rutkowski <[email protected]>
  • Loading branch information
mrutkows committed Feb 9, 2024
1 parent 1c293d8 commit 233bcc5
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions schema/bom-1.6.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1481,30 +1481,30 @@ message Condition {
}

enum TaskType {
// A task that copies software or data used to accomplish other tasks in the workflow.
TASK_TYPE_COPY = 0;
// A task that copies software or data used to accomplish other tasks in the workflow.
// A task that clones a software repository into the workflow in order to retrieve its source code or data for use in a build step.
TASK_TYPE_CLONE = 1;
// A task that clones a software repository into the workflow in order to retrieve its source code or data for use in a build step.
TASK_TYPE_LINT = 2;
// A task that checks source code for programmatic and stylistic errors.
TASK_TYPE_SCAN = 3;
TASK_TYPE_LINT = 2;
// A task that performs a scan against source code, or built or deployed components and services. Scans are typically run to gather or test for security vulnerabilities or policy compliance.
TASK_TYPE_MERGE = 4;
TASK_TYPE_SCAN = 3;
// A task that merges changes or fixes into source code prior to a build step in the workflow.
TASK_TYPE_BUILD = 5;
TASK_TYPE_MERGE = 4;
// A task that builds the source code, dependencies and/or data into an artifact that can be deployed to and executed on target systems.
TASK_TYPE_TEST = 6;
TASK_TYPE_BUILD = 5;
// A task that verifies the functionality of a component or service.
TASK_TYPE_DELIVER = 7;
TASK_TYPE_TEST = 6;
// A task that delivers a built artifact to one or more target repositories or storage systems.
TASK_TYPE_DEPLOY = 8;
TASK_TYPE_DELIVER = 7;
// A task that deploys a built artifact for execution on one or more target systems.
TASK_TYPE_RELEASE = 9;
TASK_TYPE_DEPLOY = 8;
// A task that releases a built, versioned artifact to a target repository or distribution system.
TASK_TYPE_CLEAN = 10;
TASK_TYPE_RELEASE = 9;
// A task that cleans unnecessary tools, build artifacts and/or data from workflow storage.
TASK_TYPE_OTHER = 11;
TASK_TYPE_CLEAN = 10;
// A workflow task that does not match current task type definitions.
TASK_TYPE_OTHER = 11;
}

// A representation of a functional parameter.
Expand Down

0 comments on commit 233bcc5

Please sign in to comment.