Skip to content

Commit af5a130

Browse files
author
Adelina Tuvenie
committed
Enable cri-integration in Windows Periodic Tests
Signed-off-by: Adelina Tuvenie <[email protected]>
1 parent f6061b4 commit af5a130

1 file changed

Lines changed: 16 additions & 18 deletions

File tree

.github/workflows/windows-periodic.yml

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -117,24 +117,22 @@ jobs:
117117
ssh -i $HOME/.ssh/id_rsa ${{ env.SSH_OPTS }} azureuser@${{ env.VM_PUB_IP }} "sh.exe -c 'cat /c/Logs/integration.log | go-junit-report.exe > /c/Logs/junit_00.xml'"
118118
119119
# CRI-integration tests for Windows PR is not merged. TO DO (adelina-t): enable these when PR #5163 merges.
120-
#
121-
# - name: PrepareRepoList
122-
# run: |
123-
# ssh -i $HOME/.ssh/id_rsa ${{ env.SSH_OPTS }} azureuser@${{ env.VM_PUB_IP }} "sh -c 'cat > c:/repolist.yaml'" <<'EOF'
124-
# dockerLibraryRegistry: docker.io/claudiubelu
125-
# k8sCriContainerdRegistry: docker.io/claudiubelu
126-
# k8sGcrRegistry: docker.io/claudiubelu
127-
# EOF
128-
129-
# - name: RunCRIIntegrationTests
130-
# run: |
131-
# ssh -i $HOME/.ssh/id_rsa ${{ env.SSH_OPTS }} azureuser@${{ env.VM_PUB_IP }} "sh.exe -s" <<EOF
132-
# cd c:/containerd
133-
# ./script/setup/install-cni-windows
134-
# export KUBE_TEST_REPO_LIST=c:/repolist.yaml
135-
# make cri-integration | tee c:/Logs/cri-integration.log
136-
# EOF
137-
# ssh -i $HOME/.ssh/id_rsa ${{ env.SSH_OPTS }} azureuser@${{ env.VM_PUB_IP }} "sh.exe -c 'cat c:\Logs\cri-integration.log | go-junit-report.exe > c:/Logs/junit_01.xml' "
120+
- name: PrepareRepoList
121+
run: |
122+
ssh -i $HOME/.ssh/id_rsa ${{ env.SSH_OPTS }} azureuser@${{ env.VM_PUB_IP }} "sh -c 'cat > c:/repolist.toml'" <<'EOF'
123+
busybox = "docker.io/claudiubelu/busybox:1.29"
124+
EOF
125+
126+
- name: RunCRIIntegrationTests
127+
run: |
128+
ssh -i $HOME/.ssh/id_rsa ${{ env.SSH_OPTS }} azureuser@${{ env.VM_PUB_IP }} "sh.exe -s" <<EOF
129+
cd c:/containerd
130+
./script/setup/install-cni-windows
131+
mkdir /c/tmp
132+
export TEST_IMAGE_LIST=c:/repolist.toml
133+
make cri-integration | tee c:/Logs/cri-integration.log
134+
EOF
135+
ssh -i $HOME/.ssh/id_rsa ${{ env.SSH_OPTS }} azureuser@${{ env.VM_PUB_IP }} "sh.exe -c 'cat /c/Logs/cri-integration.log | go-junit-report.exe > c:/Logs/junit_01.xml' "
138136
139137
- name: PullLogsFromWinNode
140138
run: |

0 commit comments

Comments
 (0)