Skip most of script/setup/prepare_env_windows.ps1
Apart from crictl and go-junit-report, this script is just making the remote test VMs look like GitHub Actions VMs, i.e. git, make-mingw32, golang. And we don't use go-junit-report, so we can save a lot of time (about five minutes) by just extracting the interesting part. Signed-off-by: Paul "TBBle" Hampson <Paul.Hampson@Pobox.com>
This commit is contained in:
parent
768bf73dd1
commit
48b478381e
16
.github/workflows/ci.yml
vendored
16
.github/workflows/ci.yml
vendored
@ -230,7 +230,7 @@ jobs:
|
|||||||
integration-windows:
|
integration-windows:
|
||||||
name: Windows Integration
|
name: Windows Integration
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
timeout-minutes: 55
|
timeout-minutes: 50
|
||||||
needs: [project, linters, protos, man]
|
needs: [project, linters, protos, man]
|
||||||
env:
|
env:
|
||||||
GOTEST: gotestsum --
|
GOTEST: gotestsum --
|
||||||
@ -306,12 +306,14 @@ jobs:
|
|||||||
webServerTestImage: ${{ env.WEBSERVER_TESTING_IMAGE_REF }}
|
webServerTestImage: ${{ env.WEBSERVER_TESTING_IMAGE_REF }}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
- name: Set env for prepare_env_windows.ps1
|
- name: Get crictl tool
|
||||||
shell: bash
|
shell: powershell
|
||||||
run: echo "HOME=${USERPROFILE}" >> $GITHUB_ENV
|
run: |
|
||||||
|
# Get critctl tool. Used for cri-integration tests
|
||||||
- shell: powershell
|
$CRICTL_DOWNLOAD_URL="https://github.com/kubernetes-sigs/cri-tools/releases/download/v1.21.0/crictl-v1.21.0-windows-amd64.tar.gz"
|
||||||
run: script/setup/prepare_env_windows.ps1
|
curl.exe -L $CRICTL_DOWNLOAD_URL -o c:\crictl.tar.gz
|
||||||
|
tar -xvf c:\crictl.tar.gz
|
||||||
|
mv crictl.exe "${{ github.workspace }}/bin/crictl.exe" # Move crictl somewhere in path
|
||||||
|
|
||||||
- run: script/setup/install-gotestsum
|
- run: script/setup/install-gotestsum
|
||||||
- name: Tests
|
- name: Tests
|
||||||
|
Loading…
Reference in New Issue
Block a user