Skip to content

feat(ethereum-node): Bump ethereum-metrics-exporter chart #125

feat(ethereum-node): Bump ethereum-metrics-exporter chart

feat(ethereum-node): Bump ethereum-metrics-exporter chart #125

name: charts/ethereum-node
on:
pull_request:
paths:
- charts/ethereum-node/**
jobs:
test:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.head_ref }}-${{ matrix.network }}-${{ matrix.consensus }}-${{ matrix.execution }}
cancel-in-progress: true
strategy:
fail-fast: false
matrix:
consensus: [teku, prysm, lighthouse, nimbus, lodestar, grandine]
execution: [geth, nethermind, erigon, besu, ethereumjs, reth]
network: [sepolia, mainnet]
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Fetch default branch
run: git fetch origin ${{ github.event.repository.default_branch }}:${{ github.event.repository.default_branch }}
- name: Set up Helm
uses: azure/setup-helm@v4
with:
version: v3.13.0
- uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Run pre-commit hooks
uses: pre-commit/[email protected]
- name: Set up chart-testing
uses: helm/[email protected]
with:
version: "v3.10.0"
- name: Check if chart got changed
id: list-changed
run: |
if ct list-changed --config ct.yaml --target-branch ${{ github.event.repository.default_branch }} | grep -q 'charts/ethereum-node'; then
echo "changed=true" >> $GITHUB_OUTPUT
fi
- name: Run chart-testing (lint)
run: >
ct lint
--config ct.yaml
--target-branch ${{ github.event.repository.default_branch }}
--charts charts/ethereum-node
- name: Create kind cluster
uses: helm/[email protected]
if: steps.list-changed.outputs.changed == 'true'
- name: Run chart-testing (install)
if: steps.list-changed.outputs.changed == 'true'
run: >
ct install
--config ct.yaml
--target-branch ${{ github.event.repository.default_branch }}
--charts charts/ethereum-node
--helm-extra-set-args="
--values=charts/ethereum-node/ci/networks/${{ matrix.network }}.yaml
--values=charts/ethereum-node/ci/clients/execution/${{ matrix.execution }}.yaml
--values=charts/ethereum-node/ci/clients/consensus/${{ matrix.consensus }}.yaml
"