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
Copy file name to clipboardExpand all lines: jekyll/_cci2/containers.md
+9-6Lines changed: 9 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -5,22 +5,25 @@ categories: [how-to]
5
5
description: How to leverage CircleCI containers
6
6
---
7
7
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.
9
9
10
10
## Overview
11
11
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:
13
13
14
14
-**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/)
15
15
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).
16
16
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.
18
18
19
19
## Getting Started
20
20
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.
22
22
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.
24
26
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
26
28
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.
Copy file name to clipboardExpand all lines: jekyll/_cci2/ssh-access-jobs.md
+10-18Lines changed: 10 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -13,35 +13,27 @@ This document describes how to access a build container using SSH on CircleCI 2.
13
13
{:toc}
14
14
15
15
## 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.
18
17
19
18
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.
20
19
21
20
## Steps
22
21
23
22
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.
24
23
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.
27
25
28
26
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:
The details are displayed again in the 'Wait for SSH' section at the end of the job.
33
31
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.
37
33
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**.
41
35
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.
45
37
46
38
## Debugging: "Permission denied (publickey)"
47
39
@@ -51,11 +43,11 @@ these things:
51
43
### Ensure Authentication With GitHub/Bitbucket
52
44
{:.no_toc}
53
45
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
0 commit comments