From 1a5005b88f91e7dad46581c02f9d1d654d01c3e1 Mon Sep 17 00:00:00 2001 From: Vittorio Parrella Date: Fri, 5 Apr 2024 00:54:55 +0200 Subject: [PATCH] fix server build step --- .github/workflows/common-performance.yml | 8 ++++++-- docker/{build-linux => server-env/server}/Dockerfile | 0 2 files changed, 6 insertions(+), 2 deletions(-) rename docker/{build-linux => server-env/server}/Dockerfile (100%) diff --git a/.github/workflows/common-performance.yml b/.github/workflows/common-performance.yml index 6d759d66..b6749366 100644 --- a/.github/workflows/common-performance.yml +++ b/.github/workflows/common-performance.yml @@ -288,7 +288,7 @@ jobs: run: | docker version cd docker/ - pushd build-linux/ + pushd server-env/server/ docker build -t project-faster/qpep_server \ --build-arg QPEP_REPO=https://github.com/${{github.repository}}.git \ --build-arg QPEP_BRANCH=${{ github.head_ref || github.ref_name }} \ @@ -297,6 +297,11 @@ jobs: --build-arg QPEP_CCA=${{ inputs.cca }} \ . + - name: Build Data Server + run: | + cd docker/server-data-env/ + docker compose build + - name: Auto-cancel workflow on error if: failure() uses: andymckay/cancel-action@0.4 @@ -399,7 +404,6 @@ jobs: run: | sudo bash ${{ github.workspace }}/.github/workflows/set_delay_port.sh -d || true sudo rm -rf docker/server-data-env/output/* || true - docker system prune -af || true - name: Auto-cancel workflow on error if: failure() diff --git a/docker/build-linux/Dockerfile b/docker/server-env/server/Dockerfile similarity index 100% rename from docker/build-linux/Dockerfile rename to docker/server-env/server/Dockerfile