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 24310a5
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 162 deletions.
12 changes: 6 additions & 6 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"]
BUILD_TARGET: http-server
command: ["./http-server", "ECDHE-RSA-CHACHA20-POLY1305"]
healthcheck:
test: "curl -f localhost:443"
start_period: 5s
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/fips/compose/compose-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ services:
retries: 3
http-server-fips:
build:
context: windows
context: server
dockerfile: Dockerfile
args:
- "BUILD_TARGET=http-server.exe"
BUILD_TARGET: http-server.exe
command: ["C:/app/http-server.exe", "ECDHE-RSA-AES128-SHA256"]
healthcheck:
test: "curl -f localhost:443"
Expand All @@ -29,10 +29,10 @@ services:
retries: 3
http-server:
build:
context: windows
context: server
dockerfile: Dockerfile
args:
- "BUILD_TARGET=http-server.exe"
BUILD_TARGET: http-server.exe
command: ["C:/app/http-server.exe", "ECDHE-RSA-CHACHA20-POLY1305"]
healthcheck:
test: "curl -f localhost:443"
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 24310a5

Please sign in to comment.