aboutsummaryrefslogtreecommitdiff
path: root/containers/clang-format
AgeCommit message (Collapse)AuthorFilesLines
2024-03-05List installed packages on Alpine onlyMichal Privoznik1-1/+1
After a container is done installing necessary packages, the list of all installed packages is collected into packages.txt file which is then printed out. And this works everywhere but Alpine. Because there 'apk list' is run which prints ALL available packages. We need to pass '--installed' to limit listing only to the installed ones [1]. 1: https://man.archlinux.org/man/apk-list.8.en Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
2023-02-22containers: publish to 'latest' tag instead of 'master'Daniel P. Berrangé1-1/+1
Historically we use the CI_COMMIT_REF_SLUG for the docker tag, which is the branch name. This meant that when testing container builds from non-default tags/branches we didn't pollute the primary published content. When we switched to use merge requests for triggering CI in: commit 7a7402d259db6e75b2a6fbb1523b42a2d18fabfa Author: Daniel P. Berrangé <berrange@redhat.com> Date: Thu Feb 10 17:43:56 2022 +0000 gitlab: switch to trigger jobs against the merge request by default we stopped publishing containers for anything except a push to the default branch. As such there's no reason to use CI_COMMIT_REF_SLUG, we can just use a fixed tag name. The docker default is to use ':latest', so adopt that instead of ':master'. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2022-04-20clang-format: Tweak YAML snippetAndrea Bolognani1-1/+2
To match what 'lcitool manifest' would generate. This highlights the fact that the job can be kicked off immediately, without waiting for builds to complete. Signed-off-by: Andrea Bolognani <abologna@redhat.com>
2022-04-20gitlab: Actually implement clang-format jobAndrea Bolognani1-1/+9
The functionality was wired up, but the actual implementation was missing. Signed-off-by: Andrea Bolognani <abologna@redhat.com>
2021-03-08containers: introduce an image for clang-formatDaniel P. Berrangé3-0/+51
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>