Skip to content

Commit

Permalink
Merge pull request #10691 from ilya-zuyev/ilyaz/use_kubecross_116_bui…
Browse files Browse the repository at this point in the history
…ld_image

restore kube-cross build image and bump go to version 1.16
  • Loading branch information
medyagh authored Mar 4, 2021
2 parents d15dc1c + 65741c8 commit bdd50a4
Show file tree
Hide file tree
Showing 8 changed files with 57 additions and 51 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,15 @@ on:
- "!deploy/iso/**"
env:
GOPROXY: https://proxy.golang.org
GO_VERSION: 1.16.0
jobs:
build_minikube:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: '1.15.8'
go-version: ${{env.GO_VERSION}}
stable: true
- name: Download Dependencies
run: go mod download
Expand All @@ -44,7 +45,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: '1.15.8'
go-version: ${{env.GO_VERSION}}
stable: true
- name: Install libvirt
run: |
Expand All @@ -63,7 +64,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: '1.15.8'
go-version: ${{env.GO_VERSION}}
stable: true
- name: Install libvirt
run: |
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/iso.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
- "deploy/iso/**"
env:
GOPROXY: https://proxy.golang.org
GO_VERSION: 1.16.0
jobs:
build_test_iso:
runs-on: [self-hosted, debian9, baremetal, equinix]
Expand All @@ -20,7 +21,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: '1.15.8'
go-version: ${{env.GO_VERSION}}
stable: true
- name: Download Dependencies
run: go mod download
Expand Down Expand Up @@ -71,7 +72,7 @@ jobs:
make checksum
- uses: actions/setup-go@v2
with:
go-version: '1.15.8'
go-version: ${{env.GO_VERSION}}
stable: true
- name: Install kubectl
shell: bash
Expand Down
35 changes: 18 additions & 17 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:
- "!deploy/iso/**"
env:
GOPROXY: https://proxy.golang.org
GO_VERSION: 1.16.0
jobs:
# Runs before all other jobs
# builds the minikube binaries
Expand All @@ -21,7 +22,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: '1.15.8'
go-version: ${{env.GO_VERSION}}
stable: true
- name: Download Dependencies
run: go mod download
Expand All @@ -48,7 +49,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: '1.15.8'
go-version: ${{env.GO_VERSION}}
stable: true
- name: Install libvirt
run: |
Expand All @@ -67,7 +68,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: '1.15.8'
go-version: ${{env.GO_VERSION}}
stable: true
- name: Install libvirt
run: |
Expand Down Expand Up @@ -114,7 +115,7 @@ jobs:
# 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.8'
go-version: ${{env.GO_VERSION}}
stable: true
- name: Install gopogh

Expand Down Expand Up @@ -199,7 +200,7 @@ jobs:
# 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.8'
go-version: ${{env.GO_VERSION}}
stable: true
- name: Install gopogh

Expand Down Expand Up @@ -344,7 +345,7 @@ jobs:
echo "------------------------"
- uses: actions/setup-go@v2
with:
go-version: '1.15.8'
go-version: ${{env.GO_VERSION}}
stable: true
- name: Install tools
continue-on-error: true
Expand Down Expand Up @@ -480,7 +481,7 @@ jobs:
Get-WmiObject -class Win32_ComputerSystem
- uses: actions/setup-go@v2
with:
go-version: '1.15.8'
go-version: ${{env.GO_VERSION}}
stable: true
- name: Install tools
continue-on-error: true
Expand Down Expand Up @@ -586,7 +587,7 @@ jobs:
# 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.8'
go-version: ${{env.GO_VERSION}}
stable: true
- name: Install gopogh

Expand Down Expand Up @@ -716,7 +717,7 @@ jobs:
echo "------------------------"
- uses: actions/setup-go@v2
with:
go-version: '1.15.8'
go-version: ${{env.GO_VERSION}}
stable: true
- name: Install tools
continue-on-error: true
Expand Down Expand Up @@ -809,7 +810,7 @@ jobs:
Get-WmiObject -class Win32_ComputerSystem
- uses: actions/setup-go@v2
with:
go-version: '1.15.8'
go-version: ${{env.GO_VERSION}}
stable: true
- name: Install tools
continue-on-error: true
Expand Down Expand Up @@ -892,7 +893,7 @@ jobs:
# 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'
go-version: ${{env.GO_VERSION}}
stable: true

- name: Download Binaries
Expand Down Expand Up @@ -990,7 +991,7 @@ jobs:
# 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.8'
go-version: ${{env.GO_VERSION}}
stable: true
- name: Install gopogh

Expand Down Expand Up @@ -1072,7 +1073,7 @@ jobs:
# 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.8'
go-version: ${{env.GO_VERSION}}
stable: true
- name: Install gopogh

Expand Down Expand Up @@ -1184,7 +1185,7 @@ jobs:
# 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.8'
go-version: ${{env.GO_VERSION}}
stable: true
- name: Install gopogh

Expand Down Expand Up @@ -1268,7 +1269,7 @@ jobs:
# 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.8'
go-version: ${{env.GO_VERSION}}
stable: true
- name: Install gopogh

Expand Down Expand Up @@ -1375,7 +1376,7 @@ jobs:
# 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.8'
go-version: ${{env.GO_VERSION}}
stable: true
- name: Install gopogh

Expand Down Expand Up @@ -1457,7 +1458,7 @@ jobs:
# 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.8'
go-version: ${{env.GO_VERSION}}
stable: true
- name: Install gopogh

Expand Down
35 changes: 18 additions & 17 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
- "!deploy/iso/**"
env:
GOPROXY: https://proxy.golang.org
GO_VERSION: 1.16.0
jobs:
# Runs before all other jobs
# builds the minikube binaries
Expand All @@ -19,7 +20,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: '1.15.8'
go-version: ${{env.GO_VERSION}}
stable: true
- name: Download Dependencies
run: go mod download
Expand All @@ -46,7 +47,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: '1.15.8'
go-version: ${{env.GO_VERSION}}
stable: true
- name: Install libvirt
run: |
Expand All @@ -65,7 +66,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: '1.15.8'
go-version: ${{env.GO_VERSION}}
stable: true
- name: Install libvirt
run: |
Expand Down Expand Up @@ -112,7 +113,7 @@ jobs:
# 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.8'
go-version: ${{env.GO_VERSION}}
stable: true
- name: Install gopogh

Expand Down Expand Up @@ -197,7 +198,7 @@ jobs:
# 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.8'
go-version: ${{env.GO_VERSION}}
stable: true
- name: Install gopogh

Expand Down Expand Up @@ -342,7 +343,7 @@ jobs:
echo "------------------------"
- uses: actions/setup-go@v2
with:
go-version: '1.15.8'
go-version: ${{env.GO_VERSION}}
stable: true
- name: Install tools
continue-on-error: true
Expand Down Expand Up @@ -478,7 +479,7 @@ jobs:
Get-WmiObject -class Win32_ComputerSystem
- uses: actions/setup-go@v2
with:
go-version: '1.15.8'
go-version: ${{env.GO_VERSION}}
stable: true
- name: Install tools
continue-on-error: true
Expand Down Expand Up @@ -620,7 +621,7 @@ jobs:
echo "------------------------"
- uses: actions/setup-go@v2
with:
go-version: '1.15.8'
go-version: ${{env.GO_VERSION}}
stable: true
- name: Install tools
continue-on-error: true
Expand Down Expand Up @@ -713,7 +714,7 @@ jobs:
Get-WmiObject -class Win32_ComputerSystem
- uses: actions/setup-go@v2
with:
go-version: '1.15.8'
go-version: ${{env.GO_VERSION}}
stable: true
- name: Install tools
continue-on-error: true
Expand Down Expand Up @@ -776,7 +777,7 @@ jobs:
# 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.8'
go-version: ${{env.GO_VERSION}}
stable: true
- name: Install gopogh

Expand Down Expand Up @@ -891,7 +892,7 @@ jobs:
# 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'
go-version: ${{env.GO_VERSION}}
stable: true

- name: Download Binaries
Expand Down Expand Up @@ -988,7 +989,7 @@ jobs:
# 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.8'
go-version: ${{env.GO_VERSION}}
stable: true
- name: Install gopogh
shell: bash
Expand Down Expand Up @@ -1069,7 +1070,7 @@ jobs:
# 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.8'
go-version: ${{env.GO_VERSION}}
stable: true
- name: Install gopogh

Expand Down Expand Up @@ -1181,7 +1182,7 @@ jobs:
# 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.8'
go-version: ${{env.GO_VERSION}}
stable: true

- name: Install gopogh
Expand Down Expand Up @@ -1265,7 +1266,7 @@ jobs:
# 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.8'
go-version: ${{env.GO_VERSION}}
stable: true
- name: Install gopogh

Expand Down Expand Up @@ -1372,7 +1373,7 @@ jobs:
# 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.8'
go-version: ${{env.GO_VERSION}}
stable: true
- name: Install gopogh

Expand Down Expand Up @@ -1454,7 +1455,7 @@ jobs:
# 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.8'
go-version: ${{env.GO_VERSION}}
stable: true
- name: Install gopogh

Expand Down
Loading

0 comments on commit bdd50a4

Please sign in to comment.