0

Setup

I'm running Fastlane over CI (Gitlab) and having a common flow:

match(type: ...)
gym(scheme: ..., export_method: ...)
pilot

Each line is actually run in a different job and most environment variables are stored in dotenv files, Appfile, and Gymfile. In particular, I have set the output_directory in the Gymfile. Also, I know that the .ipa is created because I've checked the output_directory and it's there.

Issue

It seems that the output directory variable is not retained and passed to the downstream job that executes the distribution via pilot. My guess is that the SharedValue set in the Gymfile has to be saved and made available to the job running pilot.

Question

I know I could simply pass the output path to pilot via argument, but I'd prefer to keep configuration variables in external files, such as a Gymfile. So my question is the following:

"Is there a way to make pilot aware of the variables set in the Gymfile? Or do I need to create some sort of Pilotfile (?) and set again the output_directory".

TheFabbius
  • 337
  • 4
  • 12

0 Answers0