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
This example shows how you can use more granular orb commands to achieve what the link:https://circleci.com/developer/orbs/orb/circleci/android#commands-start-emulator-and-run-tests[start-emulator-and-run-tests] command does.
The following is an example of using the Android machine image, _without_ using the `circleci/android` link:https://circleci.com/developer/orbs/orb/circleci/android[orb]. These steps are similar to what is run when you use the link:https://circleci.com/developer/orbs/orb/circleci/android#jobs-run-ui-tests[`run-ui-tests` job] of the orb.
112
111
113
-
114
-
{% raw %}
115
112
```yaml
116
113
# .circleci/config.yml
117
114
version: 2.1
@@ -186,7 +183,6 @@ workflows:
186
183
jobs:
187
184
- build
188
185
```
189
-
{% endraw %}
190
186
191
187
[#using-the-android-image-on-server-v3x]
192
188
=== Using the Android image on server
@@ -210,7 +206,7 @@ It is also possible to use the Android orb, as shown above, for cloud. Your serv
210
206
211
207
This example shows how you can use granular orb commands to achieve what the link:https://circleci.com/developer/orbs/orb/circleci/android#commands-start-emulator-and-run-tests[start-emulator-and-run-tests] command does.
Copy file name to clipboardExpand all lines: jekyll/_cci2/artifacts.adoc
+8-9Lines changed: 8 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,6 @@ contentTags:
9
9
:experimental:
10
10
:icons: font
11
11
:page-layout: classic-docs
12
-
:page-liquid:
13
12
14
13
This document describes how to work with artifacts on CircleCI. Use artifacts to persist data after a job or pipeline has completed. For example building documents or other assets, or saving test results for further inspection.
15
14
@@ -20,15 +19,15 @@ Artifacts persist data after a job is completed and may be used for storage of t
20
19
21
20
For example, when a Java build/test process finishes, the output of the process is saved as a `.jar` file. CircleCI can store this file as an artifact, keeping it available after the process has finished.
22
21
23
-
image::{{site.baseurl}}/assets/img/docs/Diagram-v3-Artifact.png[Artifacts data flow]
22
+
image::Diagram-v3-Artifact.png[Artifacts data flow]
24
23
25
24
Another example of an artifact is a project that is packaged as an Android app where the `.apk` file is uploaded to Google Play.
26
25
27
26
If a job produces persistent artifacts such as screenshots, coverage reports, core files, or deployment tarballs, CircleCI can automatically save and link them for you.
28
27
29
-
Navigate to a pipeline's *Job* page on the link:https://app.circleci.com/[CircleCI web app] to find the *Artifacts* tab. Artifacts are stored on Amazon S3 and are protected with your CircleCI account for private projects. There is a 3GB `curl` file size limit.
28
+
Navigate to a pipeline's *Job* page on the link:https://app.circleci.com/[CircleCI web app] to find the *Artifacts* tab. Artifacts are stored on Amazon S3 and are protected with your CircleCI account for private projects. cURL file size is limited o 3GB.
By default, artifact storage duration is set to 30 days. This can be customized on the link:https://app.circleci.com/[CircleCI web app] by navigating to menu:Plan[Usage Controls]. Currently, 30 days is also the maximum storage duration you can set.
34
33
@@ -43,7 +42,7 @@ If you need to restrict the connections allowed in your jobs, consider enabling
43
42
44
43
To upload artifacts created during builds, use the following example:
45
44
46
-
{% includesnippets/docker-auth.adoc %}
45
+
include::../_includes/snippets/docker-auth.adoc[]
47
46
48
47
[,yaml]
49
48
----
@@ -70,7 +69,7 @@ jobs:
70
69
path: /tmp/artifacts
71
70
----
72
71
73
-
The `store_artifacts` step uploads two build artifacts: a file (`/tmp/artifact-1`) and a directory (`/tmp/artifacts`). After the artifacts successfully upload, view them in the *Artifacts* tab of the *Job* page in your browser. If you are uploading hundreds of artifacts, then consider link:https://support.circleci.com/hc/en-us/articles/360024275534?input_string=store_artifacts+step[compressing and uploading as a single compressed file] to accelerate this step. There is no limit on the number of `store_artifacts` steps a job can run.
72
+
The `store_artifacts` step uploads two build artifacts: a file (`/tmp/artifact-1`) and a directory (`/tmp/artifacts`). After the artifacts successfully upload, view them in the *Artifacts* tab of the *Job* page in your browser. If you are uploading hundreds of artifacts, then consider link:https://support.circleci.com/hc/en-us/articles/360024275534?input_string=store_artifacts+step[compressing and uploading as a single compressed file] to accelerate this step. `store_artifacts` steps for a job are unlimited.
74
73
75
74
Currently, `store_artifacts` has two keys: `path` and `destination`.
76
75
@@ -133,7 +132,7 @@ The `ulimit -c unlimited` removes the file size limit on core dump files. With t
133
132
134
133
Finally, the core dump files are stored to the artifacts service with `store_artifacts` in the `/tmp/core_dumps` directory.
135
134
136
-
image::{{ site.baseurl }}/assets/img/docs/core_dumps.png[Core dump file in Artifacts page]
135
+
image::core_dumps.png[Core dump file in Artifacts page]
137
136
138
137
When CircleCI runs a job, a link to the core dump file appears in the *Artifacts* tab of the *Job* page.
139
138
@@ -215,11 +214,11 @@ You can read more about using CircleCI's API to interact with artifacts in our l
215
214
[#artifacts-and-self-hosted-runner]
216
215
== Artifact storage customization
217
216
218
-
When using self-hosted runners, there is a network and storage usage limit included in your plan. There are certain actions related to artifacts that will accrue network and storage usage. Once your usage exceeds your limit, charges will apply.
217
+
When using self-hosted runners, there is a network and storage usage limit included in your plan. Some actions related to artifacts that will accrue network and storage usage. Once your usage exceeds your limit, charges will apply.
219
218
220
219
Retaining an artifact for a long period of time will have storage cost implications, therefore, it is best to determine why you are retaining artifacts. One benefit of retaining an artifact might be so you can use it to troubleshoot why a build is failing. Once the build passes, the artifact is likely not needed. Setting a low storage retention for artifacts is recommended if this suits your needs.
221
220
222
-
You can customize storage usage retention periods for artifacts on the https://app.circleci.com/[CircleCI web app] by navigating to menu:Plan[Usage Controls]. For information on managing network and storage usage, see the link:{{site.baseurl}}/persist-data/#managing-network-and-storage-usage[Persisting Data] page.
221
+
You can customize storage usage retention periods for artifacts on the https://app.circleci.com/[CircleCI web app] by navigating to menu:Plan[Usage Controls]. For information on managing network and storage usage, see the xref:persist-data#managing-network-and-storage-usage[Persisting Data] page.
Copy file name to clipboardExpand all lines: jekyll/_cci2/building-docker-images.adoc
+3-4Lines changed: 3 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,6 @@ contentTags:
9
9
:experimental:
10
10
:icons: font
11
11
:page-layout: classic-docs
12
-
:page-liquid:
13
12
14
13
Use the remote Docker environment to build Docker images within the Docker execution environment.
15
14
@@ -22,7 +21,7 @@ NOTE: The _remote_ in "remote Docker" is a legacy term from when remote Docker u
22
21
23
22
To build Docker images (for example, using `docker` or `docker compose` commands) when using the Docker execution environment, you must use the `setup_remote_docker` key in your job:
24
23
25
-
{% includesnippets/docker-auth.adoc %}
24
+
include::../_includes/snippets/docker-auth.adoc[]
26
25
27
26
[,yaml]
28
27
----
@@ -39,7 +38,7 @@ Using `setup_remote_docker` for a job means that all Docker commands execute loc
39
38
40
39
In the CircleCI web app, jobs that run in the remote Docker environment have the **Remote Docker** label, as follows:
CAUTION: Only use `setup_remote_docker` key for jobs where your primary executor _is_ a Docker container. If your job uses a VM rather than a container (for example, your executor is `machine`) you do *not* need to use the `setup_remote_docker` key. For an example, see <<run-docker-commands-using-the-machine-executor,Run Docker commands using the `machine` executor>>.
45
44
@@ -129,7 +128,7 @@ To optionally specify a Docker version, you can set it as a `version` attribute
129
128
version: edge
130
129
----
131
130
132
-
CircleCI supports the tags listed below for remote Docker, as per our link:{{site.baseurl}}/remote-docker-images-support-policy/#tagging[Remote Docker tagging policy].
131
+
CircleCI supports the tags listed below for remote Docker, as per our xref:remote-docker-images-support-policy#tagging[Remote Docker tagging policy].
133
132
134
133
For *x86* and *Arm* architecture, the following tags are available:
0 commit comments