You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ka...@apache.org on 2021/05/17 22:25:25 UTC
[airflow] branch master updated: Set unique name on ``pre-commit``
hook and update schema (#15903)
This is an automated email from the ASF dual-hosted git repository.
kaxilnaik pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/master by this push:
new 70cf5c2 Set unique name on ``pre-commit`` hook and update schema (#15903)
70cf5c2 is described below
commit 70cf5c27d0d4b363c76a94d55ce8214836bf3c0f
Author: Jed Cunningham <66...@users.noreply.github.com>
AuthorDate: Mon May 17 16:25:05 2021 -0600
Set unique name on ``pre-commit`` hook and update schema (#15903)
This renames a hook to better represent what it's doing and also
updates the schema to the earliest k8s version we test against.
It also moves to a schema from an active fork instead of the
abandoned original repo.
---
.pre-commit-config.yaml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 00b050a..cfd380a 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -543,11 +543,11 @@ repos:
require_serial: true
additional_dependencies: ['jsonschema==3.2.0', 'PyYAML==5.3.1', 'requests==2.25.0']
- id: json-schema
- name: Lint JSON Schema files with JSON Schema
+ name: Lint NodePort Service with JSON Schema
entry: ./scripts/ci/pre_commit/pre_commit_json_schema.py
args:
- --spec-url
- - https://raw.githubusercontent.com/instrumenta/kubernetes-json-schema/master/v1.14.9/service-v1.json
+ - https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.18.15-standalone/service-v1.json
language: python
pass_filenames: true
files: scripts/ci/kubernetes/nodeport.yaml