You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The shell is now always a login shell, so we remove the instructions to
add --login on the 'testing on ios' page.
We also need to make this clear on the config references page.
Add docs for Xcode 11.1 and update the 11.0 docs to remove the "GM"
designation, since GM 2 _was_ the final release.
Copy file name to clipboardExpand all lines: jekyll/_cci2/configuration-reference.md
+8-2Lines changed: 8 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -519,7 +519,13 @@ Each `run` declaration represents a new shell. It's possible to specify a multi-
519
519
520
520
###### _Default shell options_
521
521
522
-
The default value of shell option is `/bin/bash -eo pipefail` if `/bin/bash` is present in the build container. Otherwise it is `/bin/sh -eo pipefail`. The default shell is not a login shell (`--login` or `-l` are not specified by default). Hence, the default shell will **not** source your `~/.bash_profile`, `~/.bash_login`, `~/.profile` files. Descriptions of the `-eo pipefail` options are provided below.
522
+
For jobs that run on **Linux**, the default value of the `shell` option is `/bin/bash -eo pipefail` if `/bin/bash` is present in the build container. Otherwise it is `/bin/sh -eo pipefail`. The default shell is not a login shell (`--login` or `-l` are not specified). Hence, the shell will **not** source your `~/.bash_profile`, `~/.bash_login`, `~/.profile` files.
523
+
524
+
For jobs that run on **macOS**, the default shell is `/bin/bash --login -eo pipefail`. The shell is a non-interactive login shell. The shell will execute `/etc/profile/` followed by `~/.bash_profile` before every step.
525
+
526
+
For more information about which files are executed when bash is invocated, [see the `INVOCATION` section of the `bash` manpage](https://linux.die.net/man/1/bash).
527
+
528
+
Descriptions of the `-eo pipefail` options are provided below.
523
529
524
530
`-e`
525
531
@@ -840,7 +846,7 @@ In general `deploy` step behaves just like `run` with two exceptions:
840
846
841
847
- In a job with `parallelism`, the `deploy` step will only be executed by node #0 and only if all nodes succeed. Nodes other than #0 will skip this step.
842
848
- In a job that runs with SSH, the `deploy` step will not execute, and the following action will show instead:
The environment variable `FL_OUTPUT_DIR` is the artifact directory where FastLane logs should be stored. Use this to set the path in the `store_artifacts` step to automatically save logs such as Gym and Scan.
283
+
The environment variable `FL_OUTPUT_DIR` is the artifact directory where FastLane logs should be stored. Use this to set the path in the `store_artifacts` step to automatically save logs such as Gym and Scan.
285
284
286
285
### Reducing Testing Time
287
286
@@ -371,20 +370,11 @@ It is also possible to use the `sudo` command if necessary to perform customizat
371
370
### Using Custom Ruby Versions
372
371
{:.no_toc}
373
372
374
-
Our macOS containers contain multiple versions of Ruby. The default version is the system-installed Ruby. The containers also include the latest stable versions of Ruby at the time that the container is built. We determine the stable versions of Ruby using the [Ruby-Lang.org downloads page](https://www.ruby-lang.org/en/downloads/). The version of Ruby that are installed in each image are listed in the [software manifests of each container](#supported-xcode-versions).
373
+
Our macOS containers contain multiple versions of Ruby. The default version is the system-installed Ruby. The containers also include the latest stable versions of Ruby at the time that the container is built. We determine the stable versions of Ruby using the [Ruby-Lang.org downloads page](https://www.ruby-lang.org/en/downloads/). The version of Ruby that are installed in each image are listed in the [software manifests of each container](#supported-xcode-versions).
375
374
376
-
If you want to run steps with a version of Ruby that is listed as "available to chruby" in the manifest, then you can use [`chruby`](https://github.com/postmodern/chruby) to do so. To activate `chruby`, you **must** change the `shell` parameter of your job to be a login shell (adding `--login`).
375
+
If you want to run steps with a version of Ruby that is listed as "available to chruby" in the manifest, then you can use [`chruby`](https://github.com/postmodern/chruby) to do so.
377
376
378
-
```yaml
379
-
version: 2
380
-
jobs:
381
-
build:
382
-
macos:
383
-
xcode: "10.2.0"
384
-
shell: /bin/bash --login -eo pipefail
385
-
```
386
-
387
-
To specify a version of Ruby to use, there are two options. You can [create a file named `.ruby-version` and commit it to your repository, as documented by `chruby`](https://github.com/postmodern/chruby#auto-switching). If you do not want to commit a `.ruby-version` file to source control, then you can create the file from a job step:
377
+
To specify a version of Ruby to use, there are two options. You can [create a file named `.ruby-version` and commit it to your repository, as documented by `chruby`](https://github.com/postmodern/chruby#auto-switching). If you do not want to commit a `.ruby-version` file to source control, then you can create the file from a job step:
388
378
389
379
```yaml
390
380
run:
@@ -445,19 +435,19 @@ the app is easy with one of the following:
445
435
446
436
Then you should set up environment variables for your service of choice:
447
437
448
-
### Hockey App
438
+
### Hockey App
449
439
{:.no_toc}
450
440
451
441
1. Log in to Hockey app and create a new API token on the [Tokens page](
452
442
https://rink.hockeyapp.net/manage/auth_tokens). Your token will need at
453
-
least upload permission to upload new builds to Hockey App.
443
+
least upload permission to upload new builds to Hockey App.
454
444
455
445
2. Give your
456
446
new API token a name specific to CircleCI such as "CircleCI
457
-
Distribution".
447
+
Distribution".
458
448
459
449
3. Copy the token, and log into CircleCI and go to the
460
-
Project Settings page for your app.
450
+
Project Settings page for your app.
461
451
462
452
4. Create a new Environment Variable with
463
453
the name `HOCKEY_APP_TOKEN` and paste the token as the value. You can now
@@ -469,7 +459,7 @@ access this token in any job.
469
459
1. Log in to Fabric.io and visit your organization's settings page.
0 commit comments