Switch to building with Depot
Change-Id: I4547e671e11f76e6776192cc68040d5e2ff61be9
(cherry picked from commit 564caa8bd7f1cf771958a97b8fff7c9bef90e447)
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 3cb5d57..bd2d792 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,6 +1,21 @@
-exclude: '^(roles/kube_prometheus_stack/files/jsonnet|charts)'
+exclude: "^(roles/kube_prometheus_stack/files/jsonnet|charts)"
repos:
+ - repo: local
+ hooks:
+ - id: check-spdx-copyright-text
+ name: Check SPDX-FileCopyrightText
+ entry: '# SPDX-FileCopyrightText: © [0-9]{4} VEXXHOST, Inc.'
+ language: pygrep
+ args: [--negate]
+ files: ^images/.*/Dockerfile$
+ - id: check-spdx-license-identifier
+ name: Check SPDX-License-Identifier
+ entry: '# SPDX-License-Identifier: GPL-3.0-or-later'
+ language: pygrep
+ args: [--negate]
+ files: ^images/.*/Dockerfile$
+
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks: