Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Chu Peng 楚鹏
minikube
提交
2f81d487
M
minikube
项目概览
Chu Peng 楚鹏
/
minikube
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
M
minikube
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
2f81d487
编写于
1月 20, 2021
作者:
M
Medya Ghazizadeh
提交者:
GitHub
1月 20, 2021
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #9979 from ilya-zuyev/ilyaz/arm64_integration_tests
Add github action to run linux/arm64 integration tests
上级
2e6ceb79
2c07606d
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
262 addition
and
30 deletion
+262
-30
.github/workflows/iso.yml
.github/workflows/iso.yml
+1
-1
.github/workflows/kic_image.yml
.github/workflows/kic_image.yml
+1
-1
.github/workflows/master.yml
.github/workflows/master.yml
+125
-11
.github/workflows/pr.yml
.github/workflows/pr.yml
+126
-13
Makefile
Makefile
+7
-2
hack/jenkins/common.sh
hack/jenkins/common.sh
+2
-2
未找到文件。
.github/workflows/iso.yml
浏览文件 @
2f81d487
...
...
@@ -82,7 +82,7 @@ jobs:
-
name
:
Install gopogh
shell
:
bash
run
:
|
curl -LO https://github.com/medyagh/gopogh/releases/download/v0.
3
.0/gopogh-linux-amd64
curl -LO https://github.com/medyagh/gopogh/releases/download/v0.
4
.0/gopogh-linux-amd64
sudo install gopogh-linux-amd64 /usr/local/bin/gopogh
sudo apt-get install -y jq
-
name
:
Run Integration Test
...
...
.github/workflows/kic_image.yml
浏览文件 @
2f81d487
...
...
@@ -60,7 +60,7 @@ jobs:
-
name
:
Install gopogh
shell
:
bash
run
:
|
curl -LO https://github.com/medyagh/gopogh/releases/download/v0.
3
.0/gopogh-linux-amd64
curl -LO https://github.com/medyagh/gopogh/releases/download/v0.
4
.0/gopogh-linux-amd64
sudo install gopogh-linux-amd64 /usr/local/bin/gopogh
sudo apt-get install -y jq
rm -f gopogh-linux-amd64 || true
...
...
.github/workflows/master.yml
浏览文件 @
2f81d487
...
...
@@ -120,7 +120,7 @@ jobs:
shell
:
bash
run
:
|
curl -LO https://github.com/medyagh/gopogh/releases/download/v0.
3
.0/gopogh-linux-amd64
curl -LO https://github.com/medyagh/gopogh/releases/download/v0.
4
.0/gopogh-linux-amd64
sudo install gopogh-linux-amd64 /usr/local/bin/gopogh
-
name
:
Download Binaries
uses
:
actions/download-artifact@v1
...
...
@@ -205,7 +205,7 @@ jobs:
shell
:
bash
run
:
|
curl -LO https://github.com/medyagh/gopogh/releases/download/v0.
3
.0/gopogh-darwin-amd64
curl -LO https://github.com/medyagh/gopogh/releases/download/v0.
4
.0/gopogh-darwin-amd64
sudo install gopogh-darwin-amd64 /usr/local/bin/gopogh
-
name
:
Install docker
shell
:
bash
...
...
@@ -350,7 +350,7 @@ jobs:
continue-on-error
:
true
shell
:
powershell
run
:
|
(New-Object Net.WebClient).DownloadFile("https://github.com/medyagh/gopogh/releases/download/v0.
3
.0/gopogh.exe", "C:\ProgramData\chocolatey\bin\gopogh.exe")
(New-Object Net.WebClient).DownloadFile("https://github.com/medyagh/gopogh/releases/download/v0.
4
.0/gopogh.exe", "C:\ProgramData\chocolatey\bin\gopogh.exe")
choco install -y kubernetes-cli
choco install -y jq
choco install -y caffeine
...
...
@@ -487,7 +487,7 @@ jobs:
shell
:
powershell
run
:
|
$ErrorActionPreference = "SilentlyContinue"
(New-Object Net.WebClient).DownloadFile("https://github.com/medyagh/gopogh/releases/download/v0.
3
.0/gopogh.exe", "C:\ProgramData\chocolatey\bin\gopogh.exe")
(New-Object Net.WebClient).DownloadFile("https://github.com/medyagh/gopogh/releases/download/v0.
4
.0/gopogh.exe", "C:\ProgramData\chocolatey\bin\gopogh.exe")
choco install -y kubernetes-cli
choco install -y jq
choco install -y caffeine
...
...
@@ -592,7 +592,7 @@ jobs:
shell
:
bash
run
:
|
curl -LO https://github.com/medyagh/gopogh/releases/download/v0.
3
.0/gopogh-linux-amd64
curl -LO https://github.com/medyagh/gopogh/releases/download/v0.
4
.0/gopogh-linux-amd64
sudo install gopogh-linux-amd64 /usr/local/bin/gopogh
-
name
:
Download Binaries
uses
:
actions/download-artifact@v1
...
...
@@ -651,6 +651,117 @@ jobs:
if [ "$numPass" -eq 0 ];then echo "*** 0 Passed! ***";exit 2;fi
if [ "$numPass" -lt 26 ];then echo "*** Failed to pass at least 26 ! ***";exit 2;fi
if [ "$numPass" -eq 0 ];then echo "*** Passed! ***";exit 0;fi
functional_docker_ubuntu_arm64
:
needs
:
[
build_minikube
]
runs-on
:
[
self-hosted
,
arm64
]
env
:
TIME_ELAPSED
:
time
JOB_NAME
:
"
functional_docker_ubuntu_arm64"
GOPOGH_RESULT
:
"
"
SHELL
:
"
/bin/bash"
# To prevent https://github.com/kubernetes/minikube/issues/6643
steps
:
-
name
:
Install kubectl
shell
:
bash
run
:
|
curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.18.0/bin/linux/arm64/kubectl
sudo install kubectl /usr/local/bin/kubectl
kubectl version --client=true
-
name
:
Install gopogh
shell
:
bash
run
:
|
curl -LO https://github.com/medyagh/gopogh/releases/download/v0.4.0/gopogh-linux-arm64
sudo install gopogh-linux-arm64 /usr/local/bin/gopogh
-
name
:
Install tools
shell
:
bash
run
:
|
sudo apt update
sudo apt install -y jq docker
-
name
:
Docker Info
shell
:
bash
run
:
|
echo "--------------------------"
docker version || true
echo "--------------------------"
docker info || true
echo "--------------------------"
docker system df || true
echo "--------------------------"
docker system info --format='{{json .}}'|| true
echo "--------------------------"
docker ps || true
echo "--------------------------"
# go 1.14.6+ is needed because of this bug https://github.com/golang/go/issues/39308
-
uses
:
actions/setup-go@v2
with
:
go-version
:
'
1.15.2'
stable
:
true
-
name
:
Download Binaries
uses
:
actions/download-artifact@v1
with
:
name
:
minikube_binaries
-
name
:
Run Integration Test
continue-on-error
:
false
# bash {0} to allow test to continue to next step. in case of
shell
:
bash {0}
run
:
|
cd minikube_binaries
mkdir -p report
mkdir -p testhome
chmod a+x e2e-*
chmod a+x minikube-*
START_TIME=$(date -u +%s)
KUBECONFIG=$(pwd)/testhome/kubeconfig MINIKUBE_HOME=$(pwd)/testhome ./e2e-linux-arm64 -minikube-start-args=--vm-driver=docker -test.run TestFunctional -test.timeout=10m -test.v -timeout-multiplier=1.5 -binary=./minikube-linux-arm64 2>&1 | tee ./report/testout.txt
END_TIME=$(date -u +%s)
TIME_ELAPSED=$(($END_TIME-$START_TIME))
min=$((${TIME_ELAPSED}/60))
sec=$((${TIME_ELAPSED}%60))
TIME_ELAPSED="${min} min $sec seconds "
echo "TIME_ELAPSED=${TIME_ELAPSED}" >> $GITHUB_ENV
-
name
:
Generate HTML Report
shell
:
bash
run
:
|
cd minikube_binaries
export PATH=${PATH}:`go env GOPATH`/bin
go tool test2json -t < ./report/testout.txt > ./report/testout.json || true
STAT=$(gopogh -in ./report/testout.json -out ./report/testout.html -name "${JOB_NAME} ${GITHUB_REF}" -repo "${GITHUB_REPOSITORY}" -details "${GITHUB_SHA}") || true
echo status: ${STAT}
FailNum=$(echo $STAT | jq '.NumberOfFail')
TestsNum=$(echo $STAT | jq '.NumberOfTests')
GOPOGH_RESULT="${JOB_NAME} : completed with ${FailNum} / ${TestsNum} failures in ${TIME_ELAPSED}"
echo "GOPOGH_RESULT=${GOPOGH_RESULT}" >> $GITHUB_ENV
echo 'STAT<<EOF' >> $GITHUB_ENV
echo "${STAT}" >> $GITHUB_ENV
echo 'EOF' >> $GITHUB_ENV
-
uses
:
actions/upload-artifact@v1
with
:
name
:
functional_docker_ubuntu_arm64
path
:
minikube_binaries/report
-
name
:
The End Result - functional_docker_ubuntu_arm64
shell
:
bash
run
:
|
echo ${GOPOGH_RESULT}
numFail=$(echo $STAT | jq '.NumberOfFail')
numPass=$(echo $STAT | jq '.NumberOfPass')
echo "*******************${numPass} Passes :) *******************"
echo $STAT | jq '.PassedTests' || true
echo "*******************************************************"
echo "---------------- ${numFail} Failures :( ----------------------------"
echo $STAT | jq '.FailedTests' || true
echo "-------------------------------------------------------"
if [ "$numFail" -gt 0 ];then echo "*** $numFail Failed ***";exit 2;fi
if [ "$numPass" -eq 0 ];then echo "*** 0 Passed! ***";exit 2;fi
if [ "$numPass" -lt 20 ];then echo "*** Failed to pass at least 20 ! ***";exit 2;fi
if [ "$numPass" -eq 0 ];then echo "*** Passed! ***";exit 0;fi
addons_certs_docker_ubuntu
:
runs-on
:
ubuntu-18.04
env
:
...
...
@@ -689,7 +800,7 @@ jobs:
shell
:
bash
run
:
|
curl -LO https://github.com/medyagh/gopogh/releases/download/v0.
3
.0/gopogh-linux-amd64
curl -LO https://github.com/medyagh/gopogh/releases/download/v0.
4
.0/gopogh-linux-amd64
sudo install gopogh-linux-amd64 /usr/local/bin/gopogh
-
name
:
Download Binaries
uses
:
actions/download-artifact@v1
...
...
@@ -771,7 +882,7 @@ jobs:
shell
:
bash
run
:
|
curl -LO https://github.com/medyagh/gopogh/releases/download/v0.
3
.0/gopogh-darwin-amd64
curl -LO https://github.com/medyagh/gopogh/releases/download/v0.
4
.0/gopogh-darwin-amd64
sudo install gopogh-darwin-amd64 /usr/local/bin/gopogh
-
name
:
Install docker
shell
:
bash
...
...
@@ -883,7 +994,7 @@ jobs:
shell
:
bash
run
:
|
curl -LO https://github.com/medyagh/gopogh/releases/download/v0.
3
.0/gopogh-linux-amd64
curl -LO https://github.com/medyagh/gopogh/releases/download/v0.
4
.0/gopogh-linux-amd64
sudo install gopogh-linux-amd64 /usr/local/bin/gopogh
-
name
:
Download Binaries
uses
:
actions/download-artifact@v1
...
...
@@ -967,7 +1078,7 @@ jobs:
shell
:
bash
run
:
|
curl -LO https://github.com/medyagh/gopogh/releases/download/v0.
3
.0/gopogh-darwin-amd64
curl -LO https://github.com/medyagh/gopogh/releases/download/v0.
4
.0/gopogh-darwin-amd64
sudo install gopogh-darwin-amd64 /usr/local/bin/gopogh
-
name
:
Download Binaries
uses
:
actions/download-artifact@v1
...
...
@@ -1074,7 +1185,7 @@ jobs:
shell
:
bash
run
:
|
curl -LO https://github.com/medyagh/gopogh/releases/download/v0.
3
.0/gopogh-linux-amd64
curl -LO https://github.com/medyagh/gopogh/releases/download/v0.
4
.0/gopogh-linux-amd64
sudo install gopogh-linux-amd64 /usr/local/bin/gopogh
-
name
:
Download Binaries
uses
:
actions/download-artifact@v1
...
...
@@ -1156,7 +1267,7 @@ jobs:
shell
:
bash
run
:
|
curl -LO https://github.com/medyagh/gopogh/releases/download/v0.
3
.0/gopogh-darwin-amd64
curl -LO https://github.com/medyagh/gopogh/releases/download/v0.
4
.0/gopogh-darwin-amd64
sudo install gopogh-darwin-amd64 /usr/local/bin/gopogh
-
name
:
Download Binaries
uses
:
actions/download-artifact@v1
...
...
@@ -1235,6 +1346,7 @@ jobs:
functional_docker_windows
,
functional_hyperv_windows
,
functional_baremetal_ubuntu18_04
,
functional_docker_ubuntu_arm64
,
addons_certs_docker_ubuntu
,
addons_certs_virtualbox_macos
,
multinode_docker_ubuntu
,
...
...
@@ -1257,12 +1369,14 @@ jobs:
cp -r ./functional_docker_windows ./all_reports/
cp -r ./functional_hyperv_windows ./all_reports/
cp -r ./functional_baremetal_ubuntu18_04 ./all_reports/
cp -r ./functional_docker_ubuntu_arm64 ./all_reports/
cp -r ./addons_certs_docker_ubuntu ./all_reports/
cp -r ./addons_certs_virtualbox_macos ./all_reports/
cp -r ./multinode_docker_ubuntu ./all_reports/
cp -r ./multinode_virtualbox_macos ./all_reports/
cp -r ./preload_dockerflags_docker_ubuntu ./all_reports/
cp -r ./pause_preload_dockerflags_virtualbox_macos ./all_reports/
-
uses
:
actions/upload-artifact@v1
with
:
name
:
all_reports
...
...
.github/workflows/pr.yml
浏览文件 @
2f81d487
...
...
@@ -118,7 +118,7 @@ jobs:
shell
:
bash
run
:
|
curl -LO https://github.com/medyagh/gopogh/releases/download/v0.
3
.0/gopogh-linux-amd64
curl -LO https://github.com/medyagh/gopogh/releases/download/v0.
4
.0/gopogh-linux-amd64
sudo install gopogh-linux-amd64 /usr/local/bin/gopogh
-
name
:
Download Binaries
uses
:
actions/download-artifact@v1
...
...
@@ -203,7 +203,7 @@ jobs:
shell
:
bash
run
:
|
curl -LO https://github.com/medyagh/gopogh/releases/download/v0.
3
.0/gopogh-darwin-amd64
curl -LO https://github.com/medyagh/gopogh/releases/download/v0.
4
.0/gopogh-darwin-amd64
sudo install gopogh-darwin-amd64 /usr/local/bin/gopogh
-
name
:
Install docker
shell
:
bash
...
...
@@ -348,7 +348,7 @@ jobs:
continue-on-error
:
true
shell
:
powershell
run
:
|
(New-Object Net.WebClient).DownloadFile("https://github.com/medyagh/gopogh/releases/download/v0.
3
.0/gopogh.exe", "C:\ProgramData\chocolatey\bin\gopogh.exe")
(New-Object Net.WebClient).DownloadFile("https://github.com/medyagh/gopogh/releases/download/v0.
4
.0/gopogh.exe", "C:\ProgramData\chocolatey\bin\gopogh.exe")
choco install -y kubernetes-cli
choco install -y jq
choco install -y caffeine
...
...
@@ -485,7 +485,7 @@ jobs:
shell
:
powershell
run
:
|
$ErrorActionPreference = "SilentlyContinue"
(New-Object Net.WebClient).DownloadFile("https://github.com/medyagh/gopogh/releases/download/v0.
3
.0/gopogh.exe", "C:\ProgramData\chocolatey\bin\gopogh.exe")
(New-Object Net.WebClient).DownloadFile("https://github.com/medyagh/gopogh/releases/download/v0.
4
.0/gopogh.exe", "C:\ProgramData\chocolatey\bin\gopogh.exe")
choco install -y kubernetes-cli
choco install -y jq
choco install -y caffeine
...
...
@@ -590,7 +590,7 @@ jobs:
shell
:
bash
run
:
|
curl -LO https://github.com/medyagh/gopogh/releases/download/v0.
3
.0/gopogh-linux-amd64
curl -LO https://github.com/medyagh/gopogh/releases/download/v0.
4
.0/gopogh-linux-amd64
sudo install gopogh-linux-amd64 /usr/local/bin/gopogh
-
name
:
Download Binaries
uses
:
actions/download-artifact@v1
...
...
@@ -649,6 +649,118 @@ jobs:
if [ "$numPass" -eq 0 ];then echo "*** 0 Passed! ***";exit 2;fi
if [ "$numPass" -lt 26 ];then echo "*** Failed to pass at least 26 ! ***";exit 2;fi
if [ "$numPass" -eq 0 ];then echo "*** Passed! ***";exit 0;fi
functional_docker_ubuntu_arm64
:
needs
:
[
build_minikube
]
runs-on
:
[
self-hosted
,
arm64
]
env
:
TIME_ELAPSED
:
time
JOB_NAME
:
"
functional_docker_ubuntu_arm64"
GOPOGH_RESULT
:
"
"
SHELL
:
"
/bin/bash"
# To prevent https://github.com/kubernetes/minikube/issues/6643
steps
:
-
name
:
Install kubectl
shell
:
bash
run
:
|
curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.18.0/bin/linux/arm64/kubectl
sudo install kubectl /usr/local/bin/kubectl
kubectl version --client=true
-
name
:
Install gopogh
shell
:
bash
run
:
|
curl -LO https://github.com/medyagh/gopogh/releases/download/v0.4.0/gopogh-linux-arm64
sudo install gopogh-linux-arm64 /usr/local/bin/gopogh
-
name
:
Install tools
shell
:
bash
run
:
|
sudo apt update
sudo apt install -y jq docker
-
name
:
Docker Info
shell
:
bash
run
:
|
echo "--------------------------"
docker version || true
echo "--------------------------"
docker info || true
echo "--------------------------"
docker system df || true
echo "--------------------------"
docker system info --format='{{json .}}'|| true
echo "--------------------------"
docker ps || true
echo "--------------------------"
# go 1.14.6+ is needed because of this bug https://github.com/golang/go/issues/39308
-
uses
:
actions/setup-go@v2
with
:
go-version
:
'
1.15.2'
stable
:
true
-
name
:
Download Binaries
uses
:
actions/download-artifact@v1
with
:
name
:
minikube_binaries
-
name
:
Run Integration Test
continue-on-error
:
false
# bash {0} to allow test to continue to next step. in case of
shell
:
bash {0}
run
:
|
cd minikube_binaries
mkdir -p report
mkdir -p testhome
chmod a+x e2e-*
chmod a+x minikube-*
START_TIME=$(date -u +%s)
KUBECONFIG=$(pwd)/testhome/kubeconfig MINIKUBE_HOME=$(pwd)/testhome ./e2e-linux-arm64 -minikube-start-args=--vm-driver=docker -test.run TestFunctional -test.timeout=10m -test.v -timeout-multiplier=1.5 -binary=./minikube-linux-arm64 2>&1 | tee ./report/testout.txt
END_TIME=$(date -u +%s)
TIME_ELAPSED=$(($END_TIME-$START_TIME))
min=$((${TIME_ELAPSED}/60))
sec=$((${TIME_ELAPSED}%60))
TIME_ELAPSED="${min} min $sec seconds "
echo "TIME_ELAPSED=${TIME_ELAPSED}" >> $GITHUB_ENV
-
name
:
Generate HTML Report
shell
:
bash
run
:
|
cd minikube_binaries
export PATH=${PATH}:`go env GOPATH`/bin
go tool test2json -t < ./report/testout.txt > ./report/testout.json || true
STAT=$(gopogh -in ./report/testout.json -out ./report/testout.html -name "${JOB_NAME} ${GITHUB_REF}" -repo "${GITHUB_REPOSITORY}" -details "${GITHUB_SHA}") || true
echo status: ${STAT}
FailNum=$(echo $STAT | jq '.NumberOfFail')
TestsNum=$(echo $STAT | jq '.NumberOfTests')
GOPOGH_RESULT="${JOB_NAME} : completed with ${FailNum} / ${TestsNum} failures in ${TIME_ELAPSED}"
echo "GOPOGH_RESULT=${GOPOGH_RESULT}" >> $GITHUB_ENV
echo 'STAT<<EOF' >> $GITHUB_ENV
echo "${STAT}" >> $GITHUB_ENV
echo 'EOF' >> $GITHUB_ENV
-
uses
:
actions/upload-artifact@v1
with
:
name
:
functional_docker_ubuntu_arm64
path
:
minikube_binaries/report
-
name
:
The End Result - functional_docker_ubuntu_arm64
shell
:
bash
run
:
|
echo ${GOPOGH_RESULT}
numFail=$(echo $STAT | jq '.NumberOfFail')
numPass=$(echo $STAT | jq '.NumberOfPass')
echo "*******************${numPass} Passes :) *******************"
echo $STAT | jq '.PassedTests' || true
echo "*******************************************************"
echo "---------------- ${numFail} Failures :( ----------------------------"
echo $STAT | jq '.FailedTests' || true
echo "-------------------------------------------------------"
if [ "$numFail" -gt 0 ];then echo "*** $numFail Failed ***";exit 2;fi
if [ "$numPass" -eq 0 ];then echo "*** 0 Passed! ***";exit 2;fi
if [ "$numPass" -lt 0 ];then echo "*** Failed to pass at least 20! ***";exit 2;fi
if [ "$numPass" -eq 0 ];then echo "*** Passed! ***";exit 0;fi
addons_certs_docker_ubuntu
:
runs-on
:
ubuntu-18.04
env
:
...
...
@@ -684,10 +796,9 @@ jobs:
go-version
:
'
1.15.5'
stable
:
true
-
name
:
Install gopogh
shell
:
bash
run
:
|
curl -LO https://github.com/medyagh/gopogh/releases/download/v0.
3
.0/gopogh-linux-amd64
curl -LO https://github.com/medyagh/gopogh/releases/download/v0.
4
.0/gopogh-linux-amd64
sudo install gopogh-linux-amd64 /usr/local/bin/gopogh
-
name
:
Download Binaries
uses
:
actions/download-artifact@v1
...
...
@@ -769,7 +880,7 @@ jobs:
shell
:
bash
run
:
|
curl -LO https://github.com/medyagh/gopogh/releases/download/v0.
3
.0/gopogh-darwin-amd64
curl -LO https://github.com/medyagh/gopogh/releases/download/v0.
4
.0/gopogh-darwin-amd64
sudo install gopogh-darwin-amd64 /usr/local/bin/gopogh
-
name
:
Install docker
shell
:
bash
...
...
@@ -877,11 +988,11 @@ jobs:
with
:
go-version
:
'
1.15.5'
stable
:
true
-
name
:
Install gopogh
-
name
:
Install gopogh
shell
:
bash
run
:
|
curl -LO https://github.com/medyagh/gopogh/releases/download/v0.
3
.0/gopogh-linux-amd64
curl -LO https://github.com/medyagh/gopogh/releases/download/v0.
4
.0/gopogh-linux-amd64
sudo install gopogh-linux-amd64 /usr/local/bin/gopogh
-
name
:
Download Binaries
uses
:
actions/download-artifact@v1
...
...
@@ -965,7 +1076,7 @@ jobs:
shell
:
bash
run
:
|
curl -LO https://github.com/medyagh/gopogh/releases/download/v0.
3
.0/gopogh-darwin-amd64
curl -LO https://github.com/medyagh/gopogh/releases/download/v0.
4
.0/gopogh-darwin-amd64
sudo install gopogh-darwin-amd64 /usr/local/bin/gopogh
-
name
:
Download Binaries
uses
:
actions/download-artifact@v1
...
...
@@ -1072,7 +1183,7 @@ jobs:
shell
:
bash
run
:
|
curl -LO https://github.com/medyagh/gopogh/releases/download/v0.
3
.0/gopogh-linux-amd64
curl -LO https://github.com/medyagh/gopogh/releases/download/v0.
4
.0/gopogh-linux-amd64
sudo install gopogh-linux-amd64 /usr/local/bin/gopogh
-
name
:
Download Binaries
uses
:
actions/download-artifact@v1
...
...
@@ -1154,7 +1265,7 @@ jobs:
shell
:
bash
run
:
|
curl -LO https://github.com/medyagh/gopogh/releases/download/v0.
3
.0/gopogh-darwin-amd64
curl -LO https://github.com/medyagh/gopogh/releases/download/v0.
4
.0/gopogh-darwin-amd64
sudo install gopogh-darwin-amd64 /usr/local/bin/gopogh
-
name
:
Download Binaries
uses
:
actions/download-artifact@v1
...
...
@@ -1229,6 +1340,7 @@ jobs:
needs
:
[
functional_docker_ubuntu
,
functional_docker_ubuntu_arm64
,
functional_virtualbox_macos
,
functional_docker_windows
,
functional_hyperv_windows
,
...
...
@@ -1251,6 +1363,7 @@ jobs:
mkdir -p all_reports
ls -lah
cp -r ./functional_docker_ubuntu ./all_reports/
cp -r ./functional_docker_ubuntu_arm64 ./all_reports/
cp -r ./functional_virtualbox_macos ./all_reports/
cp -r ./functional_docker_windows ./all_reports/
cp -r ./functional_hyperv_windows ./all_reports/
...
...
Makefile
浏览文件 @
2f81d487
...
...
@@ -216,8 +216,9 @@ else
go build
-tags
"
$(MINIKUBE_BUILD_TAGS)
"
-ldflags
=
"
$(MINIKUBE_LDFLAGS)
"
-a
-o
$@
k8s.io/minikube/cmd/minikube
endif
.PHONY
:
e2e-linux-amd64 e2e-darwin-amd64 e2e-windows-amd64.exe
.PHONY
:
e2e-linux-amd64 e2e-
linux-arm64 e2e-
darwin-amd64 e2e-windows-amd64.exe
e2e-linux-amd64
:
out/e2e-linux-amd64
##
Execute end-to-end testing for Linux 64bit
e2e-linux-arm64
:
out/e2e-linux-arm64
##
Execute end-to-end testing for Linux ARM 64bit
e2e-darwin-amd64
:
out/e2e-darwin-amd64
##
Execute end-to-end testing for Darwin 64bit
e2e-windows-amd64.exe
:
out/e2e-windows-amd64.exe
##
Execute end-to-end testing for Windows 64bit
...
...
@@ -377,7 +378,7 @@ darwin: minikube-darwin-amd64 ## Build minikube for Darwin 64bit
linux
:
minikube-linux-amd64
##
Build minikube for Linux 64bit
.PHONY
:
e2e-cross
e2e-cross
:
e2e-linux-amd64 e2e-darwin-amd64 e2e-windows-amd64.exe
##
End-to-end cross test
e2e-cross
:
e2e-linux-amd64 e2e-
linux-arm64 e2e-
darwin-amd64 e2e-windows-amd64.exe
##
End-to-end cross test
.PHONY
:
checksum
checksum
:
##
Generate checksums
...
...
@@ -846,3 +847,7 @@ else
go run update_kubernetes_version.go
)
endif
.PHONY
:
update-gopogh-version
update-gopogh-version
:
##
update gopogh version
(
cd
hack/update/gopogh_version
&&
\
go run update_gopogh_version.go
)
hack/jenkins/common.sh
浏览文件 @
2f81d487
...
...
@@ -352,9 +352,9 @@ fi
echo
">> Installing gopogh"
if
[
"
$(
uname
)
"
!=
"Darwin"
]
;
then
curl
-LO
https://github.com/medyagh/gopogh/releases/download/v0.
3
.0/gopogh-linux-amd64
&&
sudo install
gopogh-linux-amd64 /usr/local/bin/gopogh
curl
-LO
https://github.com/medyagh/gopogh/releases/download/v0.
4
.0/gopogh-linux-amd64
&&
sudo install
gopogh-linux-amd64 /usr/local/bin/gopogh
else
curl
-LO
https://github.com/medyagh/gopogh/releases/download/v0.
3
.0/gopogh-darwin-amd64
&&
sudo install
gopogh-darwin-amd64 /usr/local/bin/gopogh
curl
-LO
https://github.com/medyagh/gopogh/releases/download/v0.
4
.0/gopogh-darwin-amd64
&&
sudo install
gopogh-darwin-amd64 /usr/local/bin/gopogh
fi
echo
">> Running gopogh"
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录