| [ |
| { |
| "cmd": [], |
| "name": "Dependencies" |
| }, |
| { |
| "cmd": [], |
| "name": "Dependencies.Installing Mac codesign CIPD pkg", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[CLEANUP]/tmp_tmp_1", |
| "-ensure-file", |
| "flutter/codesign/${platform} latest", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "Dependencies.Installing Mac codesign CIPD pkg.ensure_installed", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-latest----------\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"flutter/codesign/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/cloudkms", |
| "-ensure-file", |
| "infra/tools/luci/cloudkms/${platform} latest", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "ensure_installed", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-latest----------\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/luci/cloudkms/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python3", |
| "-u", |
| "RECIPE_MODULE[depot_tools::gsutil]/resources/gsutil_smart_retry.py", |
| "--", |
| "RECIPE_REPO[depot_tools]/gsutil.py", |
| "----", |
| "cp", |
| "gs://flutter_configs/flutter_p12.encrypted", |
| "[CLEANUP]/flutter_p12.encrypted" |
| ], |
| "infra_step": true, |
| "name": "gsutil download" |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cloudkms/cloudkms", |
| "decrypt", |
| "-input", |
| "[CLEANUP]/flutter_p12.encrypted", |
| "-output", |
| "[CLEANUP]/FLUTTER_P12", |
| "projects/flutter-infra-staging/locations/global/keyRings/luci/cryptoKeys/flutter-infra" |
| ], |
| "name": "cloudkms get key" |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/cloudkms", |
| "-ensure-file", |
| "infra/tools/luci/cloudkms/${platform} latest", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "ensure_installed (2)", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-latest----------\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/luci/cloudkms/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python3", |
| "-u", |
| "RECIPE_MODULE[depot_tools::gsutil]/resources/gsutil_smart_retry.py", |
| "--", |
| "RECIPE_REPO[depot_tools]/gsutil.py", |
| "----", |
| "cp", |
| "gs://flutter_configs/p12_password.encrypted", |
| "[CLEANUP]/p12_password.encrypted" |
| ], |
| "infra_step": true, |
| "name": "gsutil download (2)" |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cloudkms/cloudkms", |
| "decrypt", |
| "-input", |
| "[CLEANUP]/p12_password.encrypted", |
| "-output", |
| "[CLEANUP]/FLUTTER_P12_PASSWORD", |
| "projects/flutter-infra-staging/locations/global/keyRings/luci/cryptoKeys/flutter-infra" |
| ], |
| "name": "cloudkms get key (2)" |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/cloudkms", |
| "-ensure-file", |
| "infra/tools/luci/cloudkms/${platform} latest", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "ensure_installed (3)", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-latest----------\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/luci/cloudkms/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python3", |
| "-u", |
| "RECIPE_MODULE[depot_tools::gsutil]/resources/gsutil_smart_retry.py", |
| "--", |
| "RECIPE_REPO[depot_tools]/gsutil.py", |
| "----", |
| "cp", |
| "gs://flutter_configs/codesign_team_id.encrypted", |
| "[CLEANUP]/codesign_team_id.encrypted" |
| ], |
| "infra_step": true, |
| "name": "gsutil download (3)" |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cloudkms/cloudkms", |
| "decrypt", |
| "-input", |
| "[CLEANUP]/codesign_team_id.encrypted", |
| "-output", |
| "[CLEANUP]/CODESIGN_TEAM_ID", |
| "projects/flutter-infra-staging/locations/global/keyRings/luci/cryptoKeys/flutter-infra" |
| ], |
| "name": "cloudkms get key (3)" |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/cloudkms", |
| "-ensure-file", |
| "infra/tools/luci/cloudkms/${platform} latest", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "ensure_installed (4)", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-latest----------\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/luci/cloudkms/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python3", |
| "-u", |
| "RECIPE_MODULE[depot_tools::gsutil]/resources/gsutil_smart_retry.py", |
| "--", |
| "RECIPE_REPO[depot_tools]/gsutil.py", |
| "----", |
| "cp", |
| "gs://flutter_configs/codesign_app_specific_password.encrypted", |
| "[CLEANUP]/codesign_app_specific_password.encrypted" |
| ], |
| "infra_step": true, |
| "name": "gsutil download (4)" |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cloudkms/cloudkms", |
| "decrypt", |
| "-input", |
| "[CLEANUP]/codesign_app_specific_password.encrypted", |
| "-output", |
| "[CLEANUP]/CODESIGN_APP_SPECIFIC_PASSWORD", |
| "projects/flutter-infra-staging/locations/global/keyRings/luci/cryptoKeys/flutter-infra" |
| ], |
| "name": "cloudkms get key (4)" |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/cloudkms", |
| "-ensure-file", |
| "infra/tools/luci/cloudkms/${platform} latest", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "ensure_installed (5)", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-latest----------\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/luci/cloudkms/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python3", |
| "-u", |
| "RECIPE_MODULE[depot_tools::gsutil]/resources/gsutil_smart_retry.py", |
| "--", |
| "RECIPE_REPO[depot_tools]/gsutil.py", |
| "----", |
| "cp", |
| "gs://flutter_configs/codesign_app_store_id.encrypted", |
| "[CLEANUP]/codesign_app_store_id.encrypted" |
| ], |
| "infra_step": true, |
| "name": "gsutil download (5)" |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cloudkms/cloudkms", |
| "decrypt", |
| "-input", |
| "[CLEANUP]/codesign_app_store_id.encrypted", |
| "-output", |
| "[CLEANUP]/CODESIGN_APP_STORE_ID", |
| "projects/flutter-infra-staging/locations/global/keyRings/luci/cryptoKeys/flutter-infra" |
| ], |
| "name": "cloudkms get key (5)" |
| }, |
| { |
| "cmd": [ |
| "security", |
| "delete-keychain", |
| "build.keychain" |
| ], |
| "name": "delete previous keychain" |
| }, |
| { |
| "cmd": [ |
| "security", |
| "create-keychain", |
| "-p", |
| "", |
| "build.keychain" |
| ], |
| "name": "create keychain" |
| }, |
| { |
| "cmd": [ |
| "security", |
| "default-keychain", |
| "-s", |
| "build.keychain" |
| ], |
| "name": "default keychain" |
| }, |
| { |
| "cmd": [ |
| "security", |
| "unlock-keychain", |
| "-p", |
| "", |
| "build.keychain" |
| ], |
| "name": "unlock build keychain" |
| }, |
| { |
| "cmd": [ |
| "chmod", |
| "755", |
| "RECIPE[flutter::engine_v2/signer].resources/import_certificate.sh" |
| ], |
| "infra_step": true, |
| "name": "Set execute permission" |
| }, |
| { |
| "cmd": [ |
| "RECIPE[flutter::engine_v2/signer].resources/import_certificate.sh" |
| ], |
| "env": { |
| "CODESIGN_APP_SPECIFIC_PASSWORD": "[CLEANUP]/CODESIGN_APP_SPECIFIC_PASSWORD", |
| "CODESIGN_APP_STORE_ID": "[CLEANUP]/CODESIGN_APP_STORE_ID", |
| "CODESIGN_PATH": "[CLEANUP]/tmp_tmp_1/codesign", |
| "CODESIGN_TEAM_ID": "[CLEANUP]/CODESIGN_TEAM_ID", |
| "FLUTTER_P12": "[CLEANUP]/FLUTTER_P12", |
| "FLUTTER_P12_PASSWORD": "[CLEANUP]/FLUTTER_P12_PASSWORD", |
| "P12_SUFFIX_FILEPATH": "[CLEANUP]/flutter.p12" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CLEANUP]/tmp_tmp_1" |
| ] |
| }, |
| "name": "import certificate" |
| }, |
| { |
| "cmd": [ |
| "security", |
| "set-key-partition-list", |
| "-S", |
| "apple-tool:,apple:,codesign:", |
| "-s", |
| "-k", |
| "", |
| "build.keychain" |
| ], |
| "name": "set key partition list" |
| }, |
| { |
| "cmd": [ |
| "security", |
| "find-identity", |
| "-v" |
| ], |
| "name": "show-identities" |
| }, |
| { |
| "cmd": [ |
| "security", |
| "delete-keychain", |
| "build.keychain" |
| ], |
| "name": "delete keychain" |
| }, |
| { |
| "cmd": [ |
| "security", |
| "default-keychain", |
| "-s", |
| "login.keychain" |
| ], |
| "name": "restore default keychain" |
| }, |
| { |
| "cmd": [], |
| "name": "RECIPE CRASH (Uncaught exception)", |
| "~followup_annotations": [ |
| "@@@STEP_EXCEPTION@@@", |
| "The recipe has crashed at point 'Uncaught exception'!", |
| "", |
| "Traceback (most recent call last):", |
| " File \"RECIPE_REPO[flutter]/recipes/engine_v2/signer.py\", line 56, in RunSteps", |
| " KeychainSetup(api, env, env_prefixes)", |
| " File \"RECIPE_REPO[flutter]/recipes/engine_v2/signer.py\", line 106, in KeychainSetup", |
| " raise ValueError(", |
| "ValueError('identities are , does not include flutter identity')" |
| ] |
| }, |
| { |
| "failure": { |
| "humanReason": "Uncaught Exception: ValueError('identities are , does not include flutter identity')" |
| }, |
| "name": "$result" |
| } |
| ] |