generator-services

command
v1.44.1-0...-2cd6497 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 25, 2024 License: MPL-2.0 Imports: 10 Imported by: 0

README

Generator: Services

Each Service Definition contains metadata (such as the Display Name & Website Categories) required in other parts of the codebase, for easier grouping.

This generator takes that metadata and uses it to generate two things:

  1. Website Categories - which validates the categories used in the website exist, required for website deployments to happen.
  2. Service Definitions - generates the list of services used to run the Acceptance Tests
  3. GitHub Labels - generates the list of tags which should be assigned to a pull request when files within this path are changed.

This is run via go:generate whenever the "SupportedServices" array is changed so that this is kept up-to-date.

Example Usage

go run main.go -path=../../path/to/root-directory

Arguments

  • help - Show help?

  • path - The Relative Path to the root of the repository

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL