/ods-quickstarters

Contains project quickstarters (boilerplates) for Nginx, Go, Java (Spring Boot), Python (Flask), Rust (Axum), Scala (Play), TypeScript (Express), Angular, Ionic, Jupyter, RShiny - all including CI/CD integration & Jenkins build agents

Primary LanguageShellApache License 2.0Apache-2.0

ODS Quickstarters

Introduction

This repository contains quickstarters, which are basically boilerplates that help to start out with a component quickly.

Documentation

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.

Tests

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:

  1. Create the bitbucket repository for the quickstarter
  2. Start the provisioning of a quickstarter via the webhook proxy
  3. Verify expected stages against the actual stages execute in Jenkins
  4. Trigger a jenkins build run instance (for the provisioned component)
  5. Verify expected stages against the actual stages execute in Jenkins
  6. Verify the created OpenShift artifacts, and if pods are available

Running the tests

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.