Skip to content

fix(grpc): validate the payload for Kernel info #1

fix(grpc): validate the payload for Kernel info

fix(grpc): validate the payload for Kernel info #1

Workflow file for this run

name: release
on:
push:
tags:
- "v*.*.*"
jobs:
# test:
# runs-on: ubuntu-latest
# env:
# PROJECT_NAME: "flintlock_release_e2e"
# steps:
# - uses: actions/checkout@v2
# - name: Run e2es
# env:
# METAL_AUTH_TOKEN: ${{ secrets.METAL_AUTH_TOKEN }}
# run: |
# pip3 install -r test/tools/requirements.txt
# test/tools/run.py run-e2e -o ${{ secrets.EQUINIX_ORG_ID }} -p ${{ env.PROJECT_NAME }}
# - name: Cleanup project
# uses: weaveworks/metal-janitor-action@27a0594c5c92d85585b553fc0c5ef2a3de7bec95
# with:
# metal_auth_token: ${{ secrets.METAL_AUTH_TOKEN }}
# project_names: ${{ env.PROJECT_NAME }}
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
with:
go-version-file: '${{ github.workspace }}/go.mod'
check-latest: true
cache: false
- name: Build binaries
run: make build-release
- name: Store flintlock binaries
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
with:
name: flintlock-binaries
path: bin/*
retention-days: 1
release:
runs-on: ubuntu-latest
needs: [build]
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
- name: Download flintlock binaries
uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
with:
name: flintlock-binaries
path: bin
- name: Release
uses: softprops/action-gh-release@4b4d743a9bb620a3869f98d3be3ccdbd313922d3 # v2.2.0
with:
prerelease: false
draft: true
fail_on_unmatched_files: true
generate_release_notes: true
files: |
bin/flintlockd_amd64
bin/flintlockd_arm64
bin/flintlock-metrics_amd64
bin/flintlock-metrics_arm64