-
Notifications
You must be signed in to change notification settings - Fork 19
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: Use lockfiles to control cached venv #1238
Conversation
6e3c7ce
to
bba7e76
Compare
bba7e76
to
0e93fd2
Compare
Coverage Report for backend
|
d7889ba
to
a0df7fa
Compare
a0df7fa
to
2ae655c
Compare
5fca264
to
20ea33d
Compare
20ea33d
to
9b851f3
Compare
311472a
to
7d92c37
Compare
62e8daf
to
7369182
Compare
7369182
to
e09c65e
Compare
To be honest I do not fully understand what is going on here. This definitely needs an ADR, hence enlarging the scope of #1066. |
0f46574
to
c61f0ca
Compare
c61f0ca
to
fa59a38
Compare
a1d0aa4
to
6ef9293
Compare
I have written two ADRs. Hope it helps you to understand the context of this PR. |
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.
Sounds good to me thanks @thomass-dev for the documentation.
LGTM !
We may need another ADR to globally explain all the CI actions and workflows but this should be done in another PR obviously.
Closes #1146 .
This PR intends to fix all the dependencies used in the CI in multiple
test-requirements.txt
files, in a fully automated way.It ensures that between two runs, the CI can't break because of a dependency update.
It bases the pipelines cache on these files.
On the other hand, it makes it easier to update the versions of the dependencies used in the CI.
Currently, the versions are updated only if someone updates the
pyproject.toml
file, or if the CI cache is purged by hand.It will be now automatically updated each week by
dependabot
, in a pull-request.This PR updates the
dependabot
configuration, but I can't be sure it works before the merge. If not, we can easily create acron
pipeline calling the newpip-compile.sh
script.This PR adds a new backend test ensuring that
test-requirements.txt
files are regenerated whenrequirements.in
ortest-requirements.in
is modified.