-
Notifications
You must be signed in to change notification settings - Fork 0
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
Open PRs to associated ACCESS-NRI/<model>-configs
repo upon Pre/Release
#62
Comments
Yes that is very relevant. If/when we start using |
You mean there isn't a consistent naming scheme? The ESM1.5 configs repo is I think that is consistent with
I suppose. Or a team, which we could then add or remove people from depending on the requirements of their role. |
I'd like something that was a bit more explicit about the purpose of the "command". e.g.
are possibilities. I'm not sold of any of them TBH, so suggestions welcome. We could have an associated repo defined, either in a config file, or in an environment var? In some ways that might be desirable, to limit the possible annoyance of setting of PRs to unrelated repos, either maliciously or accidentally. I imagine something like this for the actual command:
It's a good point, and potentially a pitfall of the architecture we've chosen with separate I think it's reasonable to push directly to Another option is to be able to invoke the repro tests directly from any branch using a comment command. This might be a desirable feature in any case. For the test I was about to do for the update software stack, I'd like to test that before merging into |
Yes automating much of this drudge work should be a goal. I think on merge it is reasonable to expect the configurations would be updated at that point. If we did have some configuration file(s) for this then the "associated configs" could be defined there, either an explicit and/or regex to match branches against. |
I had a thought: it might make sense to have the workflow to update a configuration callable from the configuration repository. It would make it easy then to update a configuration to the latest model version in any branch just with a comment command. Knowing which model repo is required can be determined by inspection of the Then automatically updating configurations based on a new release would involve creating a branch for each config and adding the update comment command. |
It's a lot of work, opening PRs to update
exe
paths in a models<model>-configs
repository - especially if you are doing Prereleases. We should make this somewhat automated.Solution Space:
Prerelease
model builds that do have an associated<model>-configs
repo - allow a new comment command!configs config...
that opens PRs intodev-<config>
for each config. This will also set off the associated QA checks, but NOT repro checks. We might want to open PRs fromdev-<config>
intorelease-<config>
, but that could be computationally expensive, and would require an admin PAT to bypass thebranch
->dev
->release
pipeline we have going. As it stands now, we might need a PAT that is able to open new PRs across repos, that will also trigger associated workflows.Prerelease
model builds that do NOT have an associated<model>-configs
repo - maybe just leave a comment saying to link up aconfigs
repo?Release
model builds that do have an associated<model>-configs
repo - on merge, should we automatically open PRs to all associated configs? At that point, people might not have to do config PRs at all.Release
model builds that do NOT have an associated<model>-configs
repo - do nothing. Leave it to the humans!Things to note:
<model>-configs
repo? For example,access-esm-configs
doesn't match perfectly withaccess-esm-1.5
. This might have to be a model-specific config item.References ACCESS-NRI/ACCESS-OM2#60 (comment)
The text was updated successfully, but these errors were encountered: