Skip to content

Commit

Permalink
Merge pull request #39 from zdtsw/wenzhou/update1
Browse files Browse the repository at this point in the history
Updates: docs + build
  • Loading branch information
rogerwelin authored Jun 14, 2022
2 parents c29cc39 + 6aa4287 commit dfb7cd9
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,21 @@ $ brew update && brew install cassowary
```

### Docker
You can run **cassowary** directly by using it's Docker image:
You can run **cassowary** directly by using its official Docker image:

```bash
$ docker run rogerw/cassowary:v0.14.0 cassowary run -u http://www.example.com -c 1 -n 10
```

For local development:

```bash
$ GOOS=linux go build -o dist/docker/cassowary cmd/cassowary/*.go
$ docker build -f dist/docker/Dockerfile -t test_cassowary dist/docker
$ docker run test_cassowary -u http://www.example.com -c 1 -n 10
```
Without argument when doing "docker run" it prints help usage

### Nix/NixOS

Cassowary can be installed via the [Nix](https://nixos.org) package manager.
Expand Down
1 change: 1 addition & 0 deletions dist/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
FROM alpine:3.12.4
RUN apk update && apk add ca-certificates && rm -rf /var/cache/apk/*
COPY cassowary /usr/bin/cassowary
ENTRYPOINT ["cassowary", "run"]
4 changes: 3 additions & 1 deletion dist/rpm/cassowary.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
%global bindir /usr/local/sbin

Name: cassowary
Version: 0.10.0
Version: 0.14.0
Release: 1
Summary: Modern cross-platform HTTP load-testing tool written in Go
License: MIT
Expand Down Expand Up @@ -30,3 +30,5 @@ Modern cross-platform HTTP load-testing tool written in Go
%changelog
* Fri Jan 24 2020 <[email protected]>
- Cassowary spec file
* Mon Jun 13 2022 <[email protected]>
- Uplift release version

0 comments on commit dfb7cd9

Please sign in to comment.