The diag orb is intented to serve two purposes.
-
Help guide people using CircleCI to solve problems and optimize their configurations.
-
Help surface and collect information so CircleCI engineers can help solve problems.
Reference the orb in your config.yml. 2.1 Build Processing must be enabled on the project. Check the bottom of your Advanced Settings
section in your project settings.
orbs:
diag: fernfernfern/diag@dev:volatile
The diag orb is intended to be applied as pre-steps
and post-steps
in most cases. Always include diag/post-steps
to collect results generated in pre-steps
.
workflows:
my-workflow:
jobs:
- my-super-neat-job:
pre-steps:
- diag/env-report
post-steps:
- diag/post-steps
The commands below are indended to be added as pre-steps
for jobs you'd like to investigate.
Generate a report of various kinds of enviroment information. Helpful to find out what packages are install in the enviroment.
Start top as a background process that appends output to a file. Helpful to see memory consumption and process lifecycle over the duration of a job
Create sample test junit output for Test Summary report. Helpful if you want to sanity check if test data collection is working. Pass upload: true
to have it automatically run store_test_results
.
daig/sample-test-data:
upload: true