Skip to content

Commit

Permalink
Revert "publish: add scanner account to sync task script"
Browse files Browse the repository at this point in the history
This reverts commit f40b69c.
  • Loading branch information
matthewfala committed Nov 3, 2023
1 parent 0ab5be1 commit 898d15a
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions scripts/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,6 @@ gamma_region="us-west-2"

gamma_account_id="626332813196"

scanner_region="us-west-2"

scanner_account_id="210752607241"

DOCKER_HUB_SECRET="com.amazonaws.dockerhub.aws-for-fluent-bit.credentials"

ARCHITECTURES=("amd64" "arm64")
Expand Down Expand Up @@ -795,10 +791,6 @@ if [ "${1}" = "publish" ]; then
publish_ecr ${melbourne_region} ${melbourne_account_id}
fi

if [ "${2}" = "${scanner_region}" ]; then
publish_ecr ${scanner_region} ${scanner_account_id}
fi

if [ "${2}" = "gamma" ]; then
publish_ecr ${gamma_region} ${gamma_account_id}
fi
Expand Down Expand Up @@ -871,10 +863,6 @@ if [ "${1}" = "verify" ]; then
verify_ecr ${melbourne_region} ${melbourne_account_id}
fi

if [ "${2}" = "${scanner_region}" ]; then
verify_ecr ${scanner_region} ${scanner_account_id}
fi

if [ "${2}" = "gamma" ]; then
verify_ecr ${gamma_region} ${gamma_account_id}
fi
Expand Down Expand Up @@ -1109,8 +1097,6 @@ if [ "${1}" = "cicd-publish" ]; then
sync_image_version ${tel_aviv_region} ${tel_aviv_account_id}
elif [ "${2}" = "${melbourne_region}" ]; then
sync_image_version ${melbourne_region} ${melbourne_account_id}
elif [ "${2}" = "${scanner_region}" ]; then
sync_image_version ${scanner_region} ${scanner_account_id}
elif [ $# -eq 3 ] && [ "${3}" = "stable" ]; then
for region in ${classic_regions}; do
sync_image_version ${region} ${classic_regions_account_id}
Expand Down Expand Up @@ -1164,8 +1150,6 @@ if [ "${1}" = "cicd-verify" ]; then
verify_ecr ${tel_aviv_region} ${tel_aviv_account_id} true
elif [ "${2}" = "${melbourne_region}" ]; then
verify_ecr ${melbourne_region} ${melbourne_account_id} true
elif [ "${2}" = "${scanner_region}" ]; then
verify_ecr ${scanner_region} ${scanner_account_id} true
elif [ $# -eq 3 ] && [ "${3}" = "stable" ]; then
for region in ${classic_regions}; do
verify_ecr ${region} ${classic_regions_account_id} true
Expand Down

0 comments on commit 898d15a

Please sign in to comment.