update actions cache, checkout, artifact to v4

fix/3p-ci-error-handling
Miro Stauder 2 years ago committed by GitHub
parent 3a222f1809
commit 4fa12eb963
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -16,7 +16,7 @@ jobs:
steps:
- name: Checkout proxysql_3p_testing
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: 'proxysql/proxysql_3p_testing'
ref: 'main'
@ -28,7 +28,7 @@ jobs:
proxysql
- name: Cache restore bin
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
key: CI-builds_${{ github.sha }}_debian11_bin
fail-on-cache-miss: true
@ -80,7 +80,7 @@ jobs:
- name: Archive artifacts logs
if: ${{ failure() && !cancelled() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ github.workflow }}-${{ github.sha }}-logs-run#${{ github.run_number }}
path: |

@ -16,7 +16,7 @@ jobs:
steps:
- name: Checkout proxysql_3p_testing
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: 'proxysql/proxysql_3p_testing'
ref: 'main'
@ -28,7 +28,7 @@ jobs:
proxysql
- name: Cache restore bin
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
key: CI-builds_${{ github.sha }}_debian11_bin
fail-on-cache-miss: true
@ -80,7 +80,7 @@ jobs:
- name: Archive artifacts logs
if: ${{ failure() && !cancelled() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ github.workflow }}-${{ github.sha }}-logs-run#${{ github.run_number }}
path: |

@ -16,7 +16,7 @@ jobs:
steps:
- name: Checkout proxysql_3p_testing
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: 'proxysql/proxysql_3p_testing'
ref: 'main'
@ -28,7 +28,7 @@ jobs:
proxysql
- name: Cache restore bin
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
key: CI-builds_${{ github.sha }}_debian11_bin
fail-on-cache-miss: true
@ -80,7 +80,7 @@ jobs:
- name: Archive artifacts logs
if: ${{ failure() && !cancelled() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ github.workflow }}-${{ github.sha }}-logs-run#${{ github.run_number }}
path: |

@ -16,7 +16,7 @@ jobs:
steps:
- name: Checkout proxysql_3p_testing
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: 'proxysql/proxysql_3p_testing'
ref: 'main'
@ -28,7 +28,7 @@ jobs:
proxysql
- name: Cache restore bin
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
key: CI-builds_${{ github.sha }}_debian11_bin
fail-on-cache-miss: true
@ -80,7 +80,7 @@ jobs:
- name: Archive artifacts logs
if: ${{ failure() && !cancelled() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ github.workflow }}-${{ github.sha }}-logs-run#${{ github.run_number }}
path: |

@ -35,7 +35,7 @@ jobs:
- name: Cache restore src
id: cache-src
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
key: CI-builds_${{ github.sha }}_ubuntu22-tap_src
fail-on-cache-miss: true
@ -43,7 +43,7 @@ jobs:
proxysql/src/
- name: Checkout jenkins_build_scripts
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: 'proxysql/jenkins-build-scripts'
ref: 'kubernetes'
@ -149,7 +149,7 @@ jobs:
- name: Archive artifacts logs
if: ${{ failure() && !cancelled() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ github.workflow }}-${{ github.sha }}-logs-run#${{ github.run_number }}
path: |
@ -157,7 +157,7 @@ jobs:
- name: Archive artifacts bin
if: ${{ failure() && !cancelled() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ github.workflow }}-${{ github.sha }}-bin-run#${{ github.run_number }}
path: |

@ -63,7 +63,7 @@ jobs:
- name: Cache check
id: cache-check
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
# key: CI-builds_${{ github.sha }}_${{ matrix.dist }}${{ matrix.type }}_bin
key: CI-builds_${{ github.sha }}_ubuntu22-tap_bin
@ -73,7 +73,7 @@ jobs:
- name: Checkout repository
if: ${{ steps.cache-check.outputs.cache-hit != 'true' }}
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# repository: 'sysown/proxysql'
# ref: 'v2.x'
@ -137,7 +137,7 @@ jobs:
- name: Cache save bin
id: cache-save-bin
if: ${{ success() && steps.cache-check.outputs.cache-hit != 'true' }}
uses: actions/cache/save@v3
uses: actions/cache/save@v4
with:
key: CI-builds_${{ github.sha }}_${{ matrix.dist }}${{ matrix.type }}_bin
path: |
@ -146,7 +146,7 @@ jobs:
- name: Cache save src
id: cache-save-src
if: ${{ success() && steps.cache-check.outputs.cache-hit != 'true' && matrix.type == '-tap' }}
uses: actions/cache/save@v3
uses: actions/cache/save@v4
with:
key: CI-builds_${{ github.sha }}_${{ matrix.dist }}${{ matrix.type }}_src
path: |
@ -155,7 +155,7 @@ jobs:
- name: Cache save test
id: cache-save-test
if: ${{ success() && steps.cache-check.outputs.cache-hit != 'true' && matrix.type == '-tap' }}
uses: actions/cache/save@v3
uses: actions/cache/save@v4
with:
key: CI-builds_${{ github.sha }}_${{ matrix.dist }}${{ matrix.type }}_test
path: |
@ -164,7 +164,7 @@ jobs:
- name: Cache save matrix
id: cache-save-matrix
if: ${{ success() && steps.cache-check.outputs.cache-hit != 'true' && matrix.type == '-tap' }}
uses: actions/cache/save@v3
uses: actions/cache/save@v4
with:
key: CI-builds_${{ github.sha }}_${{ matrix.dist }}${{ matrix.type }}_matrix
path: |
@ -172,7 +172,7 @@ jobs:
- name: Archive artifacts
if: ${{ failure() && !cancelled() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ci-builds-${{ github.sha }}-run#${{ github.run_number }}
path: |

@ -48,7 +48,7 @@ jobs:
run: sudo apt-get -y install libssl-dev gnutls-dev libgnutls28-dev libmysqlclient-dev libboost-all-dev libunwind8 libunwind-dev uuid-dev ca-certificates
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL

@ -29,7 +29,7 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: 'sysown/proxysql'
# ref: 'v2.x'
@ -60,7 +60,7 @@ jobs:
- name: Archive artifacts logs
if: ${{ failure() && !cancelled() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ github.workflow }}-${{ github.sha }}-logs-run#${{ github.run_number }}-${{ matrix.target }}
path: |

@ -71,7 +71,7 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: 'sysown/proxysql'
# ref: 'v2.x'
@ -127,7 +127,7 @@ jobs:
# - name: Archive artifacts
# if: ${{ failure() && !cancelled() }}
# uses: actions/upload-artifact@v3
# uses: actions/upload-artifact@v4
# with:
# name: ${{ github.workflow }}-${{ env.GIT_VERSION }}-${{ matrix.dist }}
# path: |

@ -20,7 +20,7 @@ jobs:
- name: Cache restore src
id: cache-src
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
key: CI-builds_${{ github.sha }}_ubuntu22-tap_src
fail-on-cache-miss: true
@ -28,7 +28,7 @@ jobs:
proxysql/src/
- name: Checkout jenkins_build_scripts
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: 'proxysql/jenkins-build-scripts'
ref: 'proxysql_repl_tests'
@ -66,7 +66,7 @@ jobs:
- name: Archive artifacts logs
if: ${{ failure() && !cancelled() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ github.workflow }}-${{ github.sha }}-logs-run#${{ github.run_number }}
path: |
@ -74,7 +74,7 @@ jobs:
- name: Archive artifacts bin
if: ${{ failure() && !cancelled() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ github.workflow }}-${{ github.sha }}-bin-run#${{ github.run_number }}
path: |

@ -11,7 +11,7 @@ jobs:
steps:
- name: Cache restore src
id: cache-src
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
key: CI-builds_${{ github.sha }}_ubuntu22-tap_src
fail-on-cache-miss: true
@ -83,7 +83,7 @@ jobs:
- name: Archive artifacts logs
if: ${{ failure() && !cancelled() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ github.workflow }}-${{ github.sha }}-logs-run#${{ github.run_number }}
path: |
@ -91,7 +91,7 @@ jobs:
- name: Archive artifacts bin
if: ${{ failure() && !cancelled() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ github.workflow }}-${{ github.sha }}-bin-run#${{ github.run_number }}
path: |

@ -20,7 +20,7 @@ jobs:
- name: Cache restore src
id: cache-src
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
key: CI-builds_${{ github.sha }}_ubuntu22-tap_src
fail-on-cache-miss: true
@ -28,7 +28,7 @@ jobs:
proxysql/src/
- name: Checkout jenkins_build_scripts
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: 'proxysql/jenkins-build-scripts'
ref: 'proxysql_repl_tests'
@ -60,7 +60,7 @@ jobs:
- name: Archive artifacts logs
if: ${{ failure() && !cancelled() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ github.workflow }}-${{ github.sha }}-logs-run#${{ github.run_number }}
path: |
@ -68,7 +68,7 @@ jobs:
- name: Archive artifacts bin
if: ${{ failure() && !cancelled() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ github.workflow }}-${{ github.sha }}-bin-run#${{ github.run_number }}
path: |

@ -13,7 +13,7 @@ jobs:
- name: Cache restore
id: cache-matrix
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
key: CI-builds_${{ github.sha }}_ubuntu22-tap_matrix
fail-on-cache-miss: true
@ -82,7 +82,7 @@ jobs:
- name: Cache restore src
id: cache-src
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
key: CI-builds_${{ github.sha }}_ubuntu22-tap_src
fail-on-cache-miss: true
@ -91,7 +91,7 @@ jobs:
- name: Cache restore test
id: cache-test
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
key: CI-builds_${{ github.sha }}_ubuntu22-tap_test
fail-on-cache-miss: true
@ -99,7 +99,7 @@ jobs:
proxysql/test/
- name: Checkout jenkins_build_scripts
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: 'proxysql/jenkins-build-scripts'
ref: 'kubernetes'
@ -229,7 +229,7 @@ jobs:
- name: Archive artifacts logs
if: ${{ failure() && !cancelled() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ github.workflow }}-${{ github.sha }}-logs-run#${{ github.run_number }}-${{ env.TESTGROUP }}
path: |
@ -237,7 +237,7 @@ jobs:
- name: Archive artifacts bins
if: ${{ failure() && !cancelled() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ github.workflow }}-${{ github.sha }}-bins-run#${{ github.run_number }}-${{ env.TESTGROUP }}
path: |
@ -248,7 +248,7 @@ jobs:
- name: Archive artifacts tests
if: ${{ failure() && !cancelled() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ github.workflow }}-${{ github.sha }}-tests-run#${{ github.run_number }}-${{ env.TESTGROUP }}
path: |

@ -53,7 +53,7 @@ jobs:
sudo apt-get install -y --allow-downgrades libmysqlclient-dev=5.7*
- name: Checkout proxysql
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: 'sysown/proxysql'
# ref: 'v2.x'
@ -67,7 +67,7 @@ jobs:
echo "GIT_VERSION=$(git describe --long --abbrev=7)" >> $GITHUB_ENV
- name: Checkout jenkins_build_scripts
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: 'proxysql/jenkins-build-scripts'
ref: 'kubernetes'
@ -146,7 +146,7 @@ jobs:
- name: Archive artifacts
if: ${{ always() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.GITHUB_WORKFLOW }}-${{ env.GIT_VERSION }}-run#${{ github.run_number }}
path: |
@ -194,7 +194,7 @@ jobs:
sudo apt-get install -y --allow-downgrades libmysqlclient-dev=5.7*
- name: Checkout proxysql
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: 'sysown/proxysql'
# ref: 'v2.x'
@ -208,7 +208,7 @@ jobs:
echo "GIT_VERSION=$(git describe --long --abbrev=7)" >> $GITHUB_ENV
- name: Download build
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ${{ env.GITHUB_WORKFLOW }}-${{ env.GIT_VERSION }}-run#${{ github.run_number }}
path: proxysql
@ -219,7 +219,7 @@ jobs:
sudo ln -s ${{ github.workspace }}/proxysql /opt/proxysql
- name: Checkout jenkins_build_scripts
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: 'proxysql/jenkins-build-scripts'
ref: 'kubernetes'
@ -310,7 +310,7 @@ jobs:
- name: Archive artifacts logs
if: ${{ failure() && !cancelled() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ github.workflow }}-${{ github.sha }}-logs-run#${{ github.run_number }}-${{ env.TESTGROUP }}
path: |
@ -318,7 +318,7 @@ jobs:
- name: Archive artifacts bins
if: ${{ failure() && !cancelled() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ github.workflow }}-${{ github.sha }}-bins-run#${{ github.run_number }}-${{ env.TESTGROUP }}
path: |
@ -329,7 +329,7 @@ jobs:
- name: Archive artifacts tests
if: ${{ failure() && !cancelled() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ github.workflow }}-${{ github.sha }}-tests-run#${{ github.run_number }}-${{ env.TESTGROUP }}
path: |

@ -16,7 +16,7 @@ jobs:
- name: Cache restore
id: cache-matrix
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
key: CI-builds_${{ github.sha }}_ubuntu22-tap_matrix
fail-on-cache-miss: true
@ -71,7 +71,7 @@ jobs:
- name: Cache restore src
id: cache-src
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
key: CI-builds_${{ github.sha }}_ubuntu22-tap_src
fail-on-cache-miss: true
@ -80,7 +80,7 @@ jobs:
- name: Cache restore test
id: cache-test
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
key: CI-builds_${{ github.sha }}_ubuntu22-tap_test
fail-on-cache-miss: true
@ -89,7 +89,7 @@ jobs:
- name: Cache restore tap-matrix
id: cache-matrix
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
key: CI-builds_${{ github.sha }}_ubuntu22-tap_matrix
fail-on-cache-miss: true
@ -97,7 +97,7 @@ jobs:
proxysql/tap-matrix*
- name: Checkout jenkins_build_scripts
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: 'proxysql/jenkins-build-scripts'
ref: 'kubernetes'
@ -273,7 +273,7 @@ jobs:
- name: Archive artifacts logs
if: ${{ failure() && !cancelled() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ github.workflow }}-${{ github.sha }}-logs-run#${{ github.run_number }}-${{ env.taptests }}
path: |
@ -281,7 +281,7 @@ jobs:
- name: Archive artifacts bins
if: ${{ failure() && !cancelled() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ github.workflow }}-${{ github.sha }}-bins-run#${{ github.run_number }}-${{ env.taptests }}
path: |
@ -292,7 +292,7 @@ jobs:
- name: Archive artifacts tests
if: ${{ failure() && !cancelled() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ github.workflow }}-${{ github.sha }}-tests-run#${{ github.run_number }}-${{ env.taptests }}
path: |

@ -16,7 +16,7 @@ jobs:
- name: Cache restore
id: cache-matrix
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
key: CI-builds_${{ github.sha }}_ubuntu22-tap_matrix
fail-on-cache-miss: true
@ -86,7 +86,7 @@ jobs:
- name: Cache restore src
id: cache-src
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
key: CI-builds_${{ github.sha }}_ubuntu22-tap_src
fail-on-cache-miss: true
@ -95,7 +95,7 @@ jobs:
- name: Cache restore test
id: cache-test
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
key: CI-builds_${{ github.sha }}_ubuntu22-tap_test
fail-on-cache-miss: true
@ -103,7 +103,7 @@ jobs:
proxysql/test/
- name: Checkout jenkins_build_scripts
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: 'proxysql/jenkins-build-scripts'
ref: 'kubernetes'
@ -213,7 +213,7 @@ jobs:
- name: Archive artifacts logs
if: ${{ failure() && !cancelled() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ github.workflow }}-${{ github.sha }}-logs-run#${{ github.run_number }}-${{ env.taptests }}
path: |
@ -221,7 +221,7 @@ jobs:
- name: Archive artifacts bins
if: ${{ failure() && !cancelled() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ github.workflow }}-${{ github.sha }}-bins-run#${{ github.run_number }}-${{ env.taptests }}
path: |
@ -232,7 +232,7 @@ jobs:
- name: Archive artifacts tests
if: ${{ failure() && !cancelled() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ github.workflow }}-${{ github.sha }}-tests-run#${{ github.run_number }}-${{ env.taptests }}
path: |

Loading…
Cancel
Save