-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix#30 dedup overrides/upload files (#43)
* fix#30 dedup overrides/upload files * fix#41, logs running name and overrides * add new line
- Loading branch information
Showing
12 changed files
with
185 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "zombienet", | ||
"version": "0.0.1", | ||
"version": "1.1.0", | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"author": "Javier Viola <[email protected]>", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
const reset = "\x1b[0m"; | ||
|
||
const colorMap = { | ||
red: "\x1b[31m", | ||
green: "\x1b[32m", | ||
yellow: "\x1b[33m", | ||
blue: "\x1b[34m", | ||
magenta: "\x1b[35m", | ||
cyan: "\x1b[36m" | ||
}; | ||
|
||
|
||
const colorFns: any = {}; | ||
for( const [color, code] of Object.entries(colorMap)){ | ||
colorFns[color] = function (input: string): string { | ||
let ret = `${code}${input}${reset}`; | ||
return ret; | ||
} | ||
} | ||
|
||
export const decorators = colorFns; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"apiVersion": "v1", | ||
"kind": "Pod", | ||
"metadata": { | ||
"name": "fileserver", | ||
"labels": { | ||
"app": "fileserver" | ||
} | ||
}, | ||
"spec": { | ||
"hostname": "fileserver", | ||
"containers": [ | ||
{ | ||
"image": "nginx:latest", | ||
"name": "fileserver", | ||
"imagePullPolicy": "Always", | ||
"ports": [ | ||
{ | ||
"containerPort": 80 | ||
} | ||
] | ||
} | ||
], | ||
"restartPolicy": "OnFailure", | ||
"volumes": [] | ||
} | ||
} |
Oops, something went wrong.