Skip to content
This repository has been archived by the owner on May 1, 2020. It is now read-only.

Commit

Permalink
update README for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
djmitche committed Dec 26, 2018
1 parent 9bb2082 commit 6b47ce2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ a permanent client in order to create temporary credentials. Make sure to unset
Running tests is a feature of the build.sh script, and requires the `-t` flag:

```
$ export TASKCLUSTER_ROOT_URL='......'
$ export TASKCLUSTER_CLIENT_ID='......'
$ export TASKCLUSTER_ACCESS_TOKEN='......'
$ unset TASKCLUSTER_CERTIFICATE # permacreds are required for testing
Expand Down Expand Up @@ -183,10 +184,10 @@ and then start a container, mapping the container port 80 to your localhost
port 8080:

```
TASKCLUSTER_ROOT_URL='......'
TASKCLUSTER_CLIENT_ID=.....
TASKCLUSTER_ACCESS_TOKEN=.....
TASKCLUSTER_CERTIFICATE=.....
docker run -p 127.0.0.1:8080:80 taskcluster/taskcluster-proxy:latest --client-id "${TASKCLUSTER_CLIENT_ID}" --access-token "${TASKCLUSTER_ACCESS_TOKEN}" --certificate "${TASKCLUSTER_CERTIFICATE}"
docker run -p 127.0.0.1:8080:80 taskcluster/taskcluster-proxy:latest --client-id "${TASKCLUSTER_CLIENT_ID}" --access-token "${TASKCLUSTER_ACCESS_TOKEN}" --certificate "${TASKCLUSTER_CERTIFICATE}" --root-url "${TASKCLUSTER_ROOT_URL}"
```

In a seperate terminal on your machine, try fetching a private artifact:
Expand Down

0 comments on commit 6b47ce2

Please sign in to comment.