зеркало из https://github.com/Azure/ARO-RP.git
Merge pull request #1 from jim-minter/ci
CI runner fixes and python logic fix
This commit is contained in:
Коммит
195b182123
|
@ -8,7 +8,7 @@ jobs:
|
|||
test:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
GOPATH: /home/runner/work/rp/go
|
||||
GOPATH: /home/runner/work/ARO-RP/go
|
||||
steps:
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v1
|
||||
|
|
|
@ -7,6 +7,8 @@ on:
|
|||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
GOPATH: /home/runner/work/ARO-RP/go
|
||||
strategy:
|
||||
matrix:
|
||||
python-version:
|
||||
|
@ -20,8 +22,14 @@ jobs:
|
|||
uses: actions/setup-python@v1
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v1
|
||||
with:
|
||||
go-version: 1.13
|
||||
- name: Check out source
|
||||
uses: actions/checkout@v1
|
||||
with:
|
||||
path: go/src/github.com/Azure/ARO-RP
|
||||
- name: Test
|
||||
run: |
|
||||
set -x
|
||||
|
|
|
@ -157,7 +157,7 @@ def validate_vnet(cmd, namespace):
|
|||
|
||||
def validate_vnet_resource_group_name(namespace):
|
||||
if not namespace.vnet_resource_group_name:
|
||||
namespace.vnet_resource_group_name = namespace.validate_vnet_resource_group_name
|
||||
namespace.vnet_resource_group_name = namespace.resource_group_name
|
||||
|
||||
|
||||
def validate_worker_count(namespace):
|
||||
|
|
|
@ -1,3 +1,2 @@
|
|||
# Copyright (c) Microsoft Corporation.
|
||||
# Licensed under the Apache License 2.0.
|
||||
|
||||
|
|
|
@ -1,3 +1,2 @@
|
|||
# Copyright (c) Microsoft Corporation.
|
||||
# Licensed under the Apache License 2.0.
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче