No description
Find a file
Daisuke 8da52108cf cfn: switch Forgejo pipeline to EventBridge-triggered S3 source
- Rename forgejo.yaml to forgejo-cl.yaml
- Make S3 bucket and IAM ARNs region-agnostic
- Disable CodePipeline S3 polling
- Enable S3 → EventBridge notifications
- Add EventBridge rule and IAM role to trigger pipeline on object creation
- Tighten IAM permissions for CodeBuild and CodePipeline
- Normalize file mode for forgejo-efs.yaml
2026-01-01 13:51:21 +09:00
ci Add explicit Forgejo deployment structure with artifact build pipeline 2025-12-30 16:37:09 +09:00
config Add explicit Forgejo deployment structure with artifact build pipeline 2025-12-30 16:37:09 +09:00
docker Add explicit Forgejo deployment structure with artifact build pipeline 2025-12-30 16:37:09 +09:00
infra/cfn cfn: switch Forgejo pipeline to EventBridge-triggered S3 source 2026-01-01 13:51:21 +09:00
scripts Add explicit Forgejo deployment structure with artifact build pipeline 2025-12-30 16:37:09 +09:00
.gitignore Add explicit Forgejo deployment structure with artifact build pipeline 2025-12-30 16:37:09 +09:00
README.md Add explicit Forgejo deployment structure with artifact build pipeline 2025-12-30 16:37:09 +09:00

Purpose

This repository contains deployment sources for running Forgejo on AWS ECS. Infrastructure is managed using CloudFormation, and application artifacts are built explicitly for use in CI/CD pipelines.

Structure

  • docker/ Container definition for Forgejo (Dockerfile and entrypoint)

  • config/ Runtime configuration templates (actual configuration is injected at runtime)

  • ci/ CI/CD definitions (e.g. AWS CodeBuild buildspec)

  • infra/ Infrastructure as Code (CloudFormation templates)

  • artifacts/ Build artifacts used as inputs for deployment pipelines

  • scripts/ Helper scripts for building deployment artifacts

Artifact Build

Deployment artifacts are built explicitly using a helper script.

scripts/build-artifact.sh