#!/bin/bash # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 OR ISC set -exuo pipefail # -e: Exit on any failure # -x: Print the command before running # -u: Any variable that is not set will cause an error if used # -o pipefail: Makes sure to exit a pipeline with a non-zero error code if any command in the pipeline exists with a # non-zero error code. # Device Farm project to designate Device Farm runs. The two device pools defined below should also belong to this project. AWSLC_DEVICEFARM_PROJECT='arn:aws:devicefarm:us-west-2:620771051181:project:d1e78543-a776-49c5-9452-9a2b3448b728' # Device pool arn for FIPS. AWSLC_FIPS_DEVICEFARM_DEVICE_POOL='arn:aws:devicefarm:us-west-2:620771051181:devicepool:d1e78543-a776-49c5-9452-9a2b3448b728/4726586b-cdbc-4dc0-98a5-38e7448e3691' # Device pool arn for non-FIPS. AWSLC_NON_FIPS_DEVICEFARM_DEVICE_POOL='arn:aws:devicefarm:us-west-2:620771051181:devicepool:d1e78543-a776-49c5-9452-9a2b3448b728/4e72604c-86eb-41b6-9383-7797c04328b4' ########################### # Main and related helper # ########################### function script_helper() { cat <