Skip to content

Commit 5b22ad9

Browse files
Merge pull request circleci#3414 from rosieyohannan/fix/containers
expand VCS
2 parents e4f4b70 + 9fc9256 commit 5b22ad9

File tree

2 files changed

+19
-24
lines changed

2 files changed

+19
-24
lines changed

jekyll/_cci2/containers.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,25 @@ categories: [how-to]
55
description: How to leverage CircleCI containers
66
---
77

8-
This document describes the basics of containers and how to leverage the containers in your plan to speed up your job and workflow runs.
8+
This document describes the basics of containers and how to leverage the containers in your plan to speed up your job and workflow runs.
99

1010
## Overview
1111

12-
Every change committed to your VCS system triggers CircleCI to checkout your code and run your job workflow inside of a fresh, on-demand, and isolated container with access to the following depending on your plan:
12+
Every change committed to your version control system triggers CircleCI to checkout your code and run your job workflow inside a fresh, on-demand, isolated container with access to the following, depending on your plan:
1313

1414
- **Concurrency** - Utilizing multiple containers to run multiple builds at the same time. To take advantage of concurrency, configure your development workflow using the [Orchestrating Workflows document]({{ site.baseurl }}/2.0/workflows/)
1515
and run your jobs in parallel as shown in the [Sample 2.0 Config Files document]({{ site.baseurl }}/2.0/sample-config/#sample-configuration-with-parallel-jobs).
1616

17-
- **Parallelism** - Splitting tests across multiple containers, allowing you to dramatically speed up your test suite. Update your `.circleci/config.yml` file to run your tests in parallel as documented in the [Configuring CircleCI]({{ site.baseurl }}/2.0/configuration-reference/#parallelism) document. Learn how to update your config file to parallelize and split tests to decrease your build time by reading the [Running Tests in Parallel]({{ site.baseurl }}/2.0/parallelism-faster-jobs/) documentation.
17+
- **Parallelism** - Splitting tests across multiple containers, allowing you to dramatically speed up your test suite. Update your `.circleci/config.yml` file to run your tests in parallel as described in the [Configuring CircleCI]({{ site.baseurl }}/2.0/configuration-reference/#parallelism) document. Learn how to update your config file to parallelize and split tests to decrease your build time by reading the [Running Tests in Parallel]({{ site.baseurl }}/2.0/parallelism-faster-jobs/) documentation.
1818

1919
## Getting Started
2020

21-
Linux plans start with the ability to run one workflow without parallelism at no charge. Open source projects include three additional free containers to run jobs in parallel. Purchasing a Linux plan enables you to use additional containers when you need them. Choose a paid or free plan during the signup process and change your plan in the CircleCI app Settings page later to meet changing business requirements. Most CircleCI customers use two to three containers per full-time developer. Increase the number of containers at any level of parallelism and concurrency as your team or the complexity of your workflow grows.
21+
Linux plans start with the ability to run one workflow, without parallelism, at no charge. Purchasing a Linux plan enables you to use additional containers when you need them. Choose a paid or free plan during the signup process and change your plan in the CircleCI app Settings page later to meet changing business requirements.
2222

23-
## Upgrading
23+
Most CircleCI customers use two to three containers per full-time developer. Increase the number of containers to any level of parallelism and concurrency as your team or the complexity of your workflow grows.
24+
25+
Open source projects include three additional free containers to run jobs in parallel.
2426

25-
Refer to the [FAQ about upgrading]({{ site.baseurl }}/2.0/faq/#how-do-i-upgrade-my-plan-with-more-containers-to-prevent-queuing) for step-by-step instructions about upgrading your plan.
27+
## Upgrading
2628

29+
Refer to the [FAQ about upgrading]({{ site.baseurl }}/2.0/faq/#how-do-i-upgrade-my-plan-with-more-containers-to-prevent-queuing) for step-by-step instructions to upgrade your plan.

jekyll/_cci2/ssh-access-jobs.md

Lines changed: 10 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -13,35 +13,27 @@ This document describes how to access a build container using SSH on CircleCI 2.
1313
{:toc}
1414

1515
## Overview
16-
Often the best way to troubleshoot problems is to SSH into a job and inspect
17-
things like log files, running processes, and directory paths. CircleCI 2.0 gives you the option to access all jobs via SSH.
16+
Often the best way to troubleshoot problems is to SSH into a job and inspect things like log files, running processes, and directory paths. CircleCI 2.0 gives you the option to access all jobs via SSH. Read our [blog post](https://circleci.com/blog/debugging-ci-cd-pipelines-with-ssh-access/) on debugging CI/CD pipelines with SSH.
1817

1918
When you log in with SSH, you are running an interactive login shell. You are also likely to be running the command on top of the directory where the command failed the first time, so you are not starting a clean run. In contrast, CircleCI uses a non-interactive shell for running commands by default. Hence, steps run in interactive mode may succeed, while failing in non-interactive mode.
2019

2120
## Steps
2221

2322
1. Ensure that you have added an SSH key to your [GitHub](https://help.github.com/articles/adding-a-new-ssh-key-to-your-github-account/) or [Bitbucket](https://confluence.atlassian.com/bitbucket/set-up-an-ssh-key-728138079.html) account.
2423

25-
2. To start a job with SSH enabled, select the 'Rerun job with SSH' option from
26-
the 'Rerun Workflow' dropdown menu.
24+
2. To start a job with SSH enabled, select the 'Rerun job with SSH' option from the 'Rerun Workflow' dropdown menu.
2725

2826
3. To see the connection details, expand the 'Enable SSH' section in the job output where you will see the SSH command needed to connect:
29-
![SSH connection details](https://circleci-discourse.s3.amazonaws.com/optimized/2X/5/57f50e26ec245d0373c4265ec4375641553bdbdb_1_690x295.png)
27+
![SSH connection details](https://circleci-discourse.s3.amazonaws.com/optimized/2X/5/57f50e26ec245d0373c4265ec4375641553bdbdb_1_690x295.png)
3028
![SSH connection details](https://circleci-discourse.s3.amazonaws.com/optimized/2X/5/514e8aec3e8017dac8e8d401d22432026b473161_1_690x281.png)
3129

3230
The details are displayed again in the 'Wait for SSH' section at the end of the job.
3331

34-
4. SSH to the running job (using the same SSH key
35-
that you use for GitHub or Bitbucket) to perform whatever troubleshooting
36-
you need to.
32+
4. SSH to the running job (using the same SSH key that you use for GitHub or Bitbucket) to perform whatever troubleshooting you need to.
3733

38-
The build VM will remain available for an SSH connection for **10 minutes after the build
39-
finishes running** and then automatically shut down. (Or you can cancel it.) After you SSH
40-
into the build, the connection will remain open for **two hours**.
34+
The build VM will remain available for an SSH connection for **10 minutes after the build finishes running** and then automatically shut down. (Or you can cancel it.) After you SSH into the build, the connection will remain open for **two hours**.
4135

42-
**Note**: If your job has parallel steps, CircleCI launches more than one VM
43-
to perform them. Thus, you'll see more than one 'Enable SSH' and
44-
'Wait for SSH' section in the build output.
36+
**Note**: If your job has parallel steps, CircleCI launches more than one VM to perform them. Thus, you'll see more than one 'Enable SSH' and 'Wait for SSH' section in the build output.
4537

4638
## Debugging: "Permission denied (publickey)"
4739

@@ -51,11 +43,11 @@ these things:
5143
### Ensure Authentication With GitHub/Bitbucket
5244
{:.no_toc}
5345

54-
A single command can be used to test that your keys are set up as expected. For
46+
A single command can be used to test that your keys are set up as expected. For
5547
GitHub run:
5648

5749
```
58-
50+
5951
```
6052

6153
or for Bitbucket run:
@@ -67,13 +59,13 @@ ssh -Tv [email protected]
6759
and you should see:
6860

6961
```
70-
Hi :username! You've successfully authenticated...
62+
$ Hi :username! You've successfully authenticated...
7163
```
7264

7365
for GitHub or for Bitbucket:
7466

7567
```
76-
logged in as :username.
68+
$ logged in as :username.
7769
```
7870

7971
If you _don't_ see output like that, you need to start by

0 commit comments

Comments
 (0)