Hi, I’m trying to find the names and full path to the relavent fastlane files when making a Unity Cloud Build.
The goal is to use the same default config file that has the build step, and just inject an upload step, via a pre-build script, for example, inject upload to testflight.
On a side note, I don’t wish to:
- Have a custom fastlane configuration file.
- Have a script to manage the uploads.
I tried with a grep script but there are way too many matches, and at some point, either:
- The logs viewer at the Unity Cloud front end could not handle the huge amount of logs, and then wouldn’t be able to get the logs anymore.
- or, even if I ignore the fact that I can’t retrieve the logs anymore, and just let the job continue running, it’ll be auto canceled at some point, as it probably exceeds time/log size limits.
I thought trying to find the files with the ‘find’ utility is not an option, because I don’t know what the fastlane files names could be.
Then, I saw in Unity Cloud Build logs, the default fastlane starts with version verification step:
37890: ----------------------------------------
37891: --- Step: Verifying fastlane version ---
37892: ----------------------------------------
Then:
37929: --- Step: gym ---
37930: -----------------
37931: Successfully loaded '/BUILD_PATH/<org_id>.<project_id>.<build_target_id>/<our sub-path>/temp20210124-14532-1jpf3uc/fastlane/Gymfile'
And then at last, fastlane summary:
38839: +------+---------------------------------------------------------------+-------------+
38840: | fastlane summary |
38841: +------+---------------------------------------------------------------+-------------+
38842: | Step | Action | Time (in s) |
38843: +------+---------------------------------------------------------------+-------------+
38844: | 1 | Verifying fastlane version | 0 |
38845: | 2 | default_platform | 0 |
38846: | 3 | set_info_plist_value | 0 |
38847: | 4 | update_project_provisioning | 0 |
38848: | 5 | sed -i '' '/PROVISIONING_PROFILE_SPECIFIER/d;/DEVELOPMENT_TEA | 0 |
38849: | 6 | gym | 1684 |
38850: +------+---------------------------------------------------------------+-------------+
So, could you please provide me with the full path where I could find these default fastlane configs?
is it in this directory?
/BUILD_PATH/<org_id>.<project_id>.<build_target_id>/<our sub-path>/temp20210124-14532-1jpf3uc/fastlane
If so, is it always stored under this temp path? of the form:
temp<date>-<time>-<random str>
Thanks.