Skip to content

Commit

Permalink
simplify build for e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
ecordell committed Jan 4, 2022
1 parent 45f2aa5 commit d47d8de
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/build.yaml
Expand Up @@ -83,8 +83,8 @@ jobs:
key: "cockroach-v21.1.7-chaosd-v1.0.2-2"
- name: "Install cockroachdb and chaosd"
if: "steps.cache-binaries.outputs.cache-hit != 'true'"
working-directory: "e2e/newenemy"
run: |
pushd e2e/newenemy
curl https://binaries.cockroachdb.com/cockroach-v21.1.7.linux-amd64.tgz | tar -xz && mv cockroach-v21.1.7.linux-amd64/cockroach ./cockroach
curl -fsSL https://mirrors.chaos-mesh.org/chaosd-v1.0.2-linux-amd64.tar.gz | tar -xz && mv chaosd-v1.0.2-linux-amd64/chaosd ./chaosd
Expand All @@ -95,7 +95,6 @@ jobs:
CGO_ENABLED=1 go build ./cmd/watchmaker/
popd
mv ./chaos-mesh/watchmaker ./watchmaker
popd
- uses: "actions/cache@v2"
with:
path: |
Expand All @@ -105,10 +104,9 @@ jobs:
restore-keys: |
${{ runner.os }}-go-
- name: "Build SpiceDB"
working-directory: "e2e/newenemy"
run: |
go get -d github.com/authzed/spicedb/cmd/spicedb/...
go build github.com/authzed/spicedb/cmd/spicedb/...
go get -d ./...
go build -o ./e2e/newenemy/spicedb ./cmd/spicedb/...
- name: "Run e2e"
working-directory: "e2e/newenemy"
run: |
Expand Down

0 comments on commit d47d8de

Please sign in to comment.