|
844 | 844 | } |
845 | 845 | } |
846 | 846 | }, |
847 | | - "revision": "20231231", |
| 847 | + "revision": "20240130", |
848 | 848 | "rootUrl": "https://cloudbuild.googleapis.com/", |
849 | 849 | "schemas": { |
850 | 850 | "AuditConfig": { |
|
939 | 939 | "type": "array" |
940 | 940 | }, |
941 | 941 | "role": { |
942 | | - "description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.", |
| 942 | + "description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", |
943 | 943 | "type": "string" |
944 | 944 | } |
945 | 945 | }, |
|
1867 | 1867 | "readOnly": true, |
1868 | 1868 | "type": "string" |
1869 | 1869 | }, |
| 1870 | + "gcbParams": { |
| 1871 | + "additionalProperties": { |
| 1872 | + "type": "string" |
| 1873 | + }, |
| 1874 | + "description": "Output only. GCB default params.", |
| 1875 | + "readOnly": true, |
| 1876 | + "type": "object" |
| 1877 | + }, |
1870 | 1878 | "name": { |
1871 | 1879 | "description": "Output only. The `PipelineRun` name with format `projects/{project}/locations/{location}/pipelineRuns/{pipeline_run}`", |
1872 | 1880 | "readOnly": true, |
|
1899 | 1907 | "$ref": "PipelineSpec", |
1900 | 1908 | "description": "PipelineSpec defines the desired state of Pipeline." |
1901 | 1909 | }, |
| 1910 | + "provenance": { |
| 1911 | + "$ref": "Provenance", |
| 1912 | + "description": "Optional. Provenance configuration." |
| 1913 | + }, |
1902 | 1914 | "resolvedPipelineSpec": { |
1903 | 1915 | "$ref": "PipelineSpec", |
1904 | 1916 | "description": "Output only. The exact PipelineSpec used to instantiate the run.", |
1905 | 1917 | "readOnly": true |
1906 | 1918 | }, |
| 1919 | + "security": { |
| 1920 | + "$ref": "Security", |
| 1921 | + "description": "Optional. Security configuration." |
| 1922 | + }, |
1907 | 1923 | "serviceAccount": { |
1908 | 1924 | "description": "Service account used in the Pipeline.", |
1909 | 1925 | "type": "string" |
|
1937 | 1953 | "readOnly": true, |
1938 | 1954 | "type": "string" |
1939 | 1955 | }, |
| 1956 | + "worker": { |
| 1957 | + "$ref": "Worker", |
| 1958 | + "description": "Optional. Worker configuration." |
| 1959 | + }, |
1940 | 1960 | "workerPool": { |
1941 | 1961 | "description": "Output only. The WorkerPool used to run this PipelineRun.", |
1942 | 1962 | "readOnly": true, |
|
2139 | 2159 | }, |
2140 | 2160 | "type": "object" |
2141 | 2161 | }, |
| 2162 | + "Provenance": { |
| 2163 | + "description": "Provenance configuration.", |
| 2164 | + "id": "Provenance", |
| 2165 | + "properties": { |
| 2166 | + "enabled": { |
| 2167 | + "description": "Optional. Provenance push mode.", |
| 2168 | + "enum": [ |
| 2169 | + "ENABLED_UNSPECIFIED", |
| 2170 | + "REQUIRED", |
| 2171 | + "OPTIMISTIC", |
| 2172 | + "DISABLED" |
| 2173 | + ], |
| 2174 | + "enumDescriptions": [ |
| 2175 | + "Default to disabled (before AA regionalization), optimistic after", |
| 2176 | + "Provenance failures would fail the run", |
| 2177 | + "GCB will attempt to push to artifact analaysis and build state would not be impacted by the push failures.", |
| 2178 | + "Disable the provenance push entirely." |
| 2179 | + ], |
| 2180 | + "type": "string" |
| 2181 | + }, |
| 2182 | + "region": { |
| 2183 | + "description": "Optional. Provenance region.", |
| 2184 | + "enum": [ |
| 2185 | + "REGION_UNSPECIFIED", |
| 2186 | + "GLOBAL" |
| 2187 | + ], |
| 2188 | + "enumDescriptions": [ |
| 2189 | + "The PipelineRun/TaskRun/Workflow will be rejected. Update this comment to push to the same region as the run in Artifact Analysis when it's regionalized.", |
| 2190 | + "Push provenance to Artifact Analysis in global region." |
| 2191 | + ], |
| 2192 | + "type": "string" |
| 2193 | + }, |
| 2194 | + "storage": { |
| 2195 | + "description": "Optional. Where provenance is stored.", |
| 2196 | + "enum": [ |
| 2197 | + "STORAGE_UNSPECIFIED", |
| 2198 | + "PREFER_ARTIFACT_PROJECT", |
| 2199 | + "ARTIFACT_PROJECT_ONLY", |
| 2200 | + "BUILD_PROJECT_ONLY" |
| 2201 | + ], |
| 2202 | + "enumDescriptions": [ |
| 2203 | + "Default PREFER_ARTIFACT_PROJECT.", |
| 2204 | + "GCB will attempt to push provenance to the artifact project. If it is not available, fallback to build project.", |
| 2205 | + "Only push to artifact project.", |
| 2206 | + "Only push to build project." |
| 2207 | + ], |
| 2208 | + "type": "string" |
| 2209 | + } |
| 2210 | + }, |
| 2211 | + "type": "object" |
| 2212 | + }, |
2142 | 2213 | "Repository": { |
2143 | 2214 | "description": "A repository associated to a parent connection.", |
2144 | 2215 | "id": "Repository", |
|
2242 | 2313 | }, |
2243 | 2314 | "type": "object" |
2244 | 2315 | }, |
| 2316 | + "Security": { |
| 2317 | + "description": "Security configuration.", |
| 2318 | + "id": "Security", |
| 2319 | + "properties": { |
| 2320 | + "privilegeMode": { |
| 2321 | + "description": "Optional. Privilege mode.", |
| 2322 | + "enum": [ |
| 2323 | + "PRIVILEGE_MODE_UNSPECIFIED", |
| 2324 | + "PRIVILEGED", |
| 2325 | + "UNPRIVILEGED" |
| 2326 | + ], |
| 2327 | + "enumDescriptions": [ |
| 2328 | + "Default to PRIVILEGED.", |
| 2329 | + "Privileged mode.", |
| 2330 | + "Unprivileged mode." |
| 2331 | + ], |
| 2332 | + "type": "string" |
| 2333 | + }, |
| 2334 | + "serviceAccount": { |
| 2335 | + "description": "IAM service account whose credentials will be used at runtime.", |
| 2336 | + "type": "string" |
| 2337 | + } |
| 2338 | + }, |
| 2339 | + "type": "object" |
| 2340 | + }, |
2245 | 2341 | "SecurityContext": { |
2246 | 2342 | "description": "Security options the container should be run with.", |
2247 | 2343 | "id": "SecurityContext", |
|
2777 | 2873 | }, |
2778 | 2874 | "type": "object" |
2779 | 2875 | }, |
| 2876 | + "Worker": { |
| 2877 | + "description": "Configuration for the worker.", |
| 2878 | + "id": "Worker", |
| 2879 | + "properties": { |
| 2880 | + "machineType": { |
| 2881 | + "description": "Optional. Machine type of a worker, default is \"e2-standard-2\".", |
| 2882 | + "type": "string" |
| 2883 | + } |
| 2884 | + }, |
| 2885 | + "type": "object" |
| 2886 | + }, |
2780 | 2887 | "WorkspaceBinding": { |
2781 | 2888 | "description": "WorkspaceBinding maps a workspace to a Volume. PipelineRef can be used to refer to a specific instance of a Pipeline.", |
2782 | 2889 | "id": "WorkspaceBinding", |
|
0 commit comments