👌 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:
2025-05-23 09:36:11 +00:00
parent 03220e8c67
commit 5ef3de75ad
89 changed files with 32 additions and 13 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
./https_portal/log

View File

@@ -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

View File

@@ -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

View File

@@ -1 +0,0 @@
2025/04/30 03:45:01 [notice] 2108738#2108738: 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.

View 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.

View File

@@ -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