diff --git a/Jenkinsfile_k8s b/Jenkinsfile_k8s index 45f2e934a..fcb2a8175 100644 --- a/Jenkinsfile_k8s +++ b/Jenkinsfile_k8s @@ -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') { diff --git a/jenkins-agent.pkr.hcl b/jenkins-agent.pkr.hcl index 7ff199c9e..81c2072e2 100644 --- a/jenkins-agent.pkr.hcl +++ b/jenkins-agent.pkr.hcl @@ -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" {