From 57fe26358c6e2ac7f07ed00df36a292e9712b0c9 Mon Sep 17 00:00:00 2001 From: Denis Lugowski Date: Sat, 29 Nov 2025 09:14:14 +0100 Subject: [PATCH] misc: Adapt readme, changelog and add docker compose run configuration --- ...mpose-dev.yaml_ Compose Deployment.run.xml | 11 +++++ CHANGELOG.md | 7 +++ README.md | 47 +++---------------- 3 files changed, 24 insertions(+), 41 deletions(-) create mode 100644 .run/deployment_docker-compose-dev.yaml_ Compose Deployment.run.xml diff --git a/.run/deployment_docker-compose-dev.yaml_ Compose Deployment.run.xml b/.run/deployment_docker-compose-dev.yaml_ Compose Deployment.run.xml new file mode 100644 index 0000000..cda16b4 --- /dev/null +++ b/.run/deployment_docker-compose-dev.yaml_ Compose Deployment.run.xml @@ -0,0 +1,11 @@ + + + + + + + + + \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 8db37b0..877dbe0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### 2025-11-23 - Pipeline +- Gitea pipeline seems not to be stable enough yet. Jobs don't get assigned runners consistently. Especially the backend job. +- Switch to local nektos act runner also led to issues + - metadata-action not working properly: https://github.com/docker/metadata-action/issues/542 + - Failing connection to gradle daemon during frontend job +- Finally switched to simple shell scripts for CI/CD + ## 2025-11-02 - Form Element Management API - New input field with title and text needed to be added to application forms diff --git a/README.md b/README.md index 16ce7cf..602db15 100644 --- a/README.md +++ b/README.md @@ -6,46 +6,11 @@ A comprehensive platform for digital applications, approvals, and discussions, d For detailed documentation, architecture, and development guidelines, see [CLAUDE.md](./CLAUDE.md). -## CI/CD with Act - -This project uses [nektos/act](https://nektosact.com/) for local workflow execution. Workflows are defined in `.github/workflows/` in GitHub Actions format. - -### Running Workflows Locally - -```bash -# List available workflows and jobs -act -l - -# Run specific jobs -act -j frontend # Run frontend job only -act -j backend # Run backend job only - -# Run all jobs for push event -act push - -# Run with secrets (required for Docker push and deployment) -act push --secret-file .secrets - -# Dry run to see what would execute -act -n - -# Run a specific workflow file -act -W .github/workflows/pipeline.yaml +## Errors +``` +==================== DEPLOYMENT ==================== +ℹ Starting deployment to server... +ssh: connect to host ds218 port 32766: Undefined error: 0 ``` -### Setup - -1. Ensure [act](https://nektosact.com/) is installed (already available locally) -2. Copy `.secrets.example` to `.secrets` and fill in your credentials: - ```bash - cp .secrets.example .secrets - # Edit .secrets with your actual tokens/keys - ``` -3. The `.actrc` file contains default configuration for act - -### Important Notes - -- **Manual Execution**: Workflows must be run manually via `act` command -- **Secrets Required**: Docker push and deployment require secrets from `.secrets` file -- **No Automation**: Unlike traditional CI/CD, act runs locally on demand -- Backend tests may fail if PostgreSQL is running on the host machine +**Solution**: Use iTerm2 instead of the IntelliJ terminal to deploy the project.