From 75ce12f5dab1edc884345aaeeab0aa6e4c83bc8a Mon Sep 17 00:00:00 2001 From: Carlo Costino Date: Fri, 4 Oct 2024 14:41:26 -0400 Subject: [PATCH] Update cg-egress-proxy installation This changeset updates the installation of the cg-egress-proxy repo on account of the recent change to use the newer cg-cli-tools. It also forces the update for staging to test this out for now; we will have to uncomment the check once this is working. Signed-off-by: Carlo Costino --- .github/actions/deploy-proxy/action.yml | 10 ++++++++++ .github/workflows/deploy.yml | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/actions/deploy-proxy/action.yml b/.github/actions/deploy-proxy/action.yml index 13bdc494ff..aefd3234bb 100644 --- a/.github/actions/deploy-proxy/action.yml +++ b/.github/actions/deploy-proxy/action.yml @@ -16,6 +16,16 @@ inputs: runs: using: composite steps: + - name: Install cf-cli + shell: bash + run: | + curl -A "cg-deploy-action" -v -L -o cf-cli_amd64.deb 'https://packages.cloudfoundry.org/stable?release=debian64&version=v8&source=github' + sudo dpkg -i cf-cli_amd64.deb + - name: Login to cf-cli + shell: bash + run: | + cf api api.fr.cloud.gov + cf auth - name: Set restricted space egress shell: bash run: ./terraform/set_space_egress.sh -t -s ${{ inputs.cf_space }} diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e1052565b8..4da91e0f36 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -107,7 +107,7 @@ jobs: .github/actions/deploy-proxy/action.yml .github/workflows/deploy.yml - name: Deploy egress proxy - if: steps.changed-egress-config.outputs.any_changed == 'true' + #if: steps.changed-egress-config.outputs.any_changed == 'true' uses: ./.github/actions/deploy-proxy with: cf_space: notify-staging