GitLab Component Integration
How to integrate DoesQA into your GitLab CI/CD processes
Installing the Component
How to Use as a CI/CD Catalog Component
Include the component in your
.gitlab-ci.yml
:
include:
- component: gitlab.com/doesqa/doesqa-gitlab-cicd/[email protected]
inputs:
DOESQA_COMPONENT_VERSION: "2.0.0" # Must match the tag above
DOESQA_KEY: "$DOESQA_KEY"
DOESQA_ACCOUNT_ID: "$DOESQA_ACCOUNT_ID"
DOESQA_LABEL: "Nightly Test Run"
DOESQA_WITHALL: "tag1,tag2"
DOESQA_WITHOUTANY: "wip"
DOESQA_VALUES: '{"URL": "https://example.com"}'
DOESQA_WAIT: "true"
DOESQA_TIMEOUT: "1800"
DOESQA_CONCURRENCY: "20"
DOESQA_RECIPE: "4sJz2"
DOESQA_TESTSTAGGED: "priority"
Check https://gitlab.com/doesqa/doesqa-gitlab-cicd/-/releases for the latest production version.
Set sensitive variables (like
DOESQA_KEY
) in your project’s CI/CD settings.
Inputs
DOESQA_KEY
Your DoesQA CI/CD key
Yes
$DOESQA_KEY
DOESQA_ACCOUNT_ID
Your DoesQA Account ID
Yes
$DOESQA_ACCOUNT_ID
DOESQA_COMPONENT_VERSION
The version/tag of the component to use (e.g., 2.0.0)
Yes
2.0.0
DOESQA_LABEL
Label for the test run
No
Nightly Test Run
DOESQA_WITHALL
Flow Tags to include
No
tag1,tag2
DOESQA_WITHOUTANY
Any Flow Tags to exclude
No
wip
DOESQA_VALUES
Values to pass to the test run
No
{"URL": "https://example.com"}
DOESQA_WAIT
Wait for the test run to complete
No
true
DOESQA_TIMEOUT
Timeout in seconds
No
1800
DOESQA_CONCURRENCY
Number of concurrent tests to run
No
20
DOESQA_RECIPE
Recipe to use for the test run (ID)
No
4sJz2
DOESQA_TESTSTAGGED
Run only tests tagged with the specified tag within the flows
No
priority
Last updated