@@ -506,7 +506,7 @@ jobs:
506506 - name : Fail if any error
507507 if : steps.deploy.outcome != 'success' || steps.rollout.outcome != 'success'
508508 run : exit 6
509- manifest_update_job_name :
509+ manifest-update :
510510 needs : manifests-create
511511 runs-on : ubuntu-latest
512512 env :
@@ -556,3 +556,105 @@ jobs:
556556 kubectl get po
557557 echo "Deployment failed, check above logs and previous steps to isolate the issue"
558558 exit 6
559+
560+ win-helm-create :
561+ runs-on : windows-latest
562+ steps :
563+ - uses : actions/checkout@v4
564+ - uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
565+ with :
566+ name : draft-binary-win
567+ - run : mkdir ./langtest
568+ - uses : actions/checkout@v4
569+ with :
570+ repository : ${{ inputs.repo }}
571+ path : ./langtest
572+ - run : Remove-Item ./langtest/manifests -Recurse -Force -ErrorAction Ignore
573+ - run : Remove-Item ./langtest/base -Recurse -Force -ErrorAction Ignore
574+ - run : Remove-Item ./langtest/overlays -Recurse -Force -ErrorAction Ignore
575+ - run : Remove-Item ./langtest/charts -Recurse -Force -ErrorAction Ignore
576+ - run : Remove-Item ./langtest/Dockerfile -ErrorAction Ignore
577+ - run : Remove-Item ./langtest/.dockerignore -ErrorAction Ignore
578+ - run : ./draft.exe -v create -c ./test/integration/${{inputs.language}}/helm.yaml -d ./langtest/
579+ - uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
580+ with :
581+ name : check_windows_helm
582+ path : ./langtest/
583+ - run : ./check_windows_helm.ps1
584+ working-directory : ./langtest/
585+ - uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
586+ with :
587+ name : ${{inputs.language}}-win-helm-create
588+ path : |
589+ ./langtest
590+ !./langtest/**/.git/*
591+ win-helm-update :
592+ needs : win-helm-create
593+ runs-on : windows-latest
594+ steps :
595+ - uses : actions/checkout@v4
596+ - uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
597+ with :
598+ name : draft-binary-win
599+ - uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
600+ with :
601+ name : ${{inputs.language}}-win-helm-create
602+ path : ./langtest/
603+ - run : Remove-Item ./langtest/charts/templates/ingress.yaml -Recurse -Force -ErrorAction Ignore
604+ - run : ./draft.exe -v update -d ./langtest/ -a webapp_routing --variable ingress-tls-cert-keyvault-uri=test.cert.keyvault.uri --variable ingress-use-osm-mtls=true --variable ingress-host=host1
605+ - uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
606+ with :
607+ name : check_windows_addon_helm
608+ path : ./langtest/
609+ - run : ./check_windows_addon_helm.ps1
610+ working-directory : ./langtest/
611+ win-kustomize-create :
612+ runs-on : windows-latest
613+ steps :
614+ - uses : actions/checkout@v4
615+ - uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
616+ with :
617+ name : draft-binary-win
618+ - run : mkdir ./langtest
619+ - uses : actions/checkout@v4
620+ with :
621+ repository : ${{ inputs.repo }}
622+ path : ./langtest
623+ - run : Remove-Item ./langtest/manifests -Recurse -Force -ErrorAction Ignore
624+ - run : Remove-Item ./langtest/base -Recurse -Force -ErrorAction Ignore
625+ - run : Remove-Item ./langtest/overlays -Recurse -Force -ErrorAction Ignore
626+ - run : Remove-Item ./langtest/charts -Recurse -Force -ErrorAction Ignore
627+ - run : Remove-Item ./langtest/Dockerfile -ErrorAction Ignore
628+ - run : Remove-Item ./langtest/.dockerignore -ErrorAction Ignore
629+ - run : ./draft.exe -v create -c ./test/integration/${{ inputs.language }}/kustomize.yaml -d ./langtest/
630+ - uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
631+ with :
632+ name : check_windows_kustomize
633+ path : ./langtest/
634+ - run : ./check_windows_kustomize.ps1
635+ working-directory : ./langtest/
636+ - uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
637+ with :
638+ name : ${{ inputs.language }}-win-kustomize-create
639+ path : |
640+ ./langtest
641+ !./langtest/**/.git/*
642+ win-kustomize-update :
643+ needs : win-kustomize-create
644+ runs-on : windows-latest
645+ steps :
646+ - uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
647+ with :
648+ name : draft-binary-win
649+ - uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
650+ with :
651+ name : ${{inputs.language}}-win-kustomize-create
652+ path : ./langtest
653+ - run : Remove-Item ./langtest/overlays/production/ingress.yaml -ErrorAction Ignore
654+ - run : ./draft.exe -v update -d ./langtest/ -a webapp_routing --variable ingress-tls-cert-keyvault-uri=test.cert.keyvault.uri --variable ingress-use-osm-mtls=true --variable ingress-host=host1
655+ - uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
656+ with :
657+ name : check_windows_addon_kustomize
658+ path : ./langtest/
659+ - run : ./check_windows_addon_kustomize.ps1
660+ working-directory : ./langtest/
0 commit comments