Skip to content

Commit

Permalink
Remove unused flag ami-users
Browse files Browse the repository at this point in the history
Following https://github.com/scylladb/scylla-pkg/pull/4002 the ami-users
flag is no longer in use
  • Loading branch information
benipeled committed May 15, 2024
1 parent 4644f6a commit be47a11
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
7 changes: 0 additions & 7 deletions packer/build_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ print_usage() {
echo " [--scylla-build-sha-id] Scylla build SHA id form metadata file"
echo " [--branch] Set the release branch for GCE label. Default: master"
echo " [--ami-regions] Set regions to copy the AMI when done building it (including permissions and tags)"
echo " [--ami-users] A list of account IDs that have access to launch the AMI"
echo " [--build-tag] Jenkins Build tag"
echo " --download-no-server Download all deb needed excluding scylla from repo-for-install"
echo " [--build-mode] Choose which build mode to use for Scylla installation. Default: release. Valid options: release|debug"
Expand Down Expand Up @@ -94,11 +93,6 @@ while [ $# -gt 0 ]; do
echo "--ami-regions parameter: AMI_REGIONS |$AMI_REGIONS|"
shift 2
;;
"--ami-users"):
AMI_USERS=$2
echo "--ami-users parameter: AMI_USERS |$AMI_USERS|"
shift 2
;;
"--log-file")
PACKER_LOG_PATH=$2
echo "--log-file parameter: PACKER_LOG_PATH |$PACKER_LOG_PATH|"
Expand Down Expand Up @@ -347,7 +341,6 @@ set -x
-var operating_system="$OPERATING_SYSTEM" \
-var branch="$BRANCH" \
-var ami_regions="$AMI_REGIONS" \
-var ami_users="$AMI_USERS" \
-var arch="$ARCH" \
-var product="$PRODUCT" \
-var build_mode="$BUILD_MODE" \
Expand Down
1 change: 0 additions & 1 deletion packer/scylla.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@
"build_mode": "{{user `build_mode`| clean_resource_name}}"
},
"ami_regions": "{{user `ami_regions`}}",
"ami_users": "{{user `ami_users`}}",
"aws_polling": {
"delay_seconds": "30",
"max_attempts": "100"
Expand Down

0 comments on commit be47a11

Please sign in to comment.