build(deps): bump k8s.io/client-go from 0.20.2 to 0.28.3 #168
Workflow file for this run
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: Run Helm e2e tests | |
on: | |
push: | |
branches: | |
- master | |
- main | |
paths-ignore: | |
- 'docs/**' | |
- 'website/**' | |
- 'assets/**' | |
- 'backup/**' | |
- '*.md' | |
pull_request: | |
types: [opened, synchronize, ready_for_review, reopened] | |
paths-ignore: | |
- 'docs/**' | |
- 'website/**' | |
- 'assets/**' | |
- 'backup/**' | |
- '*.md' | |
env: | |
MINIKUBE_CPUS_NUMBER: 2 | |
MINIKUBE_MEMORY_AMOUNT: 6144 | |
jobs: | |
run-tests: | |
if: github.event.pull_request.draft == false | |
name: Run automated tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Set up env vars | |
run: | | |
echo "GO111MODULE=on" >> $GITHUB_ENV | |
echo "CHANGE_MINIKUBE_NONE_USER=true" >> $GITHUB_ENV | |
echo "MINIKUBE_WANTUPDATENOTIFICATION=false" >> $GITHUB_ENV | |
echo "MINIKUBE_WANTREPORTERRORPROMPT=false" >> $GITHUB_ENV | |
echo "GO_VERSION=v$(sed -n 's/GO_VERSION=//p' config.base.env)" >> $GITHUB_ENV | |
echo "HELM_VERSION=v$(sed -n 's/HELM_VERSION=//p' config.base.env)" >> $GITHUB_ENV | |
echo "GOPATH=/home/runner/go" >> $GITHUB_ENV | |
- name: Prepare go environment | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ env.GO_VERSION }} | |
- name: Ensure Golang runtime dependencies | |
run: make go-dependencies | |
- name: Verify code formatting | |
run: make verify | |
- name: Prepare environment for e2e | |
run: | | |
sudo apt-get update | |
sudo apt-get install socat | |
sudo mkdir -p $HOME/.kube $HOME/.minikube | |
sudo chown -R $USER $HOME/.kube $HOME/.minikube | |
make minikube-start \ | |
MINIKUBE_DRIVER='docker' \ | |
MEMORY_AMOUNT=${{ env.MINIKUBE_MEMORY_AMOUNT }} \ | |
CPUS_NUMBER=${{ env.MINIKUBE_CPUS_NUMBER }} | |
- name: Jenkins Operator - Helm Chart tests | |
run: | | |
git reset --hard | |
make helm-lint | |
eval $(bin/minikube docker-env) | |
make helm-e2e E2E_TEST_ARGS='-ginkgo.v' |