Skip to content

Commit 629a86e

Browse files
authored
fix(ci): bootstrap_ec2 quoting (#15327)
Fixed by human being
1 parent dbfd842 commit 629a86e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

ci3/bootstrap_ec2

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ EOF
193193
# We provide the host user and group ids to the entrypoint script to ensure alignment.
194194
# We raise the default pid limit to 32k.
195195
function run {
196-
ssh ${ssh_args:-} -F $ci3/aws/build_instance_ssh_config ubuntu@$ip "
196+
ssh ${ssh_args:-} -F $ci3/aws/build_instance_ssh_config ubuntu@$ip << EOF
197197
# TODO: This should *not* be needed in a CI run. Remove "watching" code, e.g. in boxes.
198198
sudo sysctl fs.inotify.max_user_watches=1048576 &>/dev/null
199199
sudo sysctl fs.inotify.max_user_instances=1048576 &>/dev/null
@@ -235,8 +235,8 @@ function run {
235235
-e EXTERNAL_ETHEREUM_CONSENSUS_HOST_API_KEY_HEADER=${EXTERNAL_ETHEREUM_CONSENSUS_HOST_API_KEY_HEADER:-} \
236236
-e L1_DEPLOYMENT_PRIVATE_KEY=${L1_DEPLOYMENT_PRIVATE_KEY:-} \
237237
-e DOCKERHUB_PASSWORD=${DOCKERHUB_PASSWORD:-} \
238-
-e AWS_ACCESS_KEY_ID=\"${AWS_ACCESS_KEY_ID:-}\" \
239-
-e AWS_SECRET_ACCESS_KEY=\"${AWS_SECRET_ACCESS_KEY:-}\" \
238+
-e AWS_ACCESS_KEY_ID="${AWS_ACCESS_KEY_ID:-}" \
239+
-e AWS_SECRET_ACCESS_KEY="${AWS_SECRET_ACCESS_KEY:-}" \
240240
-e BUILD_SYSTEM_DEBUG=${BUILD_SYSTEM_DEBUG:-} \
241241
-e GITHUB_TOKEN=${GITHUB_TOKEN:-} \
242242
-e NETLIFY_SITE_ID=${NETLIFY_SITE_ID:-} \
@@ -272,7 +272,7 @@ function run {
272272
# Returns exit code from docker run.
273273
wait \$build_pid
274274
fi
275-
"
275+
EOF
276276
}
277277

278278
set +e

0 commit comments

Comments
 (0)