fix(cluster-total dashboard): remove joined kube_pod_info in TCP quer… #4
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| - name: Set up Go | |
| uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0 | |
| with: | |
| go-version: '1.24' | |
| - 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@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 | |
| 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@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0 | |
| with: | |
| name: kubernetes-mixin-${{ github.ref_name }}.zip | |
| - name: Create release on kubernetes-mixin | |
| uses: softprops/action-gh-release@6da8fa9354ddfdc4aeace5fc48d7f679b5214090 # v2.4.1 | |
| 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 |