From 383b9375a911c1f98295672a303197a52e5f887d Mon Sep 17 00:00:00 2001 From: Sayali Gaikawad <61760125+gaiksaya@users.noreply.github.com> Date: Thu, 4 Mar 2021 17:55:05 -0800 Subject: [PATCH] Fix AMI prod sync script (#678) --- .github/workflows/prod-sync-ami.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/prod-sync-ami.yml b/.github/workflows/prod-sync-ami.yml index 36c00a269..6ef5cc6ca 100644 --- a/.github/workflows/prod-sync-ami.yml +++ b/.github/workflows/prod-sync-ami.yml @@ -9,11 +9,14 @@ jobs: runs-on: ubuntu-18.04 steps: - uses: actions/checkout@v1 + - name: Required Packages + run: ./release-tools/scripts/required_packages.sh - name: Getting OD version run: | - OD_VERSION=`./bin/version-info --od` + OD_VERSION=`./release-tools/scripts/version-info.sh --od` echo "od_version=$OD_VERSION" >> $GITHUB_ENV + - name: Required Packages run: ./release-tools/scripts/required_packages.sh - name: Set AMI from private to public in all regions @@ -26,7 +29,7 @@ jobs: aws configure set aws_access_key_id ${{ secrets.AWS_EC2_ACCESS_KEY_ID }} aws configure set aws_secret_access_key ${{ secrets.AWS_EC2_SECRET_ACCESS_KEY }} aws configure set region us-east-1 - aws configure set cli_pager "" + export AWS_PAGER="" REGIONS_LIST=`aws ec2 describe-regions --query 'Regions[].RegionName[]' --output text` for region_name in $REGIONS_LIST