Skip to content

Commit

Permalink
Switch e2e test docker-compose to docker compose
Browse files Browse the repository at this point in the history
`docker-compose` was removed from the ubuntu-latest and windows GitHub
Actions runners late last week:

actions/runner-images#9692

I don't follow the ecosystem closely enough to understand it, but apparently
`docker compose` is what most people are using to work around this.

Signed-off-by: Zach Steindler <[email protected]>
  • Loading branch information
steiza committed Aug 5, 2024
1 parent 06d1290 commit f1b0bd2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/e2e_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@ export FULCIO_METRICS_PORT=2113
export FULCIO_CONFIG=/tmp/fulcio-config.json
for repo in rekor fulcio; do
pushd $repo
docker-compose up -d
docker compose up -d
echo -n "waiting up to 60 sec for system to start"
count=0
until [ $(docker-compose ps | grep -c "(healthy)") == 3 ];
until [ $(docker compose ps | grep -c "(healthy)") == 3 ];
do
if [ $count -eq 6 ]; then
echo "! timeout reached"
Expand All @@ -80,7 +80,7 @@ cleanup_services() {
cleanup_oidc
for repo in rekor fulcio; do
pushd $HOME/$repo
docker-compose down
docker compose down
popd
done
}
Expand Down

0 comments on commit f1b0bd2

Please sign in to comment.