Skip to content

testing: add unittest performing schema validation of example cloud-config in doc/ *.txt #3675

@ubuntu-server-builder

Description

@ubuntu-server-builder

This bug was originally filed in Launchpad as LP: #1876414

Launchpad details
affected_projects = []
assignee = falcojr
assignee_name = James Falcon
date_closed = 2020-08-25T19:31:27.680096+00:00
date_created = 2020-05-02T02:57:18.076127+00:00
date_fix_committed = 2020-05-11T15:28:45.643271+00:00
date_fix_released = 2020-08-25T19:31:27.680096+00:00
id = 1876414
importance = undecided
is_complete = True
lp_url = https://bugs.launchpad.net/cloud-init/+bug/1876414
milestone = None
owner = chad.smith
owner_name = Chad Smith
private = False
status = fix_released
submitter = chad.smith
submitter_name = Chad Smith
tags = ['bitesize']
duplicates = []

Launchpad user Chad Smith(chad.smith) wrote on 2020-05-02T02:57:18.076127+00:00

We have 47-ish documentation examples of useful cloud-config in doc/examples/*txt.

We need to ensure each cloud-config example contains the necessary #cloud-config header and
add a unit tests which will run cloudinit.config.schema:validate_cloudconfig_schema over all those examples to make sure none or our doc suggestions raise SchemaValidationErrors.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions