Skip to content

Bump k8s.io/client-go from 0.31.3 to 0.32.0 #360

Bump k8s.io/client-go from 0.31.3 to 0.32.0

Bump k8s.io/client-go from 0.31.3 to 0.32.0 #360

Workflow file for this run

name: PR test CI
on: [pull_request]
jobs:
build:
runs-on: elisa-normal
permissions:
id-token: write
contents: read
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- uses: elisa-actions/setup-go-and-mage@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Run unit tests
run: mage go:unitTest
- name: Upload test coverage to codecov
uses: codecov/codecov-action@v5
with:
url: https://codecov.csf.elisa.fi
flags: unit
files: ./target/tests/cover/unit/cover.txt
use_oidc: true
- name: Lint
run: mage go:lint
- name: Build binary
run: mage go:build
- name: Build image
env:
DOCKER_IMAGE_TAGS: sha-${{ github.event.pull_request.head.sha }}
run: mage docker:build
automerge:
needs: [build]
permissions:
pull-requests: write
contents: write
runs-on: elisa-normal
if: |
github.event.pull_request.user.login == 'dependabot[bot]' ||
github.event.pull_request.user.login == 'dops-sre'
steps:
- name: Automerge dependabot and repo-updater PR's
run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GH_TOKEN: ${{ secrets.DOPS_SRE_PAT }}