install only python3

This commit is contained in:
Mikhail Timofeev
2020-04-28 19:46:47 +03:00
parent 415ba013ba
commit 878bfee052
2 changed files with 2 additions and 23 deletions

View File

@@ -8,7 +8,7 @@
source $HELPER_SCRIPTS/document.sh source $HELPER_SCRIPTS/document.sh
# Install Python, Python 3, pip, pip3 # Install Python, Python 3, pip, pip3
apt-get install -y --no-install-recommends python python-dev python-pip python3 python3-dev python3-pip apt-get install -y --no-install-recommends python3 python3-dev python3-pip
# Run tests to determine that the software installed as expected # Run tests to determine that the software installed as expected
echo "Testing to make sure that script performed as expected, and basic scenarios work" echo "Testing to make sure that script performed as expected, and basic scenarios work"

View File

@@ -256,20 +256,11 @@
], ],
"execute_command": "chmod +x {{ .Path }}; sudo {{ .Vars }} {{ .Path }}" "execute_command": "chmod +x {{ .Path }}; sudo {{ .Vars }} {{ .Path }}"
}, },
{
"type": "file",
"source": "{{template_dir}}/toolcache-2004.json",
"destination": "{{user `installer_script_folder`}}/toolcache.json"
},
{ {
"type": "shell", "type": "shell",
"scripts":[ "scripts":[
"{{template_dir}}/scripts/installers/2004/android.sh", "{{template_dir}}/scripts/installers/2004/android.sh",
"{{template_dir}}/scripts/installers/azpowershell.sh", "{{template_dir}}/scripts/installers/python.sh"
"{{template_dir}}/scripts/helpers/containercache.sh",
"{{template_dir}}/scripts/installers/hosted-tool-cache.sh",
"{{template_dir}}/scripts/installers/python.sh",
"{{template_dir}}/scripts/installers/test-toolcache.sh"
], ],
"environment_vars": [ "environment_vars": [
"METADATA_FILE={{user `metadata_file`}}", "METADATA_FILE={{user `metadata_file`}}",
@@ -279,18 +270,6 @@
], ],
"execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'" "execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'"
}, },
{
"type": "shell",
"scripts":[
"{{template_dir}}/scripts/installers/boost.sh"
],
"environment_vars": [
"METADATA_FILE={{user `metadata_file`}}",
"HELPER_SCRIPTS={{user `helper_script_folder`}}",
"INSTALLER_SCRIPT_FOLDER={{user `installer_script_folder`}}"
],
"execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'"
},
{ {
"type": "shell", "type": "shell",
"scripts":[ "scripts":[