Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

도커를 삭제하던 이전 코드 삭제 #181

Merged
merged 13 commits into from
Nov 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/be-cd.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: froxy Continuous Delivery
name: froxy BE Continuous Delivery

on:
push:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/be-ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Froxy Continuous Integration
name: Froxy-BE Continuous Integration

on:
push:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fe-cd.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Froxy Continuous Integration
name: Froxy-FE Continuous Integration

on:
push:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fe-ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Froxy Continuous Integration
name: Froxy-CI Continuous Integration

on:
push:
Expand Down
4 changes: 1 addition & 3 deletions apps/backend/src/docker/docker.consumer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,10 @@
});

stream.on('end', async () => {
await container.remove({ force: true });
let result = this.filterAnsiCode(output);
if (inputs.length !== 0) {
result = result.split('\n').slice(1).join('\n');
}

this.initWorkDir(container);
resolve(result);
});
Expand Down Expand Up @@ -167,7 +165,7 @@
const stream = await exec.start();
return new Promise((resolve, reject) => {
stream.on('data', (chunk) => {
const c = chunk;

Check warning on line 168 in apps/backend/src/docker/docker.consumer.ts

View workflow job for this annotation

GitHub Actions / be-ci

'c' is assigned a value but never used
});
stream.on('end', resolve);
stream.on('error', reject);
Expand All @@ -182,16 +180,16 @@
AttachStderr: true,
Cmd: ['rm', '-rf', '/tmp/*']
});

const stream = await exec.start();
return new Promise((resolve, reject) => {
stream.on('data', (chunk) => {
const c = chunk;

Check warning on line 186 in apps/backend/src/docker/docker.consumer.ts

View workflow job for this annotation

GitHub Actions / be-ci

'c' is assigned a value but never used
});
stream.on('end', resolve);
stream.on('error', reject);
});
} catch (error) {
console.log(error.message);
throw new Error('container tmp init failed');
}
}
Expand Down
Loading