Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates: docs + build #39

Merged
merged 2 commits into from
Jun 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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