Skip to content

replaced deprecated scheduler_binding_duration_seconds_bucket metric … #7

replaced deprecated scheduler_binding_duration_seconds_bucket metric …

replaced deprecated scheduler_binding_duration_seconds_bucket metric … #7

Workflow file for this run

name: Release
on:
push:
tags:
- "version-*" # Trigger the workflow on push events to version-* tags
permissions:
contents: write
jobs:
build:
name: Build Artifact
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
- name: Set up Go
uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
with:
go-version-file: "scripts/go.mod"
- name: Build release archive
run: |
echo "Building Grafana Dashboards, Prometheus Rules and Alerts"
make
echo "Compressing Artifacts"
zip -r kubernetes-mixin-${{ github.ref_name }}.zip dashboards_out prometheus_alerts.yaml prometheus_rules.yaml
- name: Upload artifact
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
with:
name: kubernetes-mixin-${{ github.ref_name }}.zip
path: ./
release:
name: Release
runs-on: ubuntu-latest
needs: build
steps:
- name: Download artifact
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
with:
name: kubernetes-mixin-${{ github.ref_name }}.zip
- name: Create release on kubernetes-mixin
uses: softprops/action-gh-release@5be0e66d93ac7ed76da52eca8bb058f665c3a5fe # v2.4.2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref_name }}
repository: kubernetes-monitoring/kubernetes-mixin
generate_release_notes: true
files: kubernetes-mixin-${{ github.ref_name }}.zip