mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2024-11-21 15:23:26 +01:00
Fixed style of files
This commit is contained in:
parent
b17b4d3ae2
commit
cad6d1eb7c
@ -1,20 +1,41 @@
|
||||
- repo: https://github.com/gitleaks/gitleaks
|
||||
repos:
|
||||
- repo: https://github.com/gitleaks/gitleaks
|
||||
rev: v8.16.3
|
||||
hooks:
|
||||
- id: gitleaks
|
||||
- repo: https://github.com/jumanjihouse/pre-commit-hooks
|
||||
- repo: https://github.com/jumanjihouse/pre-commit-hooks
|
||||
rev: 3.0.0
|
||||
hooks:
|
||||
- id: shellcheck
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.5.0
|
||||
hooks:
|
||||
- id: end-of-file-fixer
|
||||
- id: trailing-whitespace
|
||||
- id: check-yaml
|
||||
- id: check-symlinks
|
||||
- id: pretty-format-json
|
||||
- repo: https://github.com/asottile/setup-cfg-fmt
|
||||
rev: v2.5.0
|
||||
exclude: |
|
||||
(?x)(
|
||||
^env_vars/\.MYSQL |
|
||||
^env_vars/\.POSTGRES
|
||||
)
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.5.0
|
||||
hooks:
|
||||
- id: setup-cfg-fmt
|
||||
- id: trailing-whitespace
|
||||
exclude: |
|
||||
(?x)(
|
||||
.*\.patch$
|
||||
)
|
||||
- id: check-yaml
|
||||
args: [--allow-multiple-documents]
|
||||
- id: check-symlinks
|
||||
# - id: pretty-format-json
|
||||
- id: check-added-large-files
|
||||
#- repo: https://github.com/adrienverge/yamllint.git
|
||||
# rev: v1.21.0 # or higher tag
|
||||
# hooks:
|
||||
# - id: yamllint
|
||||
# args: [--format, parsable, --strict]
|
||||
#- repo: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt
|
||||
# rev: 0.2.3
|
||||
# hooks:
|
||||
# - id: yamlfmt
|
||||
# args: [--mapping, '2', --sequence, '1', --offset, '0', --colons, --width, '400']
|
||||
|
@ -5,4 +5,3 @@ gpgcheck=1
|
||||
enabled=0
|
||||
gpgkey=https://nginx.org/keys/nginx_signing.key
|
||||
module_hotfixes=true
|
||||
|
||||
|
48
build.json
48
build.json
@ -8,43 +8,43 @@
|
||||
"linux/s390x",
|
||||
"linux/ppc64le"
|
||||
],
|
||||
"centos": [
|
||||
"linux/amd64",
|
||||
"linux/arm64",
|
||||
"linux/ppc64le"
|
||||
],
|
||||
"ol": [
|
||||
"linux/amd64",
|
||||
"linux/arm64"
|
||||
],
|
||||
"rhel": [
|
||||
"X64",
|
||||
"ARM64"
|
||||
],
|
||||
"ubuntu": [
|
||||
"linux/amd64",
|
||||
"linux/arm/v7",
|
||||
"linux/arm64",
|
||||
"linux/s390x"
|
||||
],
|
||||
"centos": [
|
||||
"linux/amd64",
|
||||
"linux/arm64",
|
||||
"linux/ppc64le"
|
||||
],
|
||||
"rhel": [
|
||||
"X64",
|
||||
"ARM64"
|
||||
]
|
||||
},
|
||||
"os-windows": {
|
||||
"windows-2022": "ltsc2022",
|
||||
"windows-2019": "ltsc2019"
|
||||
"windows-2019": "ltsc2019",
|
||||
"windows-2022": "ltsc2022"
|
||||
},
|
||||
"components": {
|
||||
"agent": { "base" : "build-mysql", "rhel" : true },
|
||||
"agent2": { "base" : "build-mysql", "rhel" : true },
|
||||
"java-gateway": { "base" : "build-mysql", "rhel" : true },
|
||||
"proxy-mysql": { "base" : "build-mysql", "rhel" : true },
|
||||
"proxy-sqlite3": { "base" : "build-sqlite3", "rhel" : true },
|
||||
"server-mysql": { "base" : "build-mysql", "rhel" : true },
|
||||
"server-pgsql": { "base" : "build-pgsql", "rhel" : false },
|
||||
"snmptraps": { "base" : "", "rhel" : true },
|
||||
"web-apache-mysql": { "base" : "build-mysql", "rhel" : false },
|
||||
"web-apache-pgsql": { "base" : "build-pgsql", "rhel" : false },
|
||||
"web-nginx-mysql": { "base" : "build-mysql", "rhel" : true },
|
||||
"web-nginx-pgsql": { "base" : "build-mysql", "rhel" : false },
|
||||
"web-service": { "base" : "build-mysql", "rhel" : true }
|
||||
"agent": { "base": "build-mysql", "rhel": true },
|
||||
"agent2": { "base": "build-mysql", "rhel": true },
|
||||
"java-gateway": { "base": "build-mysql", "rhel": true },
|
||||
"proxy-mysql": { "base": "build-mysql", "rhel": true },
|
||||
"proxy-sqlite3": { "base": "build-sqlite3", "rhel": true },
|
||||
"server-mysql": { "base": "build-mysql", "rhel": true },
|
||||
"server-pgsql": { "base": "build-pgsql", "rhel": false },
|
||||
"snmptraps": { "base": "", "rhel": true },
|
||||
"web-apache-mysql": { "base": "build-mysql", "rhel": false },
|
||||
"web-apache-pgsql": { "base": "build-pgsql", "rhel": false },
|
||||
"web-nginx-mysql": { "base": "build-mysql", "rhel": true },
|
||||
"web-nginx-pgsql": { "base": "build-mysql", "rhel": false },
|
||||
"web-service": { "base": "build-mysql", "rhel": true }
|
||||
}
|
||||
}
|
||||
|
@ -603,12 +603,6 @@ spec:
|
||||
periodSeconds: 5
|
||||
timeoutSeconds: 3
|
||||
failureThreshold: 40
|
||||
livenessProbe:
|
||||
tcpSocket:
|
||||
port: 10051
|
||||
timeoutSeconds: 3
|
||||
failureThreshold: 3
|
||||
periodSeconds: 10
|
||||
securityContext:
|
||||
capabilities: {}
|
||||
privileged: false
|
||||
|
Loading…
Reference in New Issue
Block a user