From 71accc0fbd5f99a23807f3da69c2355b60e9351f Mon Sep 17 00:00:00 2001 From: Radek Lisowski Date: Mon, 28 Nov 2022 16:45:58 +0100 Subject: [PATCH 1/2] convox: changed convox CLI url Convox has changed it's official URL for CLI downloads. Official url is: http://download.convox.com/cli/linux/convox - though it lacks SSL yet, thus the best way is to use S3 hosting for now. This commit is required for convox dpl to start working again. --- lib/dpl/providers/convox.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dpl/providers/convox.rb b/lib/dpl/providers/convox.rb index 6d546184c..a3660b382 100644 --- a/lib/dpl/providers/convox.rb +++ b/lib/dpl/providers/convox.rb @@ -18,7 +18,7 @@ class Convox < Provider opt '--app APP', required: true opt '--rack RACK', required: true opt '--password PASS', required: true - opt '--install_url URL', default: 'https://convox.com/cli/linux/convox' + opt '--install_url URL', default: 'https://convox.s3.amazonaws.com/cli/linux/convox' opt '--update_cli' opt '--create' opt '--promote', default: true From 6330fa90d702bc0129b479c19e828416aba4e374 Mon Sep 17 00:00:00 2001 From: Radoslaw Lisowski Date: Mon, 28 Nov 2022 18:41:38 +0100 Subject: [PATCH 2/2] chore: fixed tests --- spec/dpl/providers/convox_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/dpl/providers/convox_spec.rb b/spec/dpl/providers/convox_spec.rb index c2fd9e0a1..69ec52379 100644 --- a/spec/dpl/providers/convox_spec.rb +++ b/spec/dpl/providers/convox_spec.rb @@ -33,7 +33,7 @@ it { should have_env CONVOX_RACK: 'rack' } it { should have_env CONVOX_CLI: 'convox' } - it { should have_run %r(curl -sL -o \$HOME/bin/convox https://convox.com/cli/linux/convox) } + it { should have_run %r(curl -sL -o \$HOME/bin/convox https://convox.s3.amazonaws.com/cli/linux/convox) } it { should have_run '[info] $ convox version --rack rack' } it { should have_run 'convox version --rack rack' } it { should have_run '[info] Setting the build environment up for the deployment' }