Commit Graph
60 Commits
Author SHA1 Message Date
Jeppe B ce29cf9ccb Merge pull request #240 from copenhagentruckwash/propose-fix-for-ci-vulnerability
Secure Qodana pull request workflow
2026-06-01 23:36:53 +02:00
Jeppe B e7481297c8 Secure Qodana PR workflow runner 2026-06-01 23:36:44 +02:00
Jeppe B d244c000c3 Skip Qodana when cloud token is missing 2026-06-01 23:31:24 +02:00
Jeppe B 86fb8bb700 Run Qodana without upload when token is missing 2026-06-01 23:15:36 +02:00
copilot-swe-agent[bot] 7c21b6463d Merge origin/master and resolve workflow conflicts 2026-06-01 19:55:27 +00:00
Jeppe B d97cfda0ea Harden CI by avoiding self-hosted runners on PR workflow 2026-06-01 21:48:39 +02:00
Jeppe B ee16db8ecc ci: retry release manager gate on transient failures 2026-06-01 16:56:34 +02:00
Jeppe B 5e6b340f8c Use compose broker URL for edge gateway smoke 2026-05-29 15:29:41 +02:00
Jeppe B 04e47a2e6d Start all PHP upstreams for edge gateway smoke 2026-05-29 15:10:49 +02:00
Jeppe B 572f5027d6 Run edge gateway smoke inside compose network 2026-05-29 14:56:36 +02:00
Jeppe B 235e0268c2 Fix backend CI gate failures 2026-05-29 14:36:18 +02:00
Jeppe B 65d639853b Skip Qodana when cloud token is unavailable 2026-05-28 23:44:07 +02:00
Jeppe B 50b596af39 Merge pull request #157 from copenhagentruckwash/fix-issues-and-verify-with-tests
Fix test gateway Windows config paths
2026-05-28 19:39:51 +02:00
copilot-swe-agent[bot] 31214f0af0 fix: mark workspace as git safe directory before qodana 2026-05-28 17:34:58 +00:00
Jeppe B aceaa6b957 Fix Qodana workflow and Windows-style test gateway paths
Update the Qodana workflow to use an available action version and avoid cloud-token failures when the secret is absent. Keep the test gateway path resolver using Windows path semantics for Windows-style inputs.
2026-05-28 19:33:02 +02:00
Jeppe Bundgaard b7aeb11801 Add department_selfserve_path_confirmations table and enhance PingApiTest
Introduce a new database table `department_selfserve_path_confirmations` to store path confirmations related to department configurations. Update `PingApiTest` to verify additional keys, ensuring `backend_version` and `api_commit_sha` are checked in the response.
2026-05-27 17:35:16 +02:00
Jeppe Bundgaard 00a8723347 Integrate Coolify API client and module for managing Coolify services, enhancing automation and deployment processes. 2026-05-19 13:17:07 +02:00
Jeppe Bundgaard ab31cd6dbb Enhance MinIO handling in replication management and update legacy test bootstrap. Add MinIO replication logic, legacy setup cleanup, and include necessary tests for improved MinIO interaction and error tolerance. 2026-05-18 14:12:03 +02:00
Jeppe Bundgaard c8aba05bc1 Add dynamic COMPOSE_PROJECT_NAME and container naming conventions to CI workflows
- Updated `tests.yml` to set `COMPOSE_PROJECT_NAME` dynamically based on `github.run_id` and `github.run_attempt`.
- Updated `docker-compose.ci.yml` to use dynamic container names with `COMPOSE_PROJECT_NAME`.
2026-05-12 05:18:32 +02:00
Jeppe Bundgaard 08ecd237b4 Escape ${} syntax in GitHub Actions debug database configuration to prevent variable interpolation issues. 2026-05-12 04:53:09 +02:00
Jeppe Bundgaard 9d608bc967 Add debug database configuration to GitHub Actions workflows for improved testing 2026-05-12 04:37:23 +02:00
Jeppe Bundgaard 1dffbe16c4 Restore self-hosted CI runners 2026-04-24 21:19:05 +02:00
Jeppe Bundgaard ad9637ebd2 Run CI on GitHub-hosted runners 2026-04-24 21:17:22 +02:00
Jeppe Bundgaard 0253cfc676 Copy edge E2E runner config in CI 2026-04-24 21:11:08 +02:00
Jeppe Bundgaard 15250ad227 Run edge E2E smoke on compose network 2026-04-24 21:04:53 +02:00
Jeppe Bundgaard 288627243b Resolve edge E2E host routing in CI 2026-04-24 20:27:44 +02:00
Jeppe Bundgaard 3adf5957f0 Use Docker host gateway for edge E2E 2026-04-24 20:07:05 +02:00
Jeppe Bundgaard eba33d0735 Use CI volume for PHP app tests 2026-04-24 20:00:42 +02:00
Jeppe Bundgaard def45b1c23 Clean stale PHP files before CI sync 2026-04-24 19:56:13 +02:00
Jeppe Bundgaard 38481334c7 Sync PHP checkout into CI containers 2026-04-24 19:52:36 +02:00
Jeppe Bundgaard dce2207243 Pin compose file for edge gateway CI 2026-04-24 19:44:03 +02:00
Jeppe Bundgaard 5bfd2743be Use explicit edge gateway API test paths 2026-04-24 19:35:11 +02:00
Jeppe Bundgaard 38acbdefa0 Run edge gateway CI suites directly with Pest 2026-04-24 19:27:57 +02:00
Jeppe Bundgaard 64292e8761 Use composer run-script for edge gateway suites 2026-04-24 19:23:19 +02:00
Jeppe Bundgaard 5001cd1811 Install PHP dev dependencies before edge gateway CI tests 2026-04-24 19:21:23 +02:00
Jeppe B d9ed1ff9de Harden self-hosted CI workflow reliability 2026-04-24 00:10:10 +02:00
Jeppe B 1c647bb78b Avoid Traefik port collisions in edge gateway CI 2026-04-23 23:52:01 +02:00
Jeppe B 39d4ba0284 Run unit CI inside php1 container on self-hosted runner 2026-04-23 23:40:12 +02:00
Jeppe B 8a5e6bc302 Prepare Qodana temp directories on self-hosted runner 2026-04-23 23:35:13 +02:00
Jeppe B e7220f4f29 Run Qodana workflow on self-hosted runner 2026-04-23 23:16:45 +02:00
Jeppe Bundgaard b9ddc585db Add Edge Gateway tests for unit, API, and integration scenarios 2026-04-23 15:48:51 +02:00
Jeppe Bundgaard 9cfb19a3ba Replace CI PHP suite execution script with Composer commands and integrate Edge Gateway Agent stack artifacts 2026-04-22 12:03:08 +02:00
Jeppe Bundgaard d30393b609 Run PHP suites in php1 on CI 2026-04-21 22:00:03 +02:00
Jeppe Bundgaard e4fefab576 Run PHP jobs in setup-php container image 2026-04-21 21:36:06 +02:00
Jeppe Bundgaard 837c49a589 Configure setup-php for self-hosted runner 2026-04-21 21:31:18 +02:00
Jeppe Bundgaard 5f83042317 Use self-hosted runner for backend tests 2026-04-21 20:05:10 +02:00
Jeppe Bundgaard 7d450e285e Remove outdated edge gateway object classes, add new agent implementation
Transitioned from obsolete gateway object classes (`edge_gateway_shell_action_jobs_o`, `edge_gateway_shell_events_o`, `edge_gateway_shell_sessions_o`, `edge_gateway_update_jobs_o`) to the new agent implementation (`edge-gateway-agent/agent.php`).
2026-04-21 14:13:17 +02:00
Jeppe Bundgaard 12205eefe8 Add compose environment secrets handling to CI workflow 2026-04-14 16:58:41 +02:00
Jeppe Bundgaard b21d0ce708 Validate compose contracts in CI and enhance edge-broker tests with a unified file reading utility 2026-04-14 16:54:10 +02:00
Jeppe Bundgaard 17d855d04f Refactor edge agent test with waitFor utility and update GitHub Actions workflow
- Introduced `waitFor` utility in edge agent tests for more reliable condition polling.
- Adjusted test assertions to use `waitFor` for verifying agent polling activity.
- Added separate GitHub Actions jobs for `edge-agent` and `edge-broker` to improve test isolation.
2026-04-14 16:31:47 +02:00