You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+23Lines changed: 23 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,23 @@ Push to main / feature branch
20
20
└── create-release: GitHub Release for tagged deploys
21
21
```
22
22
23
+
---
24
+
25
+
## Deployment Evidence
26
+
27
+
This lab was deployed to a temporary EC2 instance and the instance was later
28
+
destroyed after the exercise. The repo is kept as deployment automation
29
+
evidence, not as a currently running service.
30
+
31
+
| Evidence | Link |
32
+
|---|---|
33
+
| Latest successful tagged deploy |[Release and Deploy run: v1.0.20](https://github.com/darestack/github-actions-ec2-pipeline/actions/runs/18031293362)|
34
+
| GitHub release created by the workflow |[Release v1.0.20](https://github.com/darestack/github-actions-ec2-pipeline/releases/tag/v1.0.20)|
35
+
| EC2 instance from the lab |[devops-labs screenshot](https://github.com/darestack/devops-labs/blob/main/Module-3/mini-project-07/img/ec2-dashboard.png)|
| Successful Actions run |[devops-labs screenshot](https://github.com/darestack/devops-labs/blob/main/Module-3/mini-project-07/img/actions-success.png)|
38
+
| App running on the EC2 public IP |[devops-labs screenshot](https://github.com/darestack/devops-labs/blob/main/Module-3/mini-project-07/img/live-app.png)|
39
+
23
40
### Key Design Decisions
24
41
25
42
| Decision | Implementation | Why |
@@ -50,6 +67,10 @@ Triggers: manual dispatch or new tag matching `v*`
50
67
### `health-check.yml` — Uptime Monitoring
51
68
Runs hourly. Hits `/api/health` for configured environments. If a check fails, the workflow creates one health-check issue or comments on the existing open issue instead of creating duplicates.
52
69
70
+
Current scheduled health-check runs skip endpoint checks unless `PROD_URL` or
71
+
`DEV_URL` is configured. That is intentional for this archived EC2 lab: the old
72
+
host is gone, but the workflow is ready to use again if the app is re-deployed.
73
+
53
74
---
54
75
55
76
## Required GitHub Secrets
@@ -59,6 +80,8 @@ Runs hourly. Hits `/api/health` for configured environments. If a check fails, t
59
80
|`PROD_EC2_HOST`| Production EC2 hostname or IP |
60
81
|`PROD_EC2_USER`| SSH username |
61
82
|`PROD_EC2_KEY`| Private SSH key (PEM format) |
83
+
|`PROD_URL`| Optional public base URL for scheduled health checks |
84
+
|`DEV_URL`| Optional development base URL for scheduled health checks |
62
85
63
86
Also set: **Actions → General → Workflow permissions → Read and write** (allows built-in token to create releases and issues).
0 commit comments