Skip to content

Commit

Permalink
removed debug terminal
Browse files Browse the repository at this point in the history
  • Loading branch information
lucsomers101 committed Feb 26, 2024
1 parent c8cf654 commit fee447b
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions src/commands/generatePrototypeCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export class generatePrototypeCommand {
if(generatePrototypeCommand.portForwardTerminal === undefined)
return;

const buildTerminal = this.builder.setName("default name")
const buildTerminal = this.builder.setName("Cleanup")
.setVisibility(false)
.getTerminal();

Expand All @@ -54,12 +54,6 @@ export class generatePrototypeCommand {
['{{mainScript}}', this.manifestFile.encodedMainScript]
]
));

const term = this.builder.setName("Run prototype in minikube")
.getTerminal();
term.show();
terminalUtils.RunCommandsInExistingTerminal(term,
[`${this.manifestFile.fileUri.fsPath}`]);

await vscode.workspace.fs.writeFile(this.manifestFile.fileUri, newData);
this.runPrototypeCommand();
Expand All @@ -71,8 +65,9 @@ export class generatePrototypeCommand {
const service: string = 'prototype';

generatePrototypeCommand.portForwardTerminal = this.builder.setName("Run prototype in minikube")
.getTerminal();
.getTerminal();
generatePrototypeCommand.portForwardTerminal.show();

terminalUtils.RunCommandsInExistingTerminal(generatePrototypeCommand.portForwardTerminal,
[`kubectl apply -f ${this.manifestFile.fileUri.fsPath}`,
`kubectl rollout status deployment/${deployment} --timeout=300s`,
Expand Down

0 comments on commit fee447b

Please sign in to comment.