Skip to content

✨ Configurable qos resources for containers managed by cluster-manager and klusterlet #806

✨ Configurable qos resources for containers managed by cluster-manager and klusterlet

✨ Configurable qos resources for containers managed by cluster-manager and klusterlet #806

Workflow file for this run

name: Pre
on:
workflow_dispatch: {}
pull_request:
paths-ignore:
- 'solutions/**'
- 'assets/**'
- 'troubleshooting/**'
- ".github/ISSUE_TEMPLATE/*"
branches:
- main
- release-*
env:
GO_VERSION: '1.21'
GO_REQUIRED_MIN_VERSION: ''
permissions:
contents: read
jobs:
verify:
name: verify
runs-on: ubuntu-latest
steps:
- name: checkout code
uses: actions/checkout@v3
- name: install Go
uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
- name: verify
run: make verify
- name: verify-deps
run: make verify-deps
- name: verify-fmt-imports
run: make verify-fmt-imports
build:
name: build
runs-on: ubuntu-latest
steps:
- name: checkout code
uses: actions/checkout@v3
- name: install Go
uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
- name: build
run: make build
unit:
name: unit
runs-on: ubuntu-latest
steps:
- name: checkout code
uses: actions/checkout@v3
- name: install Go
uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
- name: unit
run: make test
- name: report coverage
uses: codecov/codecov-action@v3
with:
files: ./coverage.out
flags: unit
name: unit
verbose: true
fail_ci_if_error: true
integration:
name: integration
runs-on: ubuntu-latest
steps:
- name: checkout code
uses: actions/checkout@v3
- name: install Go
uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
- name: integration
run: make test-integration