- 17 Apr, 2020 1 commit
-
-
Benjamin Tissoires authored
-
- 16 Apr, 2020 2 commits
-
-
Benjamin Tissoires authored
-
Benjamin Tissoires authored
The controller all the time removes and adds the following: ``` ssl_trusted_certificate /etc/ingress-controller/ssl/default-gitlab-pages-tls-full-chain.pem; ssl_stapling on; ssl_stapling_verify on; ```
-
- 15 Apr, 2020 2 commits
-
-
Benjamin Tissoires authored
-
Benjamin Tissoires authored
It seems the CN doesn't need this as there is a job creating the secrets on upgrade. But for us, we need it or the ssh port will not be forwarded. Signed-off-by:
Benjamin Tissoires <benjamin.tissoires@gmail.com>
-
- 14 Apr, 2020 1 commit
-
-
Benjamin Tissoires authored
For the new charts to work, we need to namespace all of the config files because we are using the root of the directory, not just `./charts/gitlab-omnibus`. This allows to be more compatible with the gitlab native kubernetes chart and should allow us to move forward. Signed-off-by:
Benjamin Tissoires <benjamin.tissoires@gmail.com>
-
- 10 Apr, 2020 1 commit
-
-
Benjamin Tissoires authored
Signed-off-by:
Benjamin Tissoires <benjamin.tissoires@redhat.com>
-
- 08 Apr, 2020 19 commits
-
-
Benjamin Tissoires authored
To simplify the calls to get_correct_iso_format() Then: `%s/datetime.datetime.fromisoformat(get_correct_iso_format(\(.*\)))/docker_fromisoformat(\1)/g` Signed-off-by:
Benjamin Tissoires <benjamin.tissoires@redhat.com>
-
Benjamin Tissoires authored
Some images are not part of the db, either the db is not up to date, either they were pulled manually. Ignore them. Signed-off-by:
Benjamin Tissoires <benjamin.tissoires@redhat.com>
-
Benjamin Tissoires authored
so that we do not remove objects that have been created/used less than a day ago. Signed-off-by:
Benjamin Tissoires <benjamin.tissoires@redhat.com>
-
Benjamin Tissoires authored
Now that the history is offloaded to the gitlab server, we can start we accurate data. Signed-off-by:
Benjamin Tissoires <benjamin.tissoires@redhat.com>
-
Benjamin Tissoires authored
This should remove the complex need to listen to events, not have history and whatnot. Right now it is very simple, it counts since the beginning of the available files in fdo-containers-usage. Signed-off-by:
Benjamin Tissoires <benjamin.tissoires@redhat.com>
-
Benjamin Tissoires authored
Signed-off-by:
Benjamin Tissoires <benjamin.tissoires@redhat.com>
-
Benjamin Tissoires authored
Signed-off-by:
Benjamin Tissoires <benjamin.tissoires@redhat.com>
-
Benjamin Tissoires authored
problem is that the stored docker events are not that many, and we mostly only get events from gitlab/gitlab-runner-helper Signed-off-by:
Benjamin Tissoires <benjamin.tissoires@redhat.com>
-
Benjamin Tissoires authored
We want to listen to events, so clearing up our state at every run will make this moot. Signed-off-by:
Benjamin Tissoires <benjamin.tissoires@redhat.com>
-
Benjamin Tissoires authored
Signed-off-by:
Benjamin Tissoires <benjamin.tissoires@redhat.com>
-
Benjamin Tissoires authored
Signed-off-by:
Benjamin Tissoires <benjamin.tissoires@redhat.com>
-
Benjamin Tissoires authored
Signed-off-by:
Benjamin Tissoires <benjamin.tissoires@redhat.com>
-
Benjamin Tissoires authored
this makes easier to sort the list of last used images Signed-off-by:
Benjamin Tissoires <benjamin.tissoires@redhat.com>
-
Benjamin Tissoires authored
Signed-off-by:
Benjamin Tissoires <benjamin.tissoires@redhat.com>
-
Benjamin Tissoires authored
otherwise: File "/usr/lib/python3/dist-packages/docker/errors.py", line 31, in create_api_error_from_http_exception raise cls(e, response=response, explanation=explanation) docker.errors.NotFound: 404 Client Error: Not Found ("No such container: 03c5217472db4bc979a167371262ce56e93dc2a9fd7e19791fa59ecf4cb0ef24") Signed-off-by:
Benjamin Tissoires <benjamin.tissoires@redhat.com>
-
Benjamin Tissoires authored
We need to enforce working with UTC, otherwise we won't get accurate expired time stamps. Signed-off-by:
Benjamin Tissoires <benjamin.tissoires@redhat.com>
-
Benjamin Tissoires authored
Signed-off-by:
Benjamin Tissoires <benjamin.tissoires@redhat.com>
-
Benjamin Tissoires authored
Signed-off-by:
Benjamin Tissoires <benjamin.tissoires@redhat.com>
-
Benjamin Tissoires authored
Signed-off-by:
Benjamin Tissoires <benjamin.tissoires@redhat.com>
-
- 07 Apr, 2020 1 commit
-
-
Emma Anholt authored
As a reminder to myself in the future, this was generated with: kubectl get pods --namespace marge-bot -o yaml > marge-mesa-config.yaml
-
- 28 Mar, 2020 12 commits
-
-
allows to run the script just once or in a loop Signed-off-by:
Benjamin Tissoires <benjamin.tissoires@gmail.com>
-
Signed-off-by:
Benjamin Tissoires <benjamin.tissoires@gmail.com>
-
Signed-off-by:
Benjamin Tissoires <benjamin.tissoires@gmail.com>
-
Signed-off-by:
Benjamin Tissoires <benjamin.tissoires@gmail.com>
-
Signed-off-by:
Benjamin Tissoires <benjamin.tissoires@gmail.com>
-
Signed-off-by:
Benjamin Tissoires <benjamin.tissoires@gmail.com>
-
- and guess if the image can be safely removed, - and if the image is part of an upstream project, and should likely not be cleaned Signed-off-by:
Benjamin Tissoires <benjamin.tissoires@gmail.com>
-
Signed-off-by:
Benjamin Tissoires <benjamin.tissoires@gmail.com>
-
click is so much better than argparse Signed-off-by:
Benjamin Tissoires <benjamin.tissoires@gmail.com>
-
no functional changes, merely whitespaces and unused imports. docker-free-space.py:31:1: F401 'functools' imported but unused docker-free-space.py:34:1: F401 'sys' imported but unused docker-free-space.py:39:1: E302 expected 2 blank lines, found 1 docker-free-space.py:42:1: E302 expected 2 blank lines, found 1 docker-free-space.py:45:1: E305 expected 2 blank lines after class or function definition, found 1 docker-free-space.py:47:1: E302 expected 2 blank lines, found 1 docker-free-space.py:54:1: E302 expected 2 blank lines, found 1 docker-free-space.py:60:1: E302 expected 2 blank lines, found 1 docker-free-space.py:70:31: E201 whitespace after '{' docker-free-space.py:70:124: E202 whitespace before '}' docker-free-space.py:82:9: E265 block comment should start with '# ' docker-free-space.py:83:13: E265 block comment should start with '# ' docker-free-space.py:97:31: E201 whitespace after '{' docker-free-space.py:97:124: E202 whitespace before '}' docker-free-space.py:115:24: E201 whitespace after '{' docker-free-space.py:115:81: E202 whitespace before '}' docker-free-space.py:116:28: E201 whitespace after '{' docker-free-space.py:116:101: E202 whitespace before '}' docker-free-space.py:128:77: E226 missing whitespace around arithmetic operator docker-free-space.py:128:82: E226 missing whitespace around arithmetic operator docker-free-space.py:128:104: E226 missing whitespace around arithmetic operator docker-free-space.py:128:109: E226 missing whitespace around arithmetic operator docker-free-space.py:139:44: E261 at least two spaces before inline comment docker-free-space.py:139:44: E262 inline comment should start with '# ' docker-free-space.py:142:20: E261 at least two spaces before inline comment docker-free-space.py:142:21: E262 inline comment should start with '# ' docker-free-space.py:145:13: E265 block comment should start with '# ' docker-free-space.py:146:13: E265 block comment should start with '# ' Signed-off-by:
Benjamin Tissoires <benjamin.tissoires@gmail.com>
-
flake8 complains that lines are over indented. `%s/ / /g` Signed-off-by:
Benjamin Tissoires <benjamin.tissoires@gmail.com>
-
Daniel Stone authored
-
- 26 Mar, 2020 1 commit
-
-
not my best script ever, but it'll do the job
-