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,32 @@ env:
|
|||
GOPATH: ${{ github.workspace }}/go
|
||||
|
||||
jobs:
|
||||
build:
|
||||
strategy:
|
||||
# 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 }}
|
||||
|
||||
build-linux-amd64:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: Set up go
|
||||
uses: actions/setup-go@v1
|
||||
with:
|
||||
go-version: ${{ matrix.go }}
|
||||
id: go
|
||||
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
|
||||
|
||||
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:
|
||||
|
|
@ -42,20 +47,13 @@ jobs:
|
|||
make nodeup examples test
|
||||
|
||||
verify:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-18.04]
|
||||
go: [1.13]
|
||||
fail-fast: true
|
||||
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: Set up go
|
||||
uses: actions/setup-go@v1
|
||||
with:
|
||||
go-version: ${{ matrix.go }}
|
||||
id: go
|
||||
go-version: 1.14
|
||||
stable: true
|
||||
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
|
|
|
|||
Loading…
Reference in New Issue