forked from openservicemesh/osm
-
Notifications
You must be signed in to change notification settings - Fork 3
36 lines (34 loc) · 1.04 KB
/
windows-nightly.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Windows Nightly Job
on:
workflow_run:
workflows: ["Nightly Images"]
types: [completed]
env:
CTR_REGISTRY: openservicemesh
CTR_TAG: latest-main
jobs:
test:
name: Windows Cluster Nightly Job
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Checkout v2
uses: actions/checkout@v2
- name: Authenticate and set context
uses: azure/k8s-set-context@v1
with:
method: kubeconfig
kubeconfig: ${{ secrets.CI_WINDOWS_KUBECONFIG }}
id: setcontext
- name: Setup Go 1.17
uses: actions/setup-go@v2
with:
go-version: 1.17
- name: Run e2es
run: |
make build-osm
go test ./tests/e2e -test.v -ginkgo.v -ginkgo.progress -ginkgo.focus='\[Cross-platform\]|\[windows\]' -test.timeout 180m -deployOnWindowsWorkers=true
- name: Cleanup resources
if: ${{ always() }}
run: |
kubectl delete service vault -n osm-system --ignore-not-found --wait