Commit graph

11 commits

Author SHA1 Message Date
777e51ab45 fix(network): Correct listener rule condition and add outputs
- Fix ElasticLoadBalancingV2ListenerRuleForgejo condition format
- Add ListenerRuleForgejoArn output export
- Update TargetGroupArn description to specify "blue" target group
- Update Skill.md documentation for commit message format guidelines
2026-01-10 19:40:42 +09:00
39cd41ef5a fix(ecs): Improve health check and deployment configuration
- Increase HealthCheckGracePeriodSeconds from 0 to 300
- Add explicit DeploymentController type (ECS)
- Fix DeploymentConfiguration structure and add Alarms
- Update DeploymentCircuitBreaker configuration with proper Rollback handling
2026-01-10 19:40:06 +09:00
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
53271302e2 chore(cfn): remove IAM user resource from forgejo S3 stack 2026-01-03 20:29:19 +09:00
71b031226c feat(skills): add commit message generator skill 2026-01-03 20:28:59 +09:00
1998d1cf03 feat(infra/cfn): provision Forgejo ECS cluster, service, and task
Define ECS cluster with exports, service wired to ALB target group and deployment circuit
breaker, and task definition with IAM role, ARM64 runtime, EFS volumes, ports 3000/2222,
logging, and MinIO/S3 env config.
2026-01-02 18:20:02 +09:00
8140c89e3a chore(infra/cfn): add Forgejo network CloudFormation resources
Add EFS MountTargets (two subnets), an ALB Target Group for Forgejo (port 3000, health
checks), and a Listener Rule for host git.n-daisuke897.com; export the TargetGroup ARN. No
application-level configuration changes.
2026-01-02 18:16:57 +09:00
7afe099295 infra(forgejo): add network and S3 CloudFormation stacks
Introduce dedicated CloudFormation templates for Forgejo networking
(EFS mount targets, ALB target group and listener rule) and S3 storage,
including bucket creation and scoped access policy.
2026-01-01 17:14:38 +09:00
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
4987197113 Add EFS infrastructure for Forgejo (new CloudFormation stack)
- Introduce forgejo-efs.yaml defining EFS FileSystem with encryption, lifecycle policies, and backup enabled
- Add dedicated AccessPoints for /forgejo/data and /forgejo/config with POSIX ownership and tags
- Include FileSystemPolicy enforcing mount-target-only access
- Export EFS resource IDs for cross-stack referencing
2025-12-31 13:27:25 +09:00
46ec47aa2d Add explicit Forgejo deployment structure with artifact build pipeline
- Introduce clear directory separation for docker, infra, ci, and config
- Add CloudFormation pipeline for S3 → CodeBuild → ECR
- Implement explicit artifact build script for flat deployment zip
- Provide example runtime configuration and ignore secrets
2025-12-30 16:37:09 +09:00