Skip to content

Bump github.com/bufbuild/buf from 1.29.0 to 1.31.0 in /tools #7745

Bump github.com/bufbuild/buf from 1.29.0 to 1.31.0 in /tools

Bump github.com/bufbuild/buf from 1.29.0 to 1.31.0 in /tools #7745

Workflow file for this run

name: Update
on:
push:
branches:
- main
- pmm-*
tags:
- v[0-9]+.[0-9]+.[0-9]+*
pull_request:
paths-ignore:
- "admin/**"
- "agent/**"
- "api-tests/**"
- "cli-tests/**"
- "docs/**"
- "managed/**"
- "qan-api2/**"
- "vmproxy/**"
jobs:
build:
name: Build
strategy:
fail-fast: false
matrix:
image:
- percona/pmm-server:2.0.0 # oldest production version
- percona/pmm-server:2.16.0 # version with enabled experimental repo
- percona/pmm-server:2 # latest production version
- perconalab/pmm-server:dev-latest # latest development version
env:
PMM_SERVER_IMAGE: ${{ matrix.image }}
runs-on: ubuntu-22.04
defaults:
run:
working-directory: ${{ github.workspace }}/update
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Docker Up
run: docker compose up -d
- name: Install dev tools in container
run: docker exec pmm-update-server /root/go/src/github.com/percona/pmm/update/.devcontainer/install-dev-tools.sh
- name: Run install
run: docker exec pmm-update-server make -C /root/go/src/github.com/percona/pmm/update install
- name: Run license check and ansible checks
run: docker exec pmm-update-server make -C /root/go/src/github.com/percona/pmm/update check
- name: Run tests
run: docker exec pmm-update-server make -C /root/go/src/github.com/percona/pmm/update test-race
- name: Run with race detector and collect coverage information
run: docker exec pmm-update-server make -C /root/go/src/github.com/percona/pmm/update run-race-cover RUN_FLAGS='-debug -check'
- name: Upload coverage results
uses: codecov/codecov-action@v4
with:
file: cover.out
flags: update
fail_ci_if_error: false
token: ${{ secrets.CODECOV_TOKEN }}