investigate failed 1604 build

This commit is contained in:
Sergey Dolin
2020-10-29 00:03:03 +05:00
parent 76f57f69f2
commit cab74c1ab9
4 changed files with 16 additions and 16 deletions

View File

@@ -1,5 +1,5 @@
#!/bin/bash -e #!/bin/bash -e
set -x
prefix=/usr/local/bin prefix=/usr/local/bin
for tool in apt apt-get apt-fast;do for tool in apt apt-get apt-fast;do

View File

@@ -287,6 +287,11 @@
], ],
"execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'" "execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'"
}, },
{
"type": "shell",
"script": "{{template_dir}}/scripts/base/apt-mock-remove.sh",
"execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'"
},
{ {
"type": "shell", "type": "shell",
"scripts": [ "scripts": [
@@ -355,11 +360,6 @@
"/usr/sbin/waagent -force -deprovision+user && export HISTSIZE=0 && sync" "/usr/sbin/waagent -force -deprovision+user && export HISTSIZE=0 && sync"
], ],
"execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'" "execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'"
},
{
"type": "shell",
"script": "{{template_dir}}/scripts/base/apt-mock-remove.sh",
"execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'"
} }
] ]
} }

View File

@@ -291,6 +291,11 @@
], ],
"execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'" "execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'"
}, },
{
"type": "shell",
"script": "{{template_dir}}/scripts/base/apt-mock-remove.sh",
"execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'"
},
{ {
"type": "shell", "type": "shell",
"scripts": [ "scripts": [
@@ -359,11 +364,6 @@
"/usr/sbin/waagent -force -deprovision+user && export HISTSIZE=0 && sync" "/usr/sbin/waagent -force -deprovision+user && export HISTSIZE=0 && sync"
], ],
"execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'" "execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'"
},
{
"type": "shell",
"script": "{{template_dir}}/scripts/base/apt-mock-remove.sh",
"execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'"
} }
] ]
} }

View File

@@ -293,6 +293,11 @@
], ],
"execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'" "execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'"
}, },
{
"type": "shell",
"script": "{{template_dir}}/scripts/base/apt-mock-remove.sh",
"execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'"
},
{ {
"type": "shell", "type": "shell",
"scripts": [ "scripts": [
@@ -361,11 +366,6 @@
"/usr/sbin/waagent -force -deprovision+user && export HISTSIZE=0 && sync" "/usr/sbin/waagent -force -deprovision+user && export HISTSIZE=0 && sync"
], ],
"execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'" "execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'"
},
{
"type": "shell",
"script": "{{template_dir}}/scripts/base/apt-mock-remove.sh",
"execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'"
} }
] ]
} }