You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Chore(Test): Addition of E2E test for Azure Experiments (#354)
* Added azure e2e tests
Signed-off-by: Akash Shrivastava <[email protected]>
* Added disk loss experiment into pipeline
Signed-off-by: Akash Shrivastava <[email protected]>
* Condensed az cli commands
Shortened engine name
Signed-off-by: Akash Shrivastava <[email protected]>
* Changes in secret creation with azure credentials
Signed-off-by: Akash Shrivastava <[email protected]>
* Shortened engine name
Signed-off-by: Akash Shrivastava <[email protected]>
* fix: Changed engine name
Signed-off-by: Akash Shrivastava <[email protected]>
* Changed version to master for rbac file
Signed-off-by: Akash Shrivastava <[email protected]>
* Fixed issue with secret creation and instance stop test
Signed-off-by: Akash Shrivastava <[email protected]>
* Minor fix
Signed-off-by: Akash Shrivastava <[email protected]>
* Added run number to resource group name creation
Signed-off-by: Akash Shrivastava <[email protected]>
* Added disk loss e2e test
Signed-off-by: Akash Shrivastava <[email protected]>
* Added different resource group naming for multiple runs
Signed-off-by: Akash Shrivastava <[email protected]>
* Fixed issue in rg naming for disk loss test
Signed-off-by: Akash Shrivastava <[email protected]>
* Changed instance and disk from secrets
Signed-off-by: Akash Shrivastava <[email protected]>
- name: Create a Azure VM Instance with target Disk Volumes
129
+
if: always()
130
+
run: |
131
+
az group create -n ${{ secrets.AZURE_RESOURCE_GROUP }}_schedule_disk_${{ github.run_number }} -l eastus && \
132
+
az vm create -g ${{ secrets.AZURE_RESOURCE_GROUP }}_schedule_disk_${{ github.run_number }} -n litmus-e2e-instance-one --image UbuntuLTS --generate-ssh-keys && \
133
+
az disk create -n litmus-e2e-disk-one -g ${{ secrets.AZURE_RESOURCE_GROUP }}_schedule_disk_${{ github.run_number }} --size-gb=4 && \
134
+
az disk create -n litmus-e2e-disk-two -g ${{ secrets.AZURE_RESOURCE_GROUP }}_schedule_disk_${{ github.run_number }} --size-gb=4 && \
135
+
az vm disk attach -g ${{ secrets.AZURE_RESOURCE_GROUP }}_schedule_disk_${{ github.run_number }} --vm-name litmus-e2e-instance-one -n litmus-e2e-disk-one && \
136
+
az vm disk attach -g ${{ secrets.AZURE_RESOURCE_GROUP }}_schedule_disk_${{ github.run_number }} --vm-name litmus-e2e-instance-one -n litmus-e2e-disk-two
0 commit comments