From 98e9ccc1dccbaf7dd0ba8f53ae00f1e02fc2fddc Mon Sep 17 00:00:00 2001 From: Gio Lodi Date: Wed, 11 Sep 2024 12:09:33 +1000 Subject: [PATCH] Use Fastlane to decrypt secrets in prototype build step This is a followup to 6fce8c8c39968709b7923c0ad96b091b2bd7dc9a Unfortunately, we need to use the same configure implementation across the whole CI automation due to existing compatibility bugs between the Ruby and Rust versions --- .buildkite/commands/build-prototype.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.buildkite/commands/build-prototype.sh b/.buildkite/commands/build-prototype.sh index bb9932cf7..ede5c0807 100644 --- a/.buildkite/commands/build-prototype.sh +++ b/.buildkite/commands/build-prototype.sh @@ -5,11 +5,8 @@ set -eu echo "--- :rubygems: Setting up Gems" install_gems -echo "--- Installing Secrets" -# This is a hack until our AMI has a newer version of glibc and openSSL -./gradlew -chmod +x vendor/configure/configure -docker run -it --rm --workdir /app --env CONFIGURE_ENCRYPTION_KEY -v $(pwd):/app public.ecr.aws/automattic/android-build-image:4281c9e97b2d821df3de34c046b7c067499b35bb /bin/bash -c 'vendor/configure/configure apply' +echo "--- :closed_lock_with_key: Installing Secrets" +bundle exec fastlane run configure_apply echo "--- :hammer_and_wrench: Build and Test" bundle exec fastlane build_and_upload_prototype_build