File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -440,7 +440,7 @@ docker compose -f docker/compose.yml exec octopus sh -c 'if [ ! -f /usr/local/bi
440
440
# Download all the terraform provider versions. This removes a point of failure during demos, as well as speeding complex deployments up.
441
441
docker compose -f docker/compose.yml exec octopus sh -c 'RELEASES=$(curl --silent https://api.github.com/repos/OctopusDeployLabs/terraform-provider-octopusdeploy/releases | jq -r ".[0:5] | .[].name[1:]"); echo $RELEASES; for RELEASE in ${RELEASES}; do echo "Downloading https://github.com/OctopusDeployLabs/terraform-provider-octopusdeploy/releases/download/v${RELEASE}/terraform-provider-octopusdeploy_${RELEASE}_linux_amd64.zip"; mkdir -p "/terraformcache/registry.terraform.io/octopusdeploylabs/octopusdeploy/${RELEASE}/linux_amd64"; cd "/terraformcache/registry.terraform.io/octopusdeploylabs/octopusdeploy/${RELEASE}/linux_amd64"; if [ ! -f "terraform-provider-octopusdeploy_v${RELEASE}" ]; then curl --silent -L -o "terraform-provider-octopusdeploy_${RELEASE}_linux_amd64.zip" "https://github.com/OctopusDeployLabs/terraform-provider-octopusdeploy/releases/download/v${RELEASE}/terraform-provider-octopusdeploy_${RELEASE}_linux_amd64.zip"; unzip -o "terraform-provider-octopusdeploy_${RELEASE}_linux_amd64.zip"; rm "terraform-provider-octopusdeploy_${RELEASE}_linux_amd64.zip"; fi; done'
442
442
# Download 0.13.2 specifically, which is referenced by some of the python scripts
443
- docker compose -f docker/compose.yml exec octopus sh -c ' mkdir -p "/terraformcache/registry.terraform.io/octopusdeploylabs/octopusdeploy/0.13.2/linux_amd64"; cd "/terraformcache/registry.terraform.io/octopusdeploylabs/octopusdeploy/0.13.2/linux_amd64"; if [ ! -f "terraform-provider-octopusdeploy_v${RELEASE} " ]; then curl --silent -L -o "terraform-provider-octopusdeploy_0.13.2_linux_amd64.zip" "https://github.com/OctopusDeployLabs/terraform-provider-octopusdeploy/releases/download/v0.13.2/terraform-provider-octopusdeploy_0.13.2_linux_amd64.zip"; unzip -o "terraform-provider-octopusdeploy_0.13.2_linux_amd64.zip"; rm "terraform-provider-octopusdeploy_0.13.2_linux_amd64.zip"; fi'
443
+ docker compose -f docker/compose.yml exec octopus sh -c ' mkdir -p "/terraformcache/registry.terraform.io/octopusdeploylabs/octopusdeploy/0.13.2/linux_amd64"; cd "/terraformcache/registry.terraform.io/octopusdeploylabs/octopusdeploy/0.13.2/linux_amd64"; if [ ! -f "terraform-provider-octopusdeploy_v0.13.2 " ]; then curl --silent -L -o "terraform-provider-octopusdeploy_0.13.2_linux_amd64.zip" "https://github.com/OctopusDeployLabs/terraform-provider-octopusdeploy/releases/download/v0.13.2/terraform-provider-octopusdeploy_0.13.2_linux_amd64.zip"; unzip -o "terraform-provider-octopusdeploy_0.13.2_linux_amd64.zip"; rm "terraform-provider-octopusdeploy_0.13.2_linux_amd64.zip"; fi'
444
444
# https://developer.hashicorp.com/terraform/cli/config/config-file#explicit-installation-method-configuration
445
445
docker compose -f docker/compose.yml exec octopus sh -c ' echo "provider_installation {\nfilesystem_mirror {\npath = \"/terraformcache\"\ninclude = [\"registry.terraform.io/octopusdeploylabs/octopusdeploy\"]\n}\n}" > ~/.terraformrc'
446
446
docker compose -f docker/compose.yml exec octopus sh -c ' curl -sSL -o argocd-linux-amd64 https://github.com/argoproj/argo-cd/releases/latest/download/argocd-linux-amd64; install -m 555 argocd-linux-amd64 /usr/local/bin/argocd; rm argocd-linux-amd64'
You can’t perform that action at this time.
0 commit comments