No description
Find a file
Daisuke 058d1be93f feat(ci/cd): Add artifact bucket and ECS deployment support
- Create S3 artifact bucket with encryption and versioning
- Add ECR lifecycle policy to maintain maximum 5 images
- Add OutputArtifacts to build stage for deployment
- Add Deploy stage with ECS provider
- Update CodePipeline artifact store to use ArtifactBucket
- Replace hardcoded bucket names with parameterized references
- Add IAM permissions for ECS task definition and service management
- Add buildspec commands to generate image definitions file
2026-01-10 19:39:15 +09:00
.github/skills/commit-message-generator feat(skills): add commit message generator skill 2026-01-03 20:28:59 +09:00
ci feat(ci/cd): Add artifact bucket and ECS deployment support 2026-01-10 19:39:15 +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 feat(ci/cd): Add artifact bucket and ECS deployment support 2026-01-10 19:39:15 +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