Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused flag ami-users #526

Merged
merged 1 commit into from
May 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading