Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: Updating Artifact Definition targets in .infrahub.yml not sync in Infrahub #5060

Closed
BeArchiTek opened this issue Nov 26, 2024 · 0 comments · Fixed by #5101
Closed

bug: Updating Artifact Definition targets in .infrahub.yml not sync in Infrahub #5060

BeArchiTek opened this issue Nov 26, 2024 · 0 comments · Fixed by #5101
Assignees
Labels
group/backend Issue related to the backend (API Server, Git Agent) type/bug Something isn't working as expected

Comments

@BeArchiTek
Copy link
Contributor

BeArchiTek commented Nov 26, 2024

Component

Git Integration

Infrahub version

1.0.7

Current Behavior

When updating the targets field of an artifact definition in a .infrahub.yml file located in a repository linked to Infrahub, the changes are not reflected in Infrahub, even after manually re-syncing the repository.

Expected Behavior

The target is update in infrahub or the sync should indicated an error

Steps to Reproduce

  1. Load the demo-schema and demo-data

  2. Add your git credentials and fork of [https://github.com/opsmill/infrahub-demo-edge|https://github.com/opsmill/infrahub-demo-edge] as CoreRepository in infrahub

  3. Wait for the sync to be finished

  4. Update the targets of one of the artifact definition in infrahub.yml file in Git

  5. Resync the repository

  6. Check the Artifact definition in the UI and see that the targets is not updated

Additional Information

No response

@BeArchiTek BeArchiTek added the type/bug Something isn't working as expected label Nov 26, 2024
@dgarros dgarros added the group/backend Issue related to the backend (API Server, Git Agent) label Nov 27, 2024
@ogenstad ogenstad added this to the Infrahub - 1.0.x milestone Nov 28, 2024
ogenstad added a commit that referenced this issue Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
group/backend Issue related to the backend (API Server, Git Agent) type/bug Something isn't working as expected
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants