Skip to content

Update docker.io/redis Docker tag to v7.4 #766

Update docker.io/redis Docker tag to v7.4

Update docker.io/redis Docker tag to v7.4 #766

Workflow file for this run

name: Lint Test
on:
pull_request:
paths-ignore:
- '.github/**'
- 'README.md'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
# Declare default permissions as read only.
permissions: read-all
jobs:
lint-test:
env:
branch_name: ${{ github.head_ref || github.ref_name }}
# renovate: datasource=github-releases depName=helm/helm
HELM_VERSION: v3.15.2
# renovate: datasource=github-tags depName=python/cpython
PYTHON_VERSION: v3.12.4
# renovate: datasource=pypi depName=pybump
PYBUMP_VERSION: 1.12.3
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout 🛎️
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
with:
fetch-depth: 0
- name: Setup Helm 🧰
uses: azure/setup-helm@fe7b79cd5ee1e45176fcad797de68ecaf3ca4814 # v4
with:
version: ${{ env.HELM_VERSION }}
- name: Setup Python 🐍
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Setup chart-testing 🧰
uses: helm/chart-testing-action@e6669bcd63d7cb57cb4380c33043eebe5d111992 # v2.6.1
- name: Setup pybump
if: ${{ contains(env.branch_name, 'renovate') }}
run: |
pip3 install pybump==${PYBUMP_VERSION}
- name: Bump chart version
if: ${{ contains(env.branch_name, 'renovate') }}
id: bumped_charts
run: |
.github/renovate-bump.sh
- name: Run Chart lint tests 🧪
run: ct lint --target-branch main
# Use the REST API to commit changes, so we get automatic commit signing
- name: Push changes
if: ${{ contains(env.branch_name, 'renovate') }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
changed_charts: ${{ steps.bumped_charts.outputs.CHARTS }}
run: |
for chart in ${changed_charts}; do
export SHA=$(git rev-parse origin/${branch_name}:${chart} )
gh api --method PUT /repos/:owner/:repo/contents/${chart} \
--field message="chore: bumped ${chart} version" \
--field content=@<( base64 -i ${chart} ) \
--field branch="${branch_name}" \
--field sha="$SHA"
done