-
Notifications
You must be signed in to change notification settings - Fork 449
Individual module git tags #1034
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
Individual module git tags #1034
Conversation
This makes it so that individual modules in the tracee repo are properly tagged so that consumers can get versions of the individual modules instead of only git commits. Signed-off-by: grantseltzer <grantseltzer@gmail.com>
@simar7 Could you take a look at this? I'd like to implement this for the release i'll cut at end of week. |
Just trying to piece it together: IIUC, this is the end result: https://github.com/grantseltzer/tracee/releases The tags are essentially over the entire tracee repo but just include a subset of changes in their respective projects (e.g. tracee-rules, tracee-ebpf, etc?) Is my understanding correct? If so how does the consumer pick them up? I see https://github.com/grantseltzer/test-tracee-mod/blob/main/go.mod#L5-L9 uses the versions of |
Correct
The tags are exactly the same except for their names. If you navigate to the code in tracee-ebpf/v1.6.9 and tracee-rules/v1.6.9, it's the exact same git tree. The multiple tags are created so that
|
Doesn't seem to be doing the trick:
I have a feeling it might work with a tag like |
I'm sorry I messed that up, I meant to write |
Oh yeah sorry about that I didn't notice that. Yeah it seems good to me, I could pull down that specific version.
For my understanding, how does
And for inst 8000 ance if we look at one of such commits:
Where are those multiple tags created? It's certainly a gap in my knowledge I'd like to supplement. But other than this lgtm. |
Those were created manually, I can't test the build deployment pipeline locally unfortunately. Here's the documentation I follow: |
Yeah that looks good. I just didn't see the tags pushed up remotely when I downloaded the repo so was curious but if we can tag and push them its good! |
This makes it so that individual modules in the tracee repo are properly tagged so that consumers can get versions of the individual modules instead of only git commits.
I've tested this with my personal fork here: https://github.com/grantseltzer/tracee
with a consumer here: https://github.com/grantseltzer/test-tracee-mod
Signed-off-by: grantseltzer grantseltzer@gmail.com