From 5393f6df77b49cc6830c71effdd4848947073fb6 Mon Sep 17 00:00:00 2001 From: Miro Stauder Date: Thu, 16 Nov 2023 14:11:41 +0100 Subject: [PATCH] Update ci-repltests.yml --- .github/workflows/ci-repltests.yml | 43 ++++++++++++++++++------------ 1 file changed, 26 insertions(+), 17 deletions(-) diff --git a/.github/workflows/ci-repltests.yml b/.github/workflows/ci-repltests.yml index 346c290b9..0dccca35b 100644 --- a/.github/workflows/ci-repltests.yml +++ b/.github/workflows/ci-repltests.yml @@ -18,15 +18,24 @@ jobs: sudo apt-get update -y sudo apt-get install -y sysbench gettext - - name: Checkout proxysql - uses: actions/checkout@v3 +# - name: Checkout proxysql +# uses: actions/checkout@v3 +# with: +# repository: 'sysown/proxysql' +## ref: 'v2.x' +# ref: ${{ github.head_ref }} +# fetch-depth: 0 +# path: 'proxysql' + + - name: Cache restore src + id: cache-src + uses: actions/cache/restore@v3 with: - repository: 'sysown/proxysql' -# ref: 'v2.x' - ref: ${{ github.head_ref }} - fetch-depth: 0 - path: 'proxysql' - + key: CI-builds_${{ github.sha }}_ubuntu22-tap_src + fail-on-cache-miss: true + path: | + proxysql/src/ + - name: Checkout jenkins_build_scripts uses: actions/checkout@v3 with: @@ -36,16 +45,16 @@ jobs: path: 'jenkins-build-scripts' token: ${{ secrets.GH_TOKEN }} - - name: Set GIT_VERSION - run: | - cd proxysql/ - git fetch --tags --force - echo "GIT_VERSION=$(git describe --long --abbrev=7)" >> $GITHUB_ENV +# - name: Set GIT_VERSION +# run: | +# cd proxysql/ +# git fetch --tags --force +# echo "GIT_VERSION=$(git describe --long --abbrev=7)" >> $GITHUB_ENV - - name: Build - run: | - cd proxysql/ - make ubuntu22-dbg +# - name: Build +# run: | +# cd proxysql/ +# make ubuntu22-dbg - name: Docker-hoster run: |