From 117bea77b4825d18b91a7e2bd59a94cdf1bd8031 Mon Sep 17 00:00:00 2001 From: elgeeko1 <11233838+elgeeko1@users.noreply.github.com> Date: Wed, 18 Sep 2024 12:54:08 -0700 Subject: [PATCH] Replace docker-compose with docker compose plugin usage. --- .github/workflows/ci.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 726ca9e..a3bebdf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,10 +23,6 @@ jobs: distribution: 'temurin' java-version: '21' - # - name: Build and start the environment - # run: | - # docker-compose up -d --build - - name: Install Lingua Franca run: | curl -Ls https://install.lf-lang.org | bash -s cli @@ -37,7 +33,7 @@ jobs: - name: Start Test Publisher environment run: | - cd InfluxPublisher; docker-compose up -d --build; cd .. + cd InfluxPublisher; docker compose up -d --build; cd .. - name: Install jq run: | @@ -49,11 +45,11 @@ jobs: - name: Tear down Docker containers run: | - docker-compose -f docker-compose.yml down - docker-compose -f ./InfluxPublisher/docker-compose.yml down + docker compose -f docker-compose.yml down + docker compose -f ./InfluxPublisher/docker-compose.yml down - name: Reject Merge (Tests Failed) if: failure() run: | - echo "docker-compose version" $(docker-compose --version) + echo "docker compose version" $(docker compose --version) exit 1