contentmonster/.forgejo/workflows
Kumi 78fcec897e
Some checks failed
Test! / test (push) Failing after 1m45s
fix(ci): ensure fresh SSH server container setup
Ensured the SSH server Docker container is always rebuilt from a clean state by forcefully removing any pre-existing container before creation. Additionally, updated the SSH connection user to 'replication' to align with new security protocols.

- The force removal of the existing 'ssh-server' container avoids potential conflicts or inconsistencies due to leftover state from previous test runs, ensuring a more reliable integration testing environment.
- Switching the SSH connection to use the 'replication' user account instead of 'root' enhances security and adheres to best practices by minimizing the use of elevated privileges.

These changes contribute to a more stable and secure CI pipeline by reducing flakiness in tests and aligning with security best practices.
2024-04-22 17:58:32 +02:00
..
test.yml fix(ci): ensure fresh SSH server container setup 2024-04-22 17:58:32 +02:00