Skip to content

Commit

Permalink
fix: increase timeout and VM size to allow Azure Windows VM to finish…
Browse files Browse the repository at this point in the history
… their updates

Signed-off-by: Damien Duportal <[email protected]>
  • Loading branch information
dduportal committed Sep 16, 2021
1 parent 36fcd84 commit c70d202
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile_k8s
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ if (env.BRANCH_NAME == 'main') {
pipeline {
agent none
options {
// Average build time is ~40 min. 1 hour indicates that something is wrong and should fail
timeout(time: 1, unit: 'HOURS')
// Average build time is ~40 min. 2 hours timeout indicates that something is wrong and should fail
timeout(time: 2, unit: 'HOURS')
}
stages {
stage('UpdateCLI') {
Expand Down
2 changes: 1 addition & 1 deletion jenkins-agent.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ build {
image_publisher = "canonical"
image_sku = "20_04-lts-gen2"
os_type = "Linux"
vm_size = "Standard_DS3_v2" # Huge size requires - avoid https://docs.microsoft.com/en-us/azure/virtual-machines/linux/image-builder-troubleshoot#sysprep-timing and avoid full disk (DS2v2 only have 14 Gb SSD for system)
vm_size = "Standard_DS4_v2" # Huge size requires - avoid https://docs.microsoft.com/en-us/azure/virtual-machines/linux/image-builder-troubleshoot#sysprep-timing and avoid full disk (DS2v2 only have 14 Gb SSD for system)
}

provisioner "file" {
Expand Down

0 comments on commit c70d202

Please sign in to comment.