Skip to content

Commit

Permalink
localinstall: docker-compose as been deprecated for docker compose
Browse files Browse the repository at this point in the history
Signed-off-by: Arisu Tachibana <[email protected]>
  • Loading branch information
aliceinwire committed Sep 5, 2024
1 parent 08ad517 commit 8f8949d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions localinstall/2-install_api.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ fi
cat ../../ssh.key.pub > docker/ssh/user-data/authorized_keys

# down, just in case old containers are running
docker-compose down
docker-compose up -d
docker compose down
docker compose up -d
echo "Waiting for API to be up"
sleep 1
# loop until the API is up, try 5 times
Expand Down
6 changes: 3 additions & 3 deletions localinstall/4-start-cycle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
. ./main.cfg

cd kernelci/kernelci-pipeline
docker-compose down
docker-compose up -d
echo "You can view now logs of containers using docker logs -f <container_id> or docker-compose logs -f in kernelci/kernelci-pipeline or kernelci/kernelci-api directories"
docker compose down
docker compose up -d
echo "You can view now logs of containers using docker logs -f <container_id> or docker compose logs -f in kernelci/kernelci-pipeline or kernelci/kernelci-api directories"
echo "Also you can do docker ps to see running containers, and in case of ongoing builds, you can view their logs too by docker logs -f <container_id>"
echo "You can also open API viewer at http://127.0.0.1:8001/viewer"

0 comments on commit 8f8949d

Please sign in to comment.