|
1 | | - # realitycheck |
2 | | -A sample app that reality-checks some basic features on your installation of CircleCI: |
3 | | -1. Runs jobs using all known `resource_class` options (*NOTE:* your build instances must be large enough to accomodate these options—see our [Configuration Reference](https://circleci.com/docs/2.0/configuration-reference/#resource_class) for details) |
4 | | -2. Runs [machine executor](https://circleci.com/docs/2.0/executor-types/#using-machine) & [remote Docker](https://circleci.com/docs/2.0/building-docker-images) jobs, both with and without [Docker Layer Caching](https://circleci.com/docs/2.0/docker-layer-caching) |
5 | | -3. Tests writing to and reading from [workspaces](https://circleci.com/docs/2.0/workflows/#using-workspaces-to-share-data-among-jobs) |
6 | | -4. Tests the default `org-global` [context](https://circleci.com/docs/2.0/contexts) (*NOTE:* needs a key called `CONTEXT_END_TO_END_TEST_VAR` to exist in the `org-global` context), along with one additional context (likewise needs a key called `MULTI_CONTEXT_END_TO_END_VAR` to exist in an `individual-local` context) |
7 | | -5. Tests upload/storage of [artifacts](https://circleci.com/docs/2.0/artifacts) and [test results](https://circleci.com/docs/2.0/collect-test-data) |
| 1 | +# realitycheck |
8 | 2 |
|
9 | | -To run realitycheck, fork the repository and start building it on your installation of CircleCI. |
| 3 | +A sample app that validates some basic CircleCI features in three parallel workflows. |
10 | 4 |
|
11 | | -If you have more ideas for things that should tested, please submit a PR against the open-source repository on GitHub where this project is maintained: <https://github.com/circleci/realitycheck> |
| 5 | +To run realitycheck, fork the repository and start building it on your installation of CircleCI. See [Using realitycheck to validate your CircleCI installation](https://support.circleci.com/hc/en-us/articles/360011235534), in the CircleCI Support Center, for details on forking the project and building it on your CircleCI installation. |
| 6 | + |
| 7 | +Descriptions of the three workflows follow. |
| 8 | + |
| 9 | +### `resource_class` workflow |
| 10 | + |
| 11 | +Tests all known `resource_class` options—queries the CircleCI API to verify that jobs ran with the requested resources. |
| 12 | + |
| 13 | +- Your instances must be large enough to accommodate these options—see our [Configuration Reference](https://circleci.com/docs/2.0/configuration-reference/#resource_class) for details |
| 14 | +- The base URL of your CircleCI installation (e.g. https://circleci.com) must be specified via a `CIRCLE_HOSTNAME` project environment variable |
| 15 | +- A personal API token (see `CIRCLE_HOSTNAME/account/api` URL endpoint) must be stored as a `CIRCLE_TOKEN` project environment variable |
| 16 | + |
| 17 | + |
| 18 | +### VM service workflow |
| 19 | + |
| 20 | +Tests the functionality of the [`machine` executor](https://circleci.com/docs/2.0/executor-types/#using-machine), [Remote Docker Environment](https://circleci.com/docs/2.0/building-docker-images), and [Docker Layer Caching](https://circleci.com/docs/2.0/docker-layer-caching). |
| 21 | + |
| 22 | + |
| 23 | +### Features workflow |
| 24 | + |
| 25 | +- Tests ability to save and restore [caches](circleci.com/docs/2.0/caching) |
| 26 | +- Tests writing to and reading from [workspaces](https://circleci.com/docs/2.0/workflows/#using-workspaces-to-share-data-among-jobs) |
| 27 | +- Tests the default `org-global` [context](https://circleci.com/docs/2.0/contexts) (*NOTE:* needs a key called `CONTEXT_END_TO_END_TEST_VAR` to exist in a context called `org-global`) |
| 28 | +- Tests multiple contexts (*NOTE:* needs a key called `MULTI_CONTEXT_END_TO_END_VAR` to exist in a context called `individual-local`) |
| 29 | +- Tests upload/storage of [artifacts](https://circleci.com/docs/2.0/artifacts) and [test results](https://circleci.com/docs/2.0/collect-test-data) |
| 30 | + |
| 31 | + |
| 32 | +## Contributing |
| 33 | + |
| 34 | +If you have more ideas for things that should tested, please submit a PR against the open-source repository on GitHub where this project is maintained: <https://github.com/circleci/realitycheck>. |
12 | 35 |
|
13 | 36 | See the current CI status of the main repo at <https://circleci.com/gh/circleci/workflows/realitycheck>. |
14 | 37 |
|
|
0 commit comments