Skip to content

Commit

Permalink
test: simplify transit setup
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdecaf committed Jul 13, 2023
1 parent aacc29d commit 55d22b8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@ services:
condition: service_healthy
networks:
- intranet
entrypoint: "/bin/sh"
command: |
vault secrets enable transit &&
vault write -f transit/keys/testkey
vault secrets enable transit
vault write transit/keys/testkey type=ed25519
networks:
intranet:
3 changes: 2 additions & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ endif

.PHONY: setup
setup:
docker-compose up -d --force-recreate --remove-orphans
docker-compose up -d --force-recreate --remove-orphans vault
docker-compose run setup

.PHONY: teardown
teardown:
Expand Down

0 comments on commit 55d22b8

Please sign in to comment.