Commit Graph

59 Commits

Author SHA1 Message Date
a49704febc 🐛 fix: use relative paths instead of cd commands 2026-04-08 10:54:42 +02:00
3f718a7b9f 🐛 fix: correct working directory paths in CI workflow 2026-04-08 10:53:41 +02:00
db4922be05 🐛 fix: include Dockerfile.build in dependency hash calculation
Some checks failed
CI/CD Pipeline / Build Docker Cache (push) Successful in 3m27s
CI/CD Pipeline / CI Pipeline (push) Failing after 16s
2026-04-08 10:49:18 +02:00
ac87850ea3 🐛 fix: use simple docker run with CACHE_IMAGE variable 2026-04-08 10:43:05 +02:00
dc2662e960 🐛 fix: use simple docker run with CACHE_IMAGE variable
- Bypass docker compose entirely

- Use CACHE_IMAGE variable for consistency

- Simpler volume mount approach
2026-04-08 10:27:51 +02:00
94e625b416 🐛 fix: use original docker run approach with proper volume mount
- Back to docker run instead of docker compose

- Use pwd for current directory volume mount

- Match original working approach from successful builds
2026-04-08 10:19:00 +02:00
76e3579f06 🐛 fix: try running go generate directly on host
- Bypass Docker entirely for Swagger generation

- Test if issue is Docker-specific or workspace-related

- Simplest possible approach to isolate the problem
2026-04-08 10:17:09 +02:00
fc410fdb48 🐛 fix: remove working directory flags to work with Gitea auto-mounting
- Remove -w flags that conflict with Gitea's auto-generated mounts

- Let Docker Compose use default working directory from docker-compose.yml

- Align with Gitea Actions volume mounting best practices
2026-04-08 10:16:03 +02:00
4e21f3b98f 🐛 fix: make both docker compose commands consistent
- Add cd command to both steps

- Use same working directory pattern

- Ensures consistent volume mount behavior
2026-04-08 09:53:33 +02:00
934a7d9eb5 🐛 fix: change working directory before docker compose
- Run docker compose from repository root

- Ensures volume mount . resolves to full repository

- Simpler approach than command-line volume override
2026-04-08 09:52:20 +02:00
52a933fe67 🐛 fix: use command-line volume mount for correct workspace path
- Override docker-compose.yml volume with explicit host path

- Mount full repository root to /workspace in container

- Simplifies debugging and ensures go.mod is accessible
2026-04-08 09:51:12 +02:00
641522c1c7 🐛 fix: add comprehensive debugging for go.mod issue
- Add detailed workspace structure debugging

- Search for go.mod file location

- Show directory contents before go generate
2026-04-08 09:37:45 +02:00
84d9ba2ff5 🐛 fix: use correct workspace path in Docker container
- Remove debug step

- Use /workspace instead of /workspace/arcodange/dance-lessons-coach

- Matches actual Docker volume mount structure
2026-04-08 09:33:40 +02:00
78f6bf393e 🐛 fix: add debugging to diagnose workspace structure
- Add debug step to check workspace directory structure

- Add pwd and ls commands to Swagger generation step

- Helps diagnose go.mod file not found issue
2026-04-08 09:32:27 +02:00
b5cc67642f 🐛 fix: simplify Swagger docs generation command
- Remove complex working directory and GOPATH settings

- Use simple cd and package path approach

- Matches local working command structure
2026-04-08 09:31:12 +02:00
b31c6e46f9 🐛 fix: use correct workspace path for Swagger docs generation
- Update working directory to full repository path

- Set GOPATH to match repository root

- Fixes go.mod file not found error in CI workflow
2026-04-08 09:30:08 +02:00
94f3704f0e 🐛 fix: set GOPATH correctly for Swagger docs generation
- Set GOPATH environment variable to workspace root

- Allow go generate to find go.mod from parent directories

- Fixes go.mod file not found error in CI workflow
2026-04-08 09:29:09 +02:00
689d1e2057 🐛 fix: correct working directory for Swagger docs generation
- Change working directory approach for go generate command

- Run from root workspace but cd to pkg/server for execution

- Fixes go.mod file not found error in CI workflow
2026-04-08 09:27:49 +02:00
39bf083a23 🤖 ci: fix Docker Compose exec issue by using run instead
- Replace docker compose exec with docker compose run --rm

- Remove unnecessary container startup step

- Fixes 409 TCP upgrade error in CI workflow

- Maintains same functionality with better isolation
2026-04-08 09:23:04 +02:00
e333c69a71 🐛 fix: set DEPS_HASH as regular variable before export 2026-04-08 00:55:59 +02:00
841b23bb32 🐛 fix: debug DEPS_HASH value 2026-04-08 00:54:43 +02:00
58c8f09c77 🐛 fix: use needs output directly in docker compose step 2026-04-08 00:54:21 +02:00
5a2c896b4a 🐛 fix: add separate step to export DEPS_HASH 2026-04-08 00:53:58 +02:00
6eaca669cd 🐛 fix: use env var instead of needs output for DEPS_HASH 2026-04-08 00:53:21 +02:00
68a5cf7876 🐛 fix: set DEPS_HASH env var for ci-pipeline job 2026-04-08 00:52:47 +02:00
6f51a69854 🐛 fix: remove docker compose install from CI 2026-04-08 00:47:05 +02:00
f54c60c6a3 🔧 refactor: simplify CI/CD workflow by removing redundant cache checks
- Remove duplicate steps section
- Eliminate redundant cache availability checks
- Simplify logic since build-cache job guarantees cache availability
- Remove unnecessary conditional execution
- Streamline Docker Compose usage

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-04-07 23:28:47 +02:00
9213c97da6 🔧 fix: optimize Docker cache usage by removing redundant go mod tidy
- Remove unnecessary go mod tidy execution when using Docker cache
- Dependencies are already pre-installed in the cache image
- Only run go mod tidy when not using cache (native execution)
- This leverages the true purpose of the Docker build cache

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-04-07 23:22:30 +02:00
2ca361ccd9 🔧 chore: align Gitea workflow with local CI/CD script
- Add go mod tidy step to match local script
- Execute build.sh script in Docker Compose container
- Maintain consistent build process between local and CI
- Ensure Docker cache compatibility

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-04-07 23:18:22 +02:00
02674dfb50 feat: migrate to Docker Compose for build cache management
- Replace docker run commands with docker compose
- Use separate docker-compose.build.yml for build cache
- Maintain PostgreSQL service with Docker Compose
- Ensure consistent container networking

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-04-07 23:15:26 +02:00
4848becbdc 🐛 fix: set working directory directly in Docker command instead of using cd 2026-04-07 22:30:05 +02:00
89024c5793 🐛 fix: correct Docker Swagger generation command to match native approach 2026-04-07 19:29:02 +02:00
2d0546c68e 🐛 fix: add missing closing quote in Docker Swagger generation command 2026-04-07 19:24:54 +02:00
53bdd9579f feat: add PostgreSQL service support for BDD tests in CI/CD 2026-04-07 19:19:53 +02:00
4604ce7caa 🐛 fix: remove syntax error from Docker Swagger generation command 2026-04-07 19:16:40 +02:00
52065c9cf3 refactor: convert all DanceLessonsCoach mentions to kebab-case
Some checks failed
CI/CD Pipeline / Build Docker Cache (push) Successful in 10s
CI/CD Pipeline / CI Pipeline (push) Failing after 13s
2026-04-07 19:11:39 +02:00
c3587119b7 🗂️ refactor: organize Dockerfiles into docker/ directory and update all references
Some checks failed
CI/CD Pipeline / Build Docker Cache (push) Successful in 22s
CI/CD Pipeline / CI Pipeline (push) Failing after 47s
2026-04-07 12:45:09 +02:00
2759dd15c7 🐛 fix: correct Docker volume mount paths in CI/CD workflow 2026-04-07 12:16:27 +02:00
edd08b4e1c 🔧 ci: fix Dockerfile.prod to use proper dependency hash and add testing scripts
Some checks failed
CI/CD Pipeline / Build Docker Cache (push) Successful in 26s
CI/CD Pipeline / CI Pipeline (push) Failing after 58s
2026-04-07 12:12:22 +02:00
6e2e9e3645 🔧 ci: remove certificate configuration step (no longer needed with traditional docker) 2026-04-07 11:58:21 +02:00
3029e93175 🤖 ci: optimize CI/CD with Docker cache and remove Buildx
Some checks failed
CI/CD Pipeline / CI Pipeline (push) Has been cancelled
CI/CD Pipeline / Build Docker Cache (push) Has been cancelled
2026-04-07 11:52:33 +02:00
0f01d025b8 ♻️ refactor: replace Buildx with traditional docker build/push for reliability 2026-04-07 11:13:25 +02:00
4be08d5f36 🔧 fix: configure Docker to trust Gitea self-signed certificate 2026-04-07 11:01:26 +02:00
de53c13ea8 🔧 fix: use ubuntu-latest-ca runners for self-signed certificate support
Some checks failed
CI/CD Pipeline / Build Docker Cache (push) Failing after 6m26s
CI/CD Pipeline / CI Pipeline (push) Has been skipped
2026-04-07 08:59:23 +02:00
fd7ade77b8 🔄 fix: move version bump before Swagger generation 2026-04-07 08:49:45 +02:00
4ff58569d0 🔄 fix: remove unnecessary script, use inline logic
Some checks failed
CI/CD Pipeline / CI Pipeline (push) Has been cancelled
CI/CD Pipeline / Build Docker Cache (push) Has been cancelled
2026-04-07 08:37:08 +02:00
36823ac112 🔄 fix: simplify Docker cache approach and integrate properly
Some checks failed
CI/CD Pipeline / CI Pipeline (push) Has been cancelled
CI/CD Pipeline / Build Docker Cache (push) Has started running
2026-04-07 08:36:18 +02:00
816e1b7bc8 feat: implement Docker build cache for CI acceleration
Some checks failed
CI/CD Pipeline / CI Pipeline (push) Has been cancelled
CI/CD Pipeline / Build Docker Cache (push) Has been cancelled
2026-04-07 08:31:24 +02:00
7c9dfdcc2a optim: reduce duplicate CI runs on PR branches 2026-04-07 08:22:41 +02:00
0cc2824222 📝 refactor: extract CI logic into reusable scripts
Some checks failed
CI/CD Pipeline / CI Pipeline (push) Has been cancelled
CI/CD Pipeline / CI Pipeline (pull_request) Failing after 11m26s
2026-04-07 08:20:12 +02:00