Skip to content

Commit

Permalink
Fixed to Debian 11-slim due to failing tests on Debian 12 Bookworm. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
GollyTicker committed Jun 20, 2023
1 parent bdd33b3 commit 89c6fda
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Expand Up @@ -254,6 +254,6 @@ jobs:
docker run --network host -v $PWD/test:/home/test alpine:latest sh -c \
"cd home; apk add --no-cache bash && bash ./test/suite/linux/install-test-remove.sh alpine .apk $URL_NO_EXT"
docker run --network host -v $PWD/test:/home/test debian:stable-slim bash -c \
docker run --network host -v $PWD/test:/home/test debian:11-slim bash -c \
"cd home; ./test/suite/linux/install-test-remove.sh debian .deb $URL_NO_EXT"
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -55,6 +55,8 @@ configurable http requests. Otherwise `protocurl` will use a simple non-configur

**Debian .deb package**

*This hasn't been tested on Debian 12 Bookworm.*

1. Download the latest release `.deb` for your architecture from https://github.com/qaware/protocurl/releases
2. Install dependency curl: `sudo apt install curl`
3. Install `sudo dpkg -i <downloaded-release>.deb`
Expand Down
2 changes: 1 addition & 1 deletion dev/builder.local.Dockerfile
@@ -1,4 +1,4 @@
FROM debian:stable-slim as builder
FROM debian:11-slim as builder
# A developer variant of protocurl for local development. See DEVELOPER.md
# This should be kept in sync with release/builder.Dockerfile

Expand Down
2 changes: 2 additions & 0 deletions doc/template.README.md
Expand Up @@ -55,6 +55,8 @@ configurable http requests. Otherwise `protocurl` will use a simple non-configur

**Debian .deb package**

*This hasn't been tested on Debian 12 Bookworm.*

1. Download the latest release `.deb` for your architecture from https://github.com/qaware/protocurl/releases
2. Install dependency curl: `sudo apt install curl`
3. Install `sudo dpkg -i <downloaded-release>.deb`
Expand Down
2 changes: 1 addition & 1 deletion release/builder.Dockerfile
@@ -1,6 +1,6 @@
# This should be kept in sync with dev/builder.local.Dockerfile

FROM debian:stable-slim as builder
FROM debian:11-slim as builder
ARG VERSION
ARG TARGETARCH
RUN apt-get -q update && \
Expand Down
6 changes: 4 additions & 2 deletions test/results/additional-curl-args-verbose-expected.txt
Expand Up @@ -274,9 +274,11 @@ Total curl args:
> Content-Length: 15
>
} [15 bytes data]
* upload completely sent off: 15 out of 15 bytes
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Content-Type: application/x-protobuf
< Date: Tue, 20 Jun 2023 08:58:13 GMT
< Date: Tue, 20 Jun 2023 20:38:59 GMT
< Connection: keep-alive
< Keep-Alive: timeout=5
< Content-Length: 65
Expand All @@ -287,7 +289,7 @@ Total curl args:
=========================== Response Headers =========================== <<<
HTTP/1.1 200 OK
Content-Type: application/x-protobuf
Date: Tue, 20 Jun 2023 08:58:13 GMT
Date: Tue, 20 Jun 2023 20:38:59 GMT
Connection: keep-alive
Keep-Alive: timeout=5
Content-Length: 65
Expand Down
6 changes: 4 additions & 2 deletions test/results/echo-empty-with-curl-args-expected.txt
Expand Up @@ -6,15 +6,17 @@ includeReason: true
* Connected to localhost (127.0.0.1) port 8080 (#0)
> POST /echo HTTP/1.1
> Host: localhost:8080
> User-Agent: curl/7.88.1
> User-Agent: curl/7.74.0
> Accept: */*
> Content-Type: application/x-protobuf
> Content-Length: 2
>
} [2 bytes data]
* upload completely sent off: 2 out of 2 bytes
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Content-Type: application/x-protobuf
< Date: Tue, 20 Jun 2023 08:58:22 GMT
< Date: Tue, 20 Jun 2023 20:39:05 GMT
< Connection: keep-alive
< Keep-Alive: timeout=5
< Content-Length: 2
Expand Down

0 comments on commit 89c6fda

Please sign in to comment.