Skip to content
This repository has been archived by the owner on Apr 25, 2022. It is now read-only.

Commit

Permalink
CI fix
Browse files Browse the repository at this point in the history
- temporarily fix kubebuilder download link
- assignee update
  • Loading branch information
hbinkim committed Aug 26, 2021
1 parent 197c51f commit fd617f1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/assign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
uses: hkusu/review-assign-action@v1
with:
assignees: ${{ github.actor }}
reviewers: hyoung-90, hbinkim, shellwedance, donggyupark
reviewers: hyoung-90, hbinkim, donggyupark
max-num-of-reviewers: 2
draft-keyword: wip
size-label:
Expand Down
8 changes: 5 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ IMG ?= 192.168.7.16:5000/hypersds-operator:latest
CRD_OPTIONS ?= "crd:trivialVersions=true"
# Name prefix to generate the names of all resources. This value must be the same as 'namePrefix' defined in config/default/kustomization.yaml
NAME_PREFIX ?= hypersds-operator-
KUBE_VERSION ?= 1.19.8
KUBEBUILDER_VERSION ?= 2.3.1

# Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set)
ifeq (,$(shell go env GOBIN))
Expand Down Expand Up @@ -125,16 +127,16 @@ minikube-download:
sudo apt-get install conntrack

minikube-start:
CHANGE_MINIKUBE_NONE_USER=true sudo -E minikube start --driver=none --kubernetes-version=v1.19.7
CHANGE_MINIKUBE_NONE_USER=true sudo -E minikube start --driver=none --kubernetes-version=v$(KUBE_VERSION)
sleep 3

minikube-clean:
CHANGE_MINIKUBE_NONE_USER=true sudo -E minikube delete

# Kubebuilder related command
kubebuilder-download:
curl -L https://go.kubebuilder.io/dl/2.3.1/linux/amd64 | tar -xz -C /tmp/
sudo mv /tmp/kubebuilder_2.3.1_linux_amd64 /usr/local/kubebuilder
curl -L https://github.com/kubernetes-sigs/kubebuilder/releases/download/v$(KUBEBUILDER_VERSION)/kubebuilder_$(KUBEBUILDER_VERSION)_linux_amd64.tar.gz | tar -xz -C /tmp/
sudo mv /tmp/kubebuilder_$(KUBEBUILDER_VERSION)_linux_amd64 /usr/local/kubebuilder
export PATH=$(PATH):/usr/local/kubebuilder/bin

e2e-deploy: registry docker-build docker-push deploy
Expand Down

0 comments on commit fd617f1

Please sign in to comment.