cloudbuild-task-contracts
Advanced tools
Comparing version
export interface PullRequestSource { | ||
ref: string; | ||
sha?: string; | ||
readonly ref: string; | ||
readonly sha?: string; | ||
} | ||
export interface PullRequestTarget { | ||
ref: string; | ||
sha?: string; | ||
readonly ref: string; | ||
readonly sha?: string; | ||
} | ||
@@ -9,0 +9,0 @@ export interface PullRequest { |
export interface RepoInfo { | ||
path: string; | ||
ref?: string; | ||
sha: string; | ||
uri?: string; | ||
readonly path: string; | ||
readonly ref?: string; | ||
readonly sha: string; | ||
readonly uri?: string; | ||
} | ||
//# sourceMappingURL=RepoInfo.d.ts.map |
{ | ||
"name": "cloudbuild-task-contracts", | ||
"version": "0.1.52-alpha", | ||
"version": "0.1.64-alpha", | ||
"description": "Abstractions that most/all cloud build services can fulfill in order to allow the development of tasks for submission to the various cloud build marketplaces while maintaining primarily just one codebase.", | ||
"main": "lib/index.js", | ||
"engines": { | ||
"node": ">= 6.0" | ||
"node": ">= 10.0" | ||
}, | ||
"scripts": { | ||
"build": "tsc", | ||
"watch": "tsc -watch" | ||
"watch": "tsc -watch", | ||
"test": "jest" | ||
}, | ||
@@ -13,0 +14,0 @@ "repository": { |
# cloudbuild-task-contracts | ||
 | ||
 | ||
 | ||
This package defines a common abstraction around potentially any cloud build (PR/CI build system) | ||
@@ -4,0 +8,0 @@ that defines special 'tasks' that may take inputs and perform built-in operations. |
export interface PullRequestSource { | ||
/** The branch name. Includes the `refs/heads/` prefix. */ | ||
ref: string; | ||
readonly ref: string; | ||
/** The full git commit ID */ | ||
sha?: string; | ||
readonly sha?: string; | ||
} | ||
@@ -10,5 +10,5 @@ | ||
/** The branch name. Includes the `refs/heads/` prefix. */ | ||
ref: string; | ||
readonly ref: string; | ||
/** The full git commit ID */ | ||
sha?: string; | ||
readonly sha?: string; | ||
} | ||
@@ -15,0 +15,0 @@ |
/** Describes the branch, tag or commit being built. */ | ||
export interface RepoInfo { | ||
/** The full path to the root of the cloned repo. */ | ||
path: string; | ||
readonly path: string; | ||
/** The ref that was checked out. Includes the `refs/heads/` or `refs/tags/` prefix. */ | ||
ref?: string; | ||
readonly ref?: string; | ||
/** The full git commit ID that was checked out. */ | ||
sha: string; | ||
readonly sha: string; | ||
/** The git remote URL */ | ||
uri?: string; | ||
readonly uri?: string; | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
23158
2.24%45
9.76%