Skip to content

Commit

Permalink
Unify linux and windows server
Browse files Browse the repository at this point in the history
  • Loading branch information
dkirov-dd committed Jan 30, 2025
1 parent b9f548e commit 76d3b33
Show file tree
Hide file tree
Showing 10 changed files with 7 additions and 159 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/fips/compose/compose-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ services:
retries: 3
http-server-fips:
build:
context: linux
context: server
dockerfile: Dockerfile
args:
- "BUILD_TARGET=server"
command: ["./server", "ECDHE-RSA-AES128-SHA256"]
- "BUILD_TARGET=http-server"
command: ["./http-server", "ECDHE-RSA-AES128-SHA256"]
healthcheck:
test: "curl -f localhost:443"
start_period: 5s
Expand All @@ -31,11 +31,11 @@ services:
retries: 3
http-server:
build:
context: linux
context: server
dockerfile: Dockerfile
args:
- "BUILD_TARGET=server"
command: ["./server", "ECDHE-RSA-CHACHA20-POLY1305"]
command: ["./http-server", "ECDHE-RSA-CHACHA20-POLY1305"]
healthcheck:
test: "curl -f localhost:443"
start_period: 5s
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/fips/compose/compose-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ services:
retries: 3
http-server-fips:
build:
context: windows
context: server
dockerfile: Dockerfile
args:
- "BUILD_TARGET=http-server.exe"
Expand All @@ -29,7 +29,7 @@ services:
retries: 3
http-server:
build:
context: windows
context: server
dockerfile: Dockerfile
args:
- "BUILD_TARGET=http-server.exe"
Expand Down
File renamed without changes.
File renamed without changes.
14 changes: 0 additions & 14 deletions .github/workflows/fips/compose/windows/Dockerfile

This file was deleted.

33 changes: 0 additions & 33 deletions .github/workflows/fips/compose/windows/ca.crt

This file was deleted.

51 changes: 0 additions & 51 deletions .github/workflows/fips/compose/windows/ca.key

This file was deleted.

54 changes: 0 additions & 54 deletions .github/workflows/fips/compose/windows/http-server.go

This file was deleted.

0 comments on commit 76d3b33

Please sign in to comment.