Enable cri-integration in Windows Periodic Tests

Signed-off-by: Adelina Tuvenie <atuvenie@cloudbasesolutions.com>
This commit is contained in:
Adelina Tuvenie 2021-06-07 18:07:35 +03:00
parent f6061b489f
commit af5a130bc9

View File

@ -117,24 +117,22 @@ jobs:
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'" 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'"
# CRI-integration tests for Windows PR is not merged. TO DO (adelina-t): enable these when PR #5163 merges. # CRI-integration tests for Windows PR is not merged. TO DO (adelina-t): enable these when PR #5163 merges.
# - name: PrepareRepoList
# - name: PrepareRepoList run: |
# run: | ssh -i $HOME/.ssh/id_rsa ${{ env.SSH_OPTS }} azureuser@${{ env.VM_PUB_IP }} "sh -c 'cat > c:/repolist.toml'" <<'EOF'
# ssh -i $HOME/.ssh/id_rsa ${{ env.SSH_OPTS }} azureuser@${{ env.VM_PUB_IP }} "sh -c 'cat > c:/repolist.yaml'" <<'EOF' busybox = "docker.io/claudiubelu/busybox:1.29"
# dockerLibraryRegistry: docker.io/claudiubelu EOF
# k8sCriContainerdRegistry: docker.io/claudiubelu
# k8sGcrRegistry: docker.io/claudiubelu
# EOF
# - name: RunCRIIntegrationTests - name: RunCRIIntegrationTests
# run: | run: |
# ssh -i $HOME/.ssh/id_rsa ${{ env.SSH_OPTS }} azureuser@${{ env.VM_PUB_IP }} "sh.exe -s" <<EOF ssh -i $HOME/.ssh/id_rsa ${{ env.SSH_OPTS }} azureuser@${{ env.VM_PUB_IP }} "sh.exe -s" <<EOF
# cd c:/containerd cd c:/containerd
# ./script/setup/install-cni-windows ./script/setup/install-cni-windows
# export KUBE_TEST_REPO_LIST=c:/repolist.yaml mkdir /c/tmp
# make cri-integration | tee c:/Logs/cri-integration.log export TEST_IMAGE_LIST=c:/repolist.toml
# EOF make cri-integration | tee c:/Logs/cri-integration.log
# 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' " EOF
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' "
- name: PullLogsFromWinNode - name: PullLogsFromWinNode
run: | run: |