👌 IMPROVE: Add new TeamCity agent configuration and update log files for May 2025; remove old logs and compress new ones.
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
./https_portal/log
|
||||
@@ -41,6 +41,25 @@ services:
|
||||
# image: jetbrains/teamcity-agent:2023.11.1-linux-sudo
|
||||
# image: jetbrains/teamcity-agent:2023.05.2-linux-sudo
|
||||
# image: jetbrains/teamcity-agent:latest
|
||||
teamcity-agent-2:
|
||||
restart: always
|
||||
container_name: teamcity-agent-2
|
||||
environment:
|
||||
- 'SERVER_URL=teamcity-server:8111'
|
||||
- DOCKER_IN_DOCKER=start
|
||||
user: root
|
||||
privileged: true
|
||||
networks:
|
||||
- devops
|
||||
volumes:
|
||||
- '/teamcity/agent2:/teamcity_agent/conf'
|
||||
- '/var/run/docker.sock:/var/run/docker.sock'
|
||||
- '/opt/buildagent/system2:/opt/buildagent/system'
|
||||
- '/opt/buildagent/work2:/opt/buildagent/work'
|
||||
- '/opt/buildagent/plugins2:/opt/buildagent/plugins'
|
||||
- '/opt/buildagent/temp2:/opt/buildagent/temp'
|
||||
- '/opt/buildagent/tools2:/opt/buildagent/tools'
|
||||
image: jetbrains/teamcity-agent:2025.03.1-linux-sudo
|
||||
watchtower:
|
||||
image: containrrr/watchtower
|
||||
container_name: watchtower
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
2025/05/01 03:45:01 [notice] 2330373#2330373: signal process started
|
||||
2025/05/01 07:48:02 [notice] 260#260: signal process started
|
||||
2025/05/23 03:45:01 [notice] 417774#417774: signal process started
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1 +0,0 @@
|
||||
2025/04/30 03:45:01 [notice] 2108738#2108738: signal process started
|
||||
BIN
https_portal/log/error.log-20250501.gz
Normal file
BIN
https_portal/log/error.log-20250501.gz
Normal file
Binary file not shown.
BIN
https_portal/log/error.log-20250503.gz
Normal file
BIN
https_portal/log/error.log-20250503.gz
Normal file
Binary file not shown.
BIN
https_portal/log/error.log-20250504.gz
Normal file
BIN
https_portal/log/error.log-20250504.gz
Normal file
Binary file not shown.
BIN
https_portal/log/error.log-20250505.gz
Normal file
BIN
https_portal/log/error.log-20250505.gz
Normal file
Binary file not shown.
BIN
https_portal/log/error.log-20250506.gz
Normal file
BIN
https_portal/log/error.log-20250506.gz
Normal file
Binary file not shown.
BIN
https_portal/log/error.log-20250507.gz
Normal file
BIN
https_portal/log/error.log-20250507.gz
Normal file
Binary file not shown.
BIN
https_portal/log/error.log-20250508.gz
Normal file
BIN
https_portal/log/error.log-20250508.gz
Normal file
Binary file not shown.
BIN
https_portal/log/error.log-20250509.gz
Normal file
BIN
https_portal/log/error.log-20250509.gz
Normal file
Binary file not shown.
BIN
https_portal/log/error.log-20250510.gz
Normal file
BIN
https_portal/log/error.log-20250510.gz
Normal file
Binary file not shown.
BIN
https_portal/log/error.log-20250511.gz
Normal file
BIN
https_portal/log/error.log-20250511.gz
Normal file
Binary file not shown.
BIN
https_portal/log/error.log-20250512.gz
Normal file
BIN
https_portal/log/error.log-20250512.gz
Normal file
Binary file not shown.
BIN
https_portal/log/error.log-20250513.gz
Normal file
BIN
https_portal/log/error.log-20250513.gz
Normal file
Binary file not shown.
BIN
https_portal/log/error.log-20250514.gz
Normal file
BIN
https_portal/log/error.log-20250514.gz
Normal file
Binary file not shown.
BIN
https_portal/log/error.log-20250515.gz
Normal file
BIN
https_portal/log/error.log-20250515.gz
Normal file
Binary file not shown.
BIN
https_portal/log/error.log-20250516.gz
Normal file
BIN
https_portal/log/error.log-20250516.gz
Normal file
Binary file not shown.
BIN
https_portal/log/error.log-20250517.gz
Normal file
BIN
https_portal/log/error.log-20250517.gz
Normal file
Binary file not shown.
BIN
https_portal/log/error.log-20250518.gz
Normal file
BIN
https_portal/log/error.log-20250518.gz
Normal file
Binary file not shown.
BIN
https_portal/log/error.log-20250519.gz
Normal file
BIN
https_portal/log/error.log-20250519.gz
Normal file
Binary file not shown.
BIN
https_portal/log/error.log-20250520.gz
Normal file
BIN
https_portal/log/error.log-20250520.gz
Normal file
Binary file not shown.
BIN
https_portal/log/error.log-20250521.gz
Normal file
BIN
https_portal/log/error.log-20250521.gz
Normal file
Binary file not shown.
BIN
https_portal/log/error.log-20250522.gz
Normal file
BIN
https_portal/log/error.log-20250522.gz
Normal file
Binary file not shown.
1
https_portal/log/error.log-20250523
Normal file
1
https_portal/log/error.log-20250523
Normal file
@@ -0,0 +1 @@
|
||||
2025/05/22 03:45:01 [notice] 196369#196369: signal process started
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
https_portal/log/logrotate.log-20250501.gz
Normal file
BIN
https_portal/log/logrotate.log-20250501.gz
Normal file
Binary file not shown.
BIN
https_portal/log/logrotate.log-20250503.gz
Normal file
BIN
https_portal/log/logrotate.log-20250503.gz
Normal file
Binary file not shown.
BIN
https_portal/log/logrotate.log-20250504.gz
Normal file
BIN
https_portal/log/logrotate.log-20250504.gz
Normal file
Binary file not shown.
BIN
https_portal/log/logrotate.log-20250505.gz
Normal file
BIN
https_portal/log/logrotate.log-20250505.gz
Normal file
Binary file not shown.
BIN
https_portal/log/logrotate.log-20250506.gz
Normal file
BIN
https_portal/log/logrotate.log-20250506.gz
Normal file
Binary file not shown.
BIN
https_portal/log/logrotate.log-20250507.gz
Normal file
BIN
https_portal/log/logrotate.log-20250507.gz
Normal file
Binary file not shown.
BIN
https_portal/log/logrotate.log-20250508.gz
Normal file
BIN
https_portal/log/logrotate.log-20250508.gz
Normal file
Binary file not shown.
BIN
https_portal/log/logrotate.log-20250509.gz
Normal file
BIN
https_portal/log/logrotate.log-20250509.gz
Normal file
Binary file not shown.
BIN
https_portal/log/logrotate.log-20250510.gz
Normal file
BIN
https_portal/log/logrotate.log-20250510.gz
Normal file
Binary file not shown.
BIN
https_portal/log/logrotate.log-20250511.gz
Normal file
BIN
https_portal/log/logrotate.log-20250511.gz
Normal file
Binary file not shown.
BIN
https_portal/log/logrotate.log-20250512.gz
Normal file
BIN
https_portal/log/logrotate.log-20250512.gz
Normal file
Binary file not shown.
BIN
https_portal/log/logrotate.log-20250513.gz
Normal file
BIN
https_portal/log/logrotate.log-20250513.gz
Normal file
Binary file not shown.
Binary file not shown.
BIN
https_portal/log/logrotate.log-20250515.gz
Normal file
BIN
https_portal/log/logrotate.log-20250515.gz
Normal file
Binary file not shown.
BIN
https_portal/log/logrotate.log-20250516.gz
Normal file
BIN
https_portal/log/logrotate.log-20250516.gz
Normal file
Binary file not shown.
BIN
https_portal/log/logrotate.log-20250517.gz
Normal file
BIN
https_portal/log/logrotate.log-20250517.gz
Normal file
Binary file not shown.
BIN
https_portal/log/logrotate.log-20250518.gz
Normal file
BIN
https_portal/log/logrotate.log-20250518.gz
Normal file
Binary file not shown.
BIN
https_portal/log/logrotate.log-20250519.gz
Normal file
BIN
https_portal/log/logrotate.log-20250519.gz
Normal file
Binary file not shown.
BIN
https_portal/log/logrotate.log-20250520.gz
Normal file
BIN
https_portal/log/logrotate.log-20250520.gz
Normal file
Binary file not shown.
BIN
https_portal/log/logrotate.log-20250521.gz
Normal file
BIN
https_portal/log/logrotate.log-20250521.gz
Normal file
Binary file not shown.
BIN
https_portal/log/logrotate.log-20250522.gz
Normal file
BIN
https_portal/log/logrotate.log-20250522.gz
Normal file
Binary file not shown.
@@ -10,26 +10,26 @@ Handling 1 logs
|
||||
rotating pattern: /var/log/nginx/*.log after 1 days (30 rotations)
|
||||
olddir is /var/log/nginx, empty log files are not rotated, old logs are removed
|
||||
considering log /var/log/nginx/error.log
|
||||
Now: 2025-05-01 03:45
|
||||
Last rotated at 2025-04-30 03:45
|
||||
Now: 2025-05-23 03:45
|
||||
Last rotated at 2025-05-22 03:45
|
||||
log needs rotating
|
||||
considering log /var/log/nginx/logrotate.log
|
||||
Now: 2025-05-01 03:45
|
||||
Last rotated at 2025-04-30 03:45
|
||||
Now: 2025-05-23 03:45
|
||||
Last rotated at 2025-05-22 03:45
|
||||
log needs rotating
|
||||
rotating log /var/log/nginx/error.log, log->rotateCount is 30
|
||||
dateext suffix '-20250501'
|
||||
dateext suffix '-20250523'
|
||||
glob pattern '-[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]'
|
||||
compressing log with: /bin/gzip
|
||||
rotating log /var/log/nginx/logrotate.log, log->rotateCount is 30
|
||||
dateext suffix '-20250501'
|
||||
dateext suffix '-20250523'
|
||||
glob pattern '-[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]'
|
||||
compressing log with: /bin/gzip
|
||||
running prerotate script
|
||||
renaming /var/log/nginx/error.log to /var/log/nginx/error.log-20250501
|
||||
renaming /var/log/nginx/error.log to /var/log/nginx/error.log-20250523
|
||||
creating new /var/log/nginx/error.log mode = 0640 uid = 101 gid = 101
|
||||
renaming /var/log/nginx/logrotate.log to /var/log/nginx/logrotate.log-20250501
|
||||
renaming /var/log/nginx/logrotate.log to /var/log/nginx/logrotate.log-20250523
|
||||
creating new /var/log/nginx/logrotate.log mode = 0640 uid = 101 gid = 101
|
||||
running postrotate script
|
||||
removing old log /var/log/nginx/error.log-20250401.gz
|
||||
removing old log /var/log/nginx/logrotate.log-20250401.gz
|
||||
removing old log /var/log/nginx/error.log-20250422.gz
|
||||
removing old log /var/log/nginx/logrotate.log-20250422.gz
|
||||
Reference in New Issue
Block a user