Skip to content

Automation that detects when a new service is added to the provider and prompts adding the new service to the .ci/infra/terraform folder #16728

Open
@SarahFrench

Description

@SarahFrench

Background

Services need to be enables in test projects when they are first tested. As adding new services to the provider is rare it's easy for people to overlook enabling APIs in the nightly testing projects.

I think we should make an automated reminder on PRs if a new service is added. This could be detected by a user adding a new directory in the services folder.

Alternatively, we could have a check on main branch that checks if all services present in the YAML have matching entries in the list of services in this file : https://github.com/GoogleCloudPlatform/magic-modules/blob/main/.ci/infra/terraform/main.tf

What kind of contribution is this issue about?

  • general contributions
  • nightly testing

Related PR(s), if any:

Details

This may be something that can be pulled into future work about controlling our testing projects via Terraform more fully.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions