Skip to content

bug: Import error due to invalid .infrahub.yml extension #6989

@FragmentedPacket

Description

@FragmentedPacket

Component

Git Integration

Infrahub version

1.3.5

Current Behavior

When the Infrahub repository config file has the file extension set as yaml rather than yml, the sync status changes to Import Error, but there is no error message in any tasks to indicate it failed or why.

Image

Expected Behavior

If .yaml file extension is not supported, to provide an error message in the sync task of a Git repository for a user to understand why the sync/import failed.

Steps to Reproduce

  1. Load fresh instance
  2. Create git repository with a .infrahub.yaml file
  3. Add repository to Infrahub and see the Sync Status gets set to Import Error

Additional Information

No response

Metadata

Metadata

Assignees

Labels

type/bugSomething isn't working as expected

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions