Skip to content

Commit

Permalink
misc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
eli-darkly committed Nov 13, 2021
1 parent 55bb2b7 commit 8504996
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This Dockerfile is for local testing. It is not the Docker image that will be published in
# releases; that is built by Goreleaser.

FROM golang:1.15 as builder
FROM golang:1.16 as builder

RUN mkdir /testharness

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ For `--run` and `--skip`, the name of a test is the string that appears between

## Downloading/deploying

In a CI job for an SSE implementation, the most convenient way to run the test suite is by invoking the `downloader/run.sh` script, which downloads the compiled executable and runs it. This is similar to how tools such as Goreleaser are normally run. You must set `VERSION` to the desired version of the tool, and `PARAMS` to the command-line parameters.
In a CI job for an SSE implementation, the most convenient way to run the test suite is by invoking the `downloader/run.sh` script, which downloads the compiled executable and runs it. You can download this script directly from GitHub and pipe it to `bash` or `sh`. This is similar to how tools such as Goreleaser are normally run. You must set `VERSION` to the desired version of the tool, and `PARAMS` to the command-line parameters.

```shell
VERSION=v1 PARAMS="--url http://localhost:8000" \
curl https://github.com/launchdarkly/sse-contract-tests/blob/master/downloader/run.sh | bash
curl -s https://raw.githubusercontent.com/launchdarkly/sse-contract-tests/master/downloader/run.sh \
| VERSION=v1 PARAMS="--url http://localhost:8000" sh
```

You can specify an exact version string such as `v1.0.0` in `VERSION`, but it is better to specify only a major version so that you will automatically get any backward-compatible improvements in the test harness.
Expand Down

0 comments on commit 8504996

Please sign in to comment.