-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[tasks] Go modules RFC release tooling #7527
Conversation
Some runners do not have a sufficiently new Python version
|
||
* --commit COMMIT will tag COMMIT with the tags (default HEAD) | ||
* --verify checks for correctness on the Agent version (on by default). | ||
* --push will push the tags to the origin remote (on by default). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be on by default? I think it's fine (the worst that can happen is an artifact on the staging repo) but we can have it off by default.
if self.path == ".": | ||
return ["6" + agent_version[1:], "7" + agent_version[1:]] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We always return Agent 6 and Agent 7 tags. Do we want to have an option for releases that are just for one of them?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can leave it like this for now. We can change it when we decouple the release cycles of A6 and A7 in the future.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
if self.path == ".": | ||
return "v" + agent_version | ||
|
||
return "v0" + agent_version[1:] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Breaks for Agent 10 :P
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we will catch that when the time comes 😄
if self.path == ".": | ||
return ["6" + agent_version[1:], "7" + agent_version[1:]] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can leave it like this for now. We can change it when we decouple the release cycles of A6 and A7 in the future.
What does this PR do?
GoModule
to its own fileupdate_module
andtag_version
tasks to respectively update inter-module dependencies and tag versions.Open questions
push
be on by default?Motivation
Additional Notes
update_modules
is a no-op andtag_version
only tags the main module with the 6 and 7 version tags.Describe your test plan