diff --git a/Dockerfile b/Dockerfile index 95e6e70..544bc64 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/README.md b/README.md index ec65f33..2837a92 100644 --- a/README.md +++ b/README.md @@ -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.