Skip to content

Commit

Permalink
fix(build): docker-compose is now docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
tchiotludo committed Aug 2, 2024
1 parent 969215b commit 52623b1
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,20 +61,18 @@ jobs:
APPLICATION_SECRETS: ${{ secrets.APPLICATION_SECRETS }}
run: |
echo $APPLICATION_SECRETS | base64 -d > .github/docker/application-secrets.yml
docker-compose -f docker-compose-ci.yml pull
docker-compose -f docker-compose-ci.yml up -d zookeeper kafka elasticsearch vault
docker compose -f docker-compose-ci.yml pull
docker compose -f docker-compose-ci.yml up -d zookeeper kafka elasticsearch vault
sleep 30
docker-compose -f docker-compose-ci.yml up -d
docker compose -f docker-compose-ci.yml up -d
sleep 30
echo "\echo 'path \"*\" {capabilities = [\"create\", \"read\", \"update\", \"delete\", \"list\", \"sudo\"]}' | vault policy write admins -" | docker exec --interactive terraform-provider-kestra_vault_1 sh -
docker exec terraform-provider-kestra_vault_1 vault auth enable userpass
docker exec terraform-provider-kestra_vault_1 vault write auth/userpass/users/john \
echo "\echo 'path \"*\" {capabilities = [\"create\", \"read\", \"update\", \"delete\", \"list\", \"sudo\"]}' | vault policy write admins -" | docker compose -f docker-compose-ci.yml exec vault sh -
docker compose -f docker-compose-ci.yml exec vault vault auth enable userpass
docker compose -f docker-compose-ci.yml exec vault write auth/userpass/users/john \
password=foo \
policies=admins \
token_period=1s
docker ps -a
docker logs terraform-provider-kestra_kestra_1
curl "127.27.27.27:9200" > /dev/null
curl -X POST "127.27.27.27:8080/api/v1/users" > /dev/null
Expand Down

0 comments on commit 52623b1

Please sign in to comment.