summaryrefslogtreecommitdiff
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorChris Evich <cevich@redhat.com>2022-04-25 14:45:40 -0400
committerChris Evich <cevich@redhat.com>2022-05-10 10:49:32 -0400
commitabf4f77bc76b456f6f4c2ecbfc4db4dcb2523ee2 (patch)
tree17236ba1024a616bb5164fff20e6479376d6c1ff /.pre-commit-config.yaml
parent237f7612628cb66920c4d63dea1aa1b015ec2e68 (diff)
downloadpodman-abf4f77bc76b456f6f4c2ecbfc4db4dcb2523ee2.tar.gz
podman-abf4f77bc76b456f6f4c2ecbfc4db4dcb2523ee2.tar.bz2
podman-abf4f77bc76b456f6f4c2ecbfc4db4dcb2523ee2.zip
Cirrus: Simplify use of cache in automation
With the increasingly complex `.cirrus.yml` task relationships, build cache wasn't always working as intended. Recently, non-build tasks were observed assuming authority over `gopath_cache`. Ref.: https://github.com/containers/podman/pull/13998#issuecomment-1108834538 Address this by an overall simplification using artifacts instead of cache. Using artifacts allows establishing concrete authorship/authority over cached repo. content. In this way, dependent tasks may simply consume the artifact with `curl` instead of relying on complex caching algorithms. Also/Minor: Add YAML checking to the pre-commit configuration. Signed-off-by: Chris Evich <cevich@redhat.com>
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 3416a93ee..ca023d18a 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -17,3 +17,4 @@ repos:
- id: check-byte-order-marker
- id: check-executables-have-shebangs
- id: check-merge-conflict
+ - id: check-yaml