-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- add support for go test args to the entrypoint - update Go version to 1.20 - rename is-subdomain to subdomain-gateway-spec - add merged as argument to the extract-fixtures command - rename entrypoint as gateway-conformance - rename tests package from main to tests - rename build tag to no_subdomain_gateway_spec - add a utility function for accessing GATEWAY_CONFORMANCE_HOME
- Loading branch information
Showing
20 changed files
with
243 additions
and
151 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,13 +1,11 @@ | |||
FROM golang:1.19.1-buster | FROM golang:1.20-alpine | ||
WORKDIR /app | WORKDIR /app | ||
ENV TEST_PATH=/app | ENV GATEWAY_CONFORMANCE_HOME=/app | ||
|
|||
RUN go install gotest.tools/gotestsum@v1.9.0 | |||
|
|
||
COPY ./go.mod ./go.sum ./ | COPY ./go.mod ./go.sum ./ | ||
RUN go mod download | RUN go mod download | ||
|
|
||
COPY . . | COPY . . | ||
RUN go build -o /entrypoint ./entrypoint.go | RUN go build -o ./gateway-conformance ./entrypoint.go | ||
|
|
||
ENTRYPOINT ["/entrypoint"] | ENTRYPOINT ["/app/gateway-conformance"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,4 +1,4 @@ | |||
package main | package tests | ||
|
|
||
import ( | import ( | ||
"fmt" | "fmt" | ||
|
Oops, something went wrong.