diff --git a/provisioning/tools-versions.yml b/provisioning/tools-versions.yml index c0402dcb2..3f0494ecc 100644 --- a/provisioning/tools-versions.yml +++ b/provisioning/tools-versions.yml @@ -8,6 +8,7 @@ compose_version: 2.23.3 cst_version: 1.16.0 default_jdk: 11 docker_version: 24.0.7 +doctl_version: 1.101.0 gh_version: 2.40.1 git_lfs_version: 3.4.1 git_linux_version: 2.43.0 diff --git a/provisioning/ubuntu-provision.sh b/provisioning/ubuntu-provision.sh index a655bd223..7ee38b796 100755 --- a/provisioning/ubuntu-provision.sh +++ b/provisioning/ubuntu-provision.sh @@ -348,6 +348,14 @@ function install_docker_compose(){ chmod a+x /usr/local/bin/docker-compose } +## Ensure that DOCTL is installed +function install_doctl(){ + install_dir=/usr/local/bin + curl --fail --silent --location --show-error \ + "https://github.com/digitalocean/doctl/releases/download/v${DOCTL_VERSION}/doctl-${DOCTL_VERSION}-linux-${ARCHITECTURE}.tar.gz" | tar --extract --gunzip --directory="${install_dir}"/ doctl +} + + ## Ensure that maven is installed and configured (version from environment) function install_maven() { curl --fail --silent --location --show-error --output "/tmp/apache-maven-${MAVEN_VERSION}-bin.tar.gz" \ @@ -633,6 +641,7 @@ function main() { install_JA_requirements install_qemu install_azcopy + install_doctl install_python install_docker_compose install_maven