Bump k8s.io/api from 0.26.1 to 0.27.4 #97
This file contains 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: E2E Test | |
on: | |
push: | |
branches: | |
- "master" | |
paths: | |
- '**.go' | |
- '**.yaml' | |
- '**.mod' | |
pull_request: | |
paths: | |
- '**.go' | |
- '**.yaml' | |
- '**.mod' | |
env: | |
# Common versions | |
GO_VERSION: '1.18' | |
jobs: | |
kind: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 2 | |
- name: Setup Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ env.GO_VERSION }} | |
- name: Get dependencies | |
run: | | |
go get -v -t -d ./... | |
- name: Go build | |
run: | | |
make bin | |
- name: Setup Kind | |
uses: engineerd/setup-kind@v0.5.0 | |
with: | |
version: "v0.11.1" | |
- name: Test Check | |
run: | | |
kubectl cluster-info | |
kubectl get pods -n kube-system | |
echo "current-context:" $(kubectl config current-context) | |
- name: Test Interactive | |
run: | | |
echo "********************************************************************************" | |
echo "Test Installation..." | |
echo "********************************************************************************" | |
kubectl create deployment nginx --image=nginx | |
bin/pod-lens | |
- name: Test Deployments | |
run: | | |
echo "********************************************************************************" | |
echo "Test Deployments..." | |
echo "********************************************************************************" | |
make e2e-deployment | |
- name: Test StatefulSets | |
run: | | |
echo "********************************************************************************" | |
echo "Test StatefulSets..." | |
echo "********************************************************************************" | |
kubectl apply -f e2e/statefulset.yaml | |
kubectl rollout status statefulset/web | |
bin/pod-lens web-0 | |
- name: Test DaemonSet | |
run: | | |
echo "********************************************************************************" | |
echo "Test DaemonSet..." | |
echo "********************************************************************************" | |
kubectl apply -f e2e/daemonset.yaml | |
kubectl rollout status daemonset/my-daemonset | |
bin/pod-lens my-daemonset-* |