Skip to content

Commit 5ae7224

Browse files
committed
test windows
1 parent 83e8fa6 commit 5ae7224

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

.github/workflows/windows-e2e.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,8 @@ jobs:
1111
# https://docs.github.com/en/webhooks/webhook-events-and-payloads#workflow_run
1212
if: |
1313
github.event.workflow_run.conclusion == 'success' &&
14-
github.event.workflow_run.event == 'pull_request' &&
1514
github.event.workflow_run.triggering_actor != 'dependabot[bot]'
16-
uses: crc-org/crc/.github/workflows/windows-qe-tpl.yml@main
15+
uses: lilyLuLiu/crc/.github/workflows/windows-qe-tpl.yml@main
1716
strategy:
1817
fail-fast: false
1918
matrix:

.github/workflows/windows-qe-tpl.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,19 @@
33
name: windows-qe-tpl
44

55
on:
6+
workflow_dispatch:
7+
inputs:
8+
trigger-workflow-run-id:
9+
description: "Workflow run ID to trigger"
10+
required: true
11+
type: string
12+
qe-type:
13+
description: type of test; allowed values e2e or integration
14+
required: true
15+
type: string
16+
preset:
17+
description: preset type only required if qe-type is e2e
18+
type: string
619
workflow_call:
720
inputs:
821
trigger-workflow-run-id:
@@ -90,6 +103,7 @@ jobs:
90103
91104
- name: Create Windows instance
92105
run: |
106+
sudo chmod -R 777 $GITHUB_WORKSPACE
93107
# Create instance
94108
podman run -d --name windows-create --rm \
95109
-v ${PWD}:/workspace:z \
@@ -112,9 +126,13 @@ jobs:
112126
--spot \
113127
--spot-excluded-regions southafricawest,australiacentral2,eastus2euap
114128
podman logs -f windows-create
129+
ls -lh
130+
whoami
115131
116132
- name: Install CRC on host
117133
run: |
134+
ls -lh
135+
whoami
118136
podman run --rm -d --name crc-win-support \
119137
-e TARGET_HOST=$(cat host) \
120138
-e TARGET_HOST_USERNAME=$(cat username) \

0 commit comments

Comments
 (0)