Skip to content

Commit e11df26

Browse files
authored
Merge pull request #464 from devtron-labs/feat/build-cache
feat: ignore build cache at workflow level
2 parents 44a9515 + 2491dc1 commit e11df26

File tree

4 files changed

+29
-3
lines changed

4 files changed

+29
-3
lines changed

package-lock.json

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@devtron-labs/devtron-fe-common-lib",
3-
"version": "1.3.4",
3+
"version": "1.3.5",
44
"description": "Supporting common component library",
55
"type": "module",
66
"main": "dist/index.js",

src/Common/CIPipeline.Types.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,11 @@ export interface DockerConfigOverrideType {
259259
ciBuildConfig: CIBuildConfigType
260260
}
261261

262+
export enum WORKFLOW_CACHE_CONFIG_ENUM {
263+
INHERIT = 'INHERIT',
264+
OVERRIDE = 'OVERRIDE',
265+
}
266+
262267
export interface FormType {
263268
name: string
264269
args: { key: string; value: string }[]
@@ -291,6 +296,11 @@ export interface FormType {
291296
isDockerConfigOverridden?: boolean
292297
dockerConfigOverride?: DockerConfigOverrideType
293298
isOffendingMandatoryPlugin?: boolean
299+
workflowCacheConfig?: {
300+
type: WORKFLOW_CACHE_CONFIG_ENUM
301+
value: boolean
302+
globalValue: boolean
303+
}
294304
}
295305

296306
export interface ErrorObj {

src/Common/Toggle/Toggle.scss

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,4 +119,20 @@ input:focus + .toggle__slider {
119119
background-color: var(--N0);
120120
}
121121
}
122+
123+
&--h20 {
124+
.toggle__slider {
125+
&.with-icon svg {
126+
height: 18px;
127+
width: 18px;
128+
padding: 2px;
129+
}
130+
}
131+
132+
input:checked + .toggle__slider {
133+
&.with-icon svg {
134+
left: -10px;
135+
}
136+
}
137+
}
122138
}

0 commit comments

Comments
 (0)