From 2cd3c973a772196b76621c76125a7b0fe79d5797 Mon Sep 17 00:00:00 2001 From: Juan Antonio Osorio Date: Tue, 27 Aug 2024 11:06:33 +0300 Subject: [PATCH] Use `compose` subcommand instead of `docker-compose` Signed-off-by: Juan Antonio Osorio --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a2b2accb..0a468297 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -57,17 +57,17 @@ jobs: - run: pip install -r requirements.txt working-directory: ./integration/test_consumer/ - name: Build the stack - run: docker-compose -f docker-compose-integration.yml up -d + run: docker compose -f docker-compose-integration.yml up -d working-directory: ./integration - name: Run consumer python script run: python check_kafka_output.py working-directory: ./integration/test_consumer - name: Output filtered log (full log in artifacts) - run: docker-compose -f docker-compose-integration.yml logs feeds | grep -v "Sending package" | grep -v "Processing Package" + run: docker compose -f docker-compose-integration.yml logs feeds | grep -v "Sending package" | grep -v "Processing Package" working-directory: ./integration/ if: ${{ always() }} - name: Dump logs for archive - run: docker-compose -f docker-compose-integration.yml logs feeds > feeds-log.txt + run: docker compose -f docker-compose-integration.yml logs feeds > feeds-log.txt working-directory: ./integration/ if: ${{ always() }} - uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3