Devtron Docs
Website
Github Repo
Join Discord
Twitter
Search…
Overview
Devtron
Setup
User Guide
Creating Application
Git Repository
Docker Build Configuration
Deployment Template
Workflow
CI Pipeline
CI Pipeline (Legacy)
Automated test suite integration in CI
CD Pipeline
Config Maps
Secrets
Environment Overrides
Application Metrics
Application Details
Cloning Application
Deploying Application
Deploy Chart
Debugging Deployment And Monitoring
Namespaces And Environments
Security Features
Deleting Application
Bulk Update
Command Bar
Use Cases
Telemetry Overview
FAQs & Troubleshooting
Powered By
GitBook
Automated test suite integration in CI
Users can run the test case using the Devtron dashboard or by including the test cases in the devtron.ci.yaml file in the source git repository. For reference, check:
https://github.com/kumarnishant/getting-started-nodejs/blob/master/devtron-ci.yaml
The test cases given in the script will run before the test cases given in the devtron.ci.yaml
Field
Description
version
specify the version of yaml
appliesTo
applies the changes to a specified branch
type
branch type on which changes are to be applied, it can be
BRANCH_FIXED
or
TAG_PATTERN
value
branch name on which changes are to be applied, it can take a value as the name of branch (“master”) or as a regular expression ("%d.%d.%d-rc")
script
A script which you want to execute, you can also execute the docker commands here
beforeDockerBuildStages
script to run before the docker build step
afterDockerBuildStages
script to run after the docker build step
outputLocation
The location where you want to see the output of the report of Test cases
Previous
CI Pipeline (Legacy)
Next
CD Pipeline
Last modified
2mo ago
Export as PDF
Copy link