File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Cấu hình "Surgical Exclusion" - Chỉ quét đúng những gì mình thay đổi để tránh nhiễu từ repo gốc
2+ exclude : ^(?!bamboo/docker-compose\.yml|.pre-commit-config\.yaml)
3+
4+ repos :
5+ - repo : https://github.com/pre-commit/pre-commit-hooks
6+ rev : v4.6.0
7+ hooks :
8+ - id : trailing-whitespace
9+ - id : end-of-file-fixer
10+ - id : check-yaml
11+ - id : check-json
12+ - id : check-merge-conflict
13+ - id : mixed-line-ending
14+ args : ['--fix=lf']
15+
16+ - repo : https://github.com/astral-sh/ruff-pre-commit
17+ rev : v0.14.10
18+ hooks :
19+ - id : ruff
20+ - id : ruff-format
21+
22+ # Configuration pre-commit.ci
23+ ci :
24+ autofix_prs : false
25+ autoupdate_schedule : monthly
Original file line number Diff line number Diff line change @@ -3,16 +3,16 @@ services:
33 postgres :
44 image : postgres:13.9-alpine
55 environment :
6- - POSTGRES_PASSWORD=password
6+ - POSTGRES_PASSWORD=${POSTGRES_PASSWORD:- password}
77 network_mode : " service:build_env"
88 ftp :
99 image : maven.earthdata.nasa.gov/cumuluss/vsftpd:3
1010 network_mode : " service:build_env"
1111 volumes :
1212 - ../packages/test-data:/srv:ro
1313 environment :
14- - FTP_USER=testuser
15- - FTP_PASSWORD=testpass
14+ - FTP_USER=${FTP_USER:- testuser}
15+ - FTP_PASSWORD=${FTP_PASSWORD:- testpass}
1616 - FTP_PASV_ADDRESS=127.0.0.1
1717 http :
1818 image : httpd:alpine
You can’t perform that action at this time.
0 commit comments