mirror of https://github.com/kubernetes/kops.git
Use stable names for GH workflow jobs
This commit is contained in:
parent
1a903f6fe8
commit
bf42e32622
|
|
@ -10,27 +10,14 @@ env:
|
||||||
GOPATH: ${{ github.workspace }}/go
|
GOPATH: ${{ github.workspace }}/go
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build-linux-amd64:
|
||||||
strategy:
|
runs-on: ubuntu-20.04
|
||||||
# Note, the following build matrix generates jobs that are blocking via prow.
|
|
||||||
# When changing the versions or images below, please update prow config too:
|
|
||||||
# https://github.com/kubernetes/test-infra/blob/566fea31f63670f583dde93b55fcb0a13bdc2562/config/prow/config.yaml
|
|
||||||
matrix:
|
|
||||||
os: [ubuntu-18.04, macos-10.15]
|
|
||||||
go: [1.13, 1.14]
|
|
||||||
exclude:
|
|
||||||
- os: macos-10.15
|
|
||||||
go: 1.14
|
|
||||||
fail-fast: true
|
|
||||||
|
|
||||||
runs-on: ${{ matrix.os }}
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Set up go
|
- name: Set up go
|
||||||
uses: actions/setup-go@v1
|
uses: actions/setup-go@v1
|
||||||
with:
|
with:
|
||||||
go-version: ${{ matrix.go }}
|
go-version: 1.14
|
||||||
id: go
|
stable: true
|
||||||
|
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
|
|
@ -41,21 +28,32 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
make nodeup examples test
|
make nodeup examples test
|
||||||
|
|
||||||
|
build-macos-amd64:
|
||||||
|
runs-on: macos-10.15
|
||||||
|
steps:
|
||||||
|
- name: Set up go
|
||||||
|
uses: actions/setup-go@v1
|
||||||
|
with:
|
||||||
|
go-version: 1.14
|
||||||
|
stable: true
|
||||||
|
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
path: ${{ env.GOPATH }}/src/k8s.io/kops
|
||||||
|
|
||||||
|
- name: make nodeup examples test
|
||||||
|
working-directory: ${{ env.GOPATH }}/src/k8s.io/kops
|
||||||
|
run: |
|
||||||
|
make nodeup examples test
|
||||||
|
|
||||||
verify:
|
verify:
|
||||||
strategy:
|
runs-on: ubuntu-20.04
|
||||||
matrix:
|
|
||||||
os: [ubuntu-18.04]
|
|
||||||
go: [1.13]
|
|
||||||
fail-fast: true
|
|
||||||
|
|
||||||
runs-on: ${{ matrix.os }}
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Set up go
|
- name: Set up go
|
||||||
uses: actions/setup-go@v1
|
uses: actions/setup-go@v1
|
||||||
with:
|
with:
|
||||||
go-version: ${{ matrix.go }}
|
go-version: 1.14
|
||||||
id: go
|
stable: true
|
||||||
|
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue