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

feat: add git "tag" value to CFS configuration layers #13

Closed
Masber opened this issue Feb 2, 2024 · 0 comments
Closed

feat: add git "tag" value to CFS configuration layers #13

Masber opened this issue Feb 2, 2024 · 0 comments

Comments

@Masber
Copy link
Collaborator

Masber commented Feb 2, 2024

At the moment CSM does not support the possibility of using git tags to assign commit ids to CFS configuration layers, this is an issue because it forces users to use commits if they want to have inmutable CFS configuration layers or mutable by using the most recent commit if CFS configuration is updated.
A proposal is to add a new git tag support for CFS configuration layers.
Upon CFS configuration creation, if tag is defined for a CFS configuration layer, then, manta/mesa will check if that layer exists in gitea, fetch its commit id and assign it to the CFS configuration layer.
If both branch and tag are defined, then, the application should crash.

Tasks:
Add tag to CFS configuration layer to mesa struct
get gitea commit id related to git tag and assign commit i to cfs configuraion layer.
repeat previous step for all CFS configuration layers
If any layer fails, then, cancel transaction, otherwise create CFs configuration

@Masber Masber changed the title add git "tag" value to CFS configuration layers feat: add git "tag" value to CFS configuration layers Feb 9, 2024
@Masber Masber closed this as completed Feb 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant