This repository contains quickstarters, which are basically boilerplates that help to start out with a component quickly.
See OpenDevStack Quickstarters for details.
The source of this documentation is located in the antora folder at https://github.com/opendevstack/ods-quickstarters/tree/master/docs/modules/quickstarters/pages.
All tests of quickstarters follow the same scheme. The test information is located in the testdata
directory of each quickstarter. The file steps.yml
describes the test steps to execute, and may reference files relative to the testdata
directory (typically golden files located in testdata/golden
).
The test logic and the available steps are located in ods-core.
Generally, a quickstarter test is made up out of the following:
- Create the bitbucket repository for the quickstarter
- Start the provisioning of a quickstarter via the webhook proxy
- Verify expected stages against the actual stages execute in Jenkins
- Trigger a jenkins build run instance (for the provisioned component)
- Verify expected stages against the actual stages execute in Jenkins
- Verify the created OpenShift artifacts, and if pods are available
Run make test-quickstarter
from the ods-core
directory. By default this will run a test of all quickstarters in this repository. Single quickstarters can be tested via make test-quickstarter QS=be-golang-plain
.