[Piuparts-devel] [Git][debian/piuparts][phahn/docker-fixes] 24 commits: Introduce basic salsa-ci config

Nicolas Dandrimont (@olasd) gitlab at salsa.debian.org
Sat Jan 13 11:27:44 GMT 2024



Nicolas Dandrimont pushed to branch phahn/docker-fixes at Debian / piuparts


Commits:
792ffbac by Nicolas Dandrimont at 2023-11-23T11:22:58+00:00
Introduce basic salsa-ci config

- - - - -
01b2cfa8 by Nicolas Dandrimont at 2023-11-23T11:22:58+00:00
Enable diffoscope on salsa-ci reprotest

- - - - -
c085e616 by Nicolas Dandrimont at 2023-11-23T11:22:58+00:00
Split salsaci overrides for different stages

- - - - -
b2a1c1ba by Nicolas Dandrimont at 2023-11-23T11:24:25+00:00
Configure (and run) isort, black and flake8

- - - - -
c1981ef8 by Nicolas Dandrimont at 2023-11-23T11:24:27+00:00
Create a docker image for linting

- - - - -
87ee24bd by Nicolas Dandrimont at 2023-11-23T11:24:27+00:00
Introduce codequality report for flake8

- - - - -
ba37756a by Nicolas Dandrimont at 2023-11-23T11:24:27+00:00
gitlab-ci: Run Black

- - - - -
d30548e1 by Nicolas Dandrimont at 2023-11-23T11:24:27+00:00
gitlab-ci: Run mypy

- - - - -
3e70bf9b by Nicolas Dandrimont at 2023-11-23T11:24:27+00:00
Fix all bare exceptions

- - - - -
6f4a2841 by Nicolas Dandrimont at 2023-11-23T11:24:27+00:00
Replace all instances of `not x in y` with `x not in y`

- - - - -
6ad40e05 by Nicolas Dandrimont at 2023-11-23T11:24:27+00:00
Make unusual escape sequences used in regexes more explicit

- - - - -
594c48f6 by Nicolas Dandrimont at 2023-11-23T11:24:27+00:00
Drop unused imports

- - - - -
ceae437f by Nicolas Dandrimont at 2023-11-23T11:24:27+00:00
Clean up more imports

- - - - -
0314acb9 by Nicolas Dandrimont at 2023-11-23T11:24:27+00:00
Fix `not x is y` patterns

- - - - -
aa334804 by Nicolas Dandrimont at 2023-11-23T11:24:27+00:00
Don't assign to lambdas

- - - - -
62e5b92f by Nicolas Dandrimont at 2023-11-23T11:24:27+00:00
Remove any unused variables

- - - - -
160225db by Nicolas Dandrimont at 2023-11-23T11:24:27+00:00
Break up long lines

- - - - -
76718040 by Nicolas Dandrimont at 2023-11-23T11:24:27+00:00
Add nosetests to gitlab-ci

- - - - -
3956f496 by Nicolas Dandrimont at 2023-11-23T11:24:27+00:00
Remove dependency on six

Thanks to Alexandre Detiste for the suggestion and initial patch.

- - - - -
7152f6f6 by Nicolas Dandrimont at 2024-01-13T11:17:24+01:00
Add missing salsaci override

- - - - -
57611cd6 by Nicolas Dandrimont at 2024-01-13T11:27:37+01:00
Rebuild the GitLab CI container on scheduled pipelines

- - - - -
3ba4c38d by Philipp Hahn at 2024-01-13T12:25:18+01:00
fix(docker): getting Container ID

in case the image does not exists locally docker will pull it from any
remote registry, but will include the progress information in the
output:

> Unable to find image 'docker-registry.XXX/YYY:ZZZ' locally
> ZZZ: Pulling from YYY
...
> Digest: sha256:4b9bfe7b0a6c970e3613c04f267ba6319cfceb8cc120b0435d9ee7b8037a1f06
> Status: Downloaded newer image for docker-registry.XXX/YYY:ZZZ
> 8be38c89d12937b98c8be5ab7466dd45b0e4a306862f282b58077ac7193251eb

The old code expected the output to be the container ID, which fails in that case.

Co-Authored-By: Nicolas Dandrimont <olasd at debian.org> (use temporary directory)

- - - - -
76a5f861 by Philipp Hahn at 2024-01-13T12:27:12+01:00
refactor(docker): Let `docker inspect` return path

Directly use golang templating to only get the MergedDir path instead of
using JSON in Python.

- - - - -
6980c395 by Philipp Hahn at 2024-01-13T12:27:15+01:00
refactor(docker): improve log output

Include path in debug output.

Let logging.debug() handle the variable substitution.

- - - - -


18 changed files:

- + .coveragerc
- + .gitlab-ci.yml
- + .gitlab-ci/Dockerfile
- + .gitlab-ci/check-salsaci-overrides
- + .gitlab-ci/lint.yml
- + .gitlab-ci/salsaci-overrides.yml
- + .gitlab-ci/test.yml
- debian/control
- docs/conf.py
- docs/piuparts/conf.py
- docs/piuparts_slave_join/conf.py
- docs/piuparts_slave_run/conf.py
- docs/piuparts_slave_stop/conf.py
- master-bin/detect_well_known_errors.py
- piuparts-analyze.py
- piuparts-master-backend.py
- piuparts-report.py
- piuparts-slave.py


The diff was not included because it is too large.


View it on GitLab: https://salsa.debian.org/debian/piuparts/-/compare/1dba202921645e8975c91dbd32ee37e668f2baf8...6980c39586865a01267ec49758efd4ddb85514d9

-- 
View it on GitLab: https://salsa.debian.org/debian/piuparts/-/compare/1dba202921645e8975c91dbd32ee37e668f2baf8...6980c39586865a01267ec49758efd4ddb85514d9
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/piuparts-devel/attachments/20240113/eb7e17ce/attachment-0001.htm>


More information about the Piuparts-devel mailing list