Skip to content

Bump k8s.io/api from 0.29.3 to 0.30.3 #173

Bump k8s.io/api from 0.29.3 to 0.30.3

Bump k8s.io/api from 0.29.3 to 0.30.3 #173

Workflow file for this run

name: 'build binary'
on:
pull_request:
workflow_dispatch:
jobs:
build:
name: 'Build binary and test'
runs-on: ubuntu-latest
steps:
- name: 'checkout'
uses: actions/checkout@v4
- name: 'setup go'
uses: actions/setup-go@v5
- name: 'build binary'
run: go build -o sonar
- name: 'run built binary'
run: ./sonar version
- name: 'wait for approval'
uses: trstringer/manual-approval@v1
with:
secret: ${{ github.TOKEN }}
approvers: glitchcrab
minimum-approvals: 1
issue-title: "Approval required for testing in KinD"
issue-body: "Please approve or deny creation of a KinD cluster for testing"
exclude-workflow-initiator-as-approver: false
- name: 'create kind cluster'
uses: helm/kind-action@v1
with:
cluster_name: 'sonar-test'
- name: 'test deploying with sonar'
run: ./sonar create -n default -N ci-test -i glitchcrab/ubuntu-debug
- name: 'wait for deployment to start'
uses: jupyterhub/action-k8s-await-workloads@v3
with:
workloads: "deploy/sonar-ci-test"
namespace: "default"
timeout: 60