-
Notifications
You must be signed in to change notification settings - Fork 70
Task to bump tracked submodule version and check submodule tracked branch #721
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
Conversation
| new_ver = ver | ||
| bump_faasm_ver = (not python) and (not cpp) | ||
| if bump_faasm_ver: | ||
| old_ver = get_version() |
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.
Faasm's bumping logic is the same, just indented.
| runs-on: ubuntu-latest | ||
| container: | ||
| image: faasm/cpp-sysroot:0.2.0 | ||
| image: faasm/cpp-sysroot:0.2.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.
The motivation for this PR is that I realised that these versions were out of sync, and I have been forgetting often lately 🤦
9515b1c to
d8820f0
Compare
d8820f0 to
f25fb80
Compare
56cd596 to
4ca6399
Compare
4ca6399 to
cd66e57
Compare
We want to make sure that the value of
./clients/[python,cpp]/VERSIONis the same than the one we use (i) in the gha file, and (ii) indocker compose(and transitively in thequick-starttests).This PR adds:
I include the new check in the old
formattingjob, that I now re-factor tochecks.Whilst I am at it, I also include a check that makes sure that all submodules point to the
mainbranch. On the down side, this means that a PR spanning multiple repos (as it happens often) will never be fully green until all submodules have been merged in. On the up side, this will prevent the very frequent issue of forgetting to update the branch after merge, which is quite non-intuitive.