forked from openservicemesh/osm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(Windows): Add Windows nightly job
Fixes openservicemesh#3883 Adds a nightly job for Windows tests. Cluster is installed via AKS-engine on the CNCF subscription. Signed-off-by: Sotiris Nanopoulos <[email protected]>
- Loading branch information
Sotiris Nanopoulos
committed
Sep 15, 2021
1 parent
46339f4
commit 7171b94
Showing
2 changed files
with
39 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Windows Nightly Job | ||
on: | ||
workflow_run: | ||
workflows: ["Windows 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.WINDOWS_SERVER }} | ||
id: setcontext | ||
- name: Test oc | ||
run: oc version --client | ||
- name: Setup Go 1.16 | ||
uses: actions/setup-go@v1 | ||
with: | ||
go-version: 1.16 | ||
- name: Run e2es | ||
run: | | ||
make build-osm | ||
go test ./tests/e2e -test.v -ginkgo.v -ginkgo.progress -ginkgo.focus="\bCrossPlat\b" -test.timeout 180m -deployOnWindowsWorkers=true | ||
- name: Cleanup resources | ||
if: ${{ always() }} | ||
run: | | ||
kubectl delete service vault -n osm-system --ignore-not-found --wait |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters