-
Notifications
You must be signed in to change notification settings - Fork 1k
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
CI: yaml-test-generation trigger #928
Comments
How do you want to release tests upon formal releases? Just manually? How do you want to handle the case where a bug is fixed in master and back-ported to dev? In this case we would want to release tests against the master which might have no dev counterpart |
Create a release (annotated signed git tag) on the tests repo, on the master branch. Yes, manually. It's a very small task, that only repeats every ~2-3 weeks.
We can make it work like this:
Workflow:
|
See PR #968 |
Outdated. We've different configurations/modes now. CI runs tests, and state-transition generators are unified, so no need to run for ensuring that they work, as the they are already running in test-mode. The few other generators don't change as much. It's trade-offs around, but it works, and gets us fast CI, and working large size test-vector generation. Closing this issue. |
To make good use of the test-generation from #851, we need to output the generated tests to an repository. Similar to the
eth2.0-test-generators -> eth2.0-tests
workflow, but with the following improvements:vA.B.C
), and an extra numberX
based on any changes in the generation of tests. Proposed format:vA.B.C-genX
example:v0.6.1-gen2
. Clients can safely upgrade from onegen
to another ifA.B.C
is still the same. I.e. tests are improved/extended, without functionality changes.What to implement:
eth2.0-spec-tests
eth2.0-tests
andeth2.0-test-generators
repositorieseth2.0-test-generators
:eth2.0-tests
is just deprecated. The new format is not that different when you look at existing features, but improves structuring, and scales better to larger amounts of testseth2.0-specs/dev
intoeth2.0-specs/test-gen
:make gen_yaml_tests
eth2.0-spec-tests/master
(git commit, LFS is automatic if activated correctly)eth2.0-spec-tests
repository. It's just a matter ofgit tag -S -a v1.2.3-gen4 && git push v1.2.3-gen4
I believe this
test-gen
branch based trigger works best, as it does not create a dependency on the release cycle, and makes it easy to re-trigger in case of a problem. Themaster
branch on theeth2.0-spec-tests
repository will just not be as frozen as the one in the specs. We'll have spec-tests releases anyway, so that doesn't matter.The text was updated successfully, but these errors were encountered: