48 Commits

Author SHA1 Message Date
af6e89274d Added preprod rules
Some checks failed
Remote Deployment Pipeline / Prepare Context (pull_request) Successful in 2s
Remote Deployment Pipeline / Deploy (Staging) (pull_request) Has been skipped
Remote Deployment Pipeline / Deploy (Dev/Preview) (pull_request) Successful in 42s
Remote Deployment Pipeline / Cleanup Preview (pull_request) Has been skipped
Remote Deployment Pipeline / Deploy (Pre-Prod) (pull_request) Failing after 56s
Remote Deployment Pipeline / Deploy (Production) (pull_request) Has been skipped
2026-01-15 22:26:05 +01:00
ef6cf2999b Test domain
Some checks failed
Remote Deployment Pipeline / Prepare Context (pull_request) Successful in 2s
Remote Deployment Pipeline / Deploy (Staging) (pull_request) Has been skipped
Remote Deployment Pipeline / Deploy (Pre-Prod) (pull_request) Failing after 53s
Remote Deployment Pipeline / Deploy (Dev/Preview) (pull_request) Successful in 41s
Remote Deployment Pipeline / Cleanup Preview (pull_request) Has been skipped
Remote Deployment Pipeline / Deploy (Production) (pull_request) Has been skipped
2026-01-15 22:23:36 +01:00
1c9be2d57d Use preprod.env
Some checks failed
Remote Deployment Pipeline / Prepare Context (pull_request) Successful in 2s
Remote Deployment Pipeline / Deploy (Staging) (pull_request) Has been skipped
Remote Deployment Pipeline / Deploy (Pre-Prod) (pull_request) Failing after 56s
Remote Deployment Pipeline / Deploy (Dev/Preview) (pull_request) Successful in 39s
Remote Deployment Pipeline / Cleanup Preview (pull_request) Has been skipped
Remote Deployment Pipeline / Deploy (Production) (pull_request) Has been skipped
2026-01-15 22:03:44 +01:00
01c5229f26 refactor: Update CI workflow to ensure environment variables are loaded for E2E tests and add conditional cleanup.
Some checks failed
Remote Deployment Pipeline / Prepare Context (pull_request) Successful in 3s
Remote Deployment Pipeline / Deploy (Staging) (pull_request) Has been skipped
Remote Deployment Pipeline / Deploy (Pre-Prod) (pull_request) Failing after 46s
Remote Deployment Pipeline / Cleanup Preview (pull_request) Has been skipped
Remote Deployment Pipeline / Deploy (Production) (pull_request) Has been skipped
Remote Deployment Pipeline / Deploy (Dev/Preview) (pull_request) Failing after 14m14s
2026-01-15 21:55:03 +01:00
50aa276c37 Reapply "test: Update default PORT and HTTPS_PORT values for E2E tests."
All checks were successful
Remote Deployment Pipeline / Prepare Context (pull_request) Successful in 3s
Remote Deployment Pipeline / Deploy (Staging) (pull_request) Has been skipped
Remote Deployment Pipeline / Deploy (Pre-Prod) (pull_request) Successful in 1m18s
Remote Deployment Pipeline / Deploy (Dev/Preview) (pull_request) Successful in 42s
Remote Deployment Pipeline / Cleanup Preview (pull_request) Has been skipped
Remote Deployment Pipeline / Deploy (Production) (pull_request) Has been skipped
This reverts commit 5920529de7.
2026-01-15 21:48:18 +01:00
f5dc53dc96 Revert "Undid workflow changes"
All checks were successful
Remote Deployment Pipeline / Prepare Context (pull_request) Successful in 2s
Remote Deployment Pipeline / Deploy (Staging) (pull_request) Has been skipped
Remote Deployment Pipeline / Deploy (Pre-Prod) (pull_request) Successful in 56s
Remote Deployment Pipeline / Deploy (Dev/Preview) (pull_request) Successful in 1m16s
Remote Deployment Pipeline / Cleanup Preview (pull_request) Has been skipped
Remote Deployment Pipeline / Deploy (Production) (pull_request) Has been skipped
This reverts commit d415f0d82f.
2026-01-15 21:47:55 +01:00
d415f0d82f Undid workflow changes
All checks were successful
Remote Deployment Pipeline / Prepare Context (pull_request) Successful in 3s
Remote Deployment Pipeline / Deploy (Staging) (pull_request) Has been skipped
Remote Deployment Pipeline / Deploy (Dev/Preview) (pull_request) Successful in 41s
Remote Deployment Pipeline / Deploy (Production) (pull_request) Has been skipped
Remote Deployment Pipeline / Cleanup Preview (pull_request) Has been skipped
2026-01-15 21:42:20 +01:00
5920529de7 Revert "test: Update default PORT and HTTPS_PORT values for E2E tests."
All checks were successful
Remote Deployment Pipeline / Prepare Context (pull_request) Successful in 2s
Remote Deployment Pipeline / Deploy (Staging) (pull_request) Has been skipped
Remote Deployment Pipeline / Deploy (Pre-Prod) (pull_request) Successful in 56s
Remote Deployment Pipeline / Deploy (Dev/Preview) (pull_request) Successful in 41s
Remote Deployment Pipeline / Cleanup Preview (pull_request) Has been skipped
Remote Deployment Pipeline / Deploy (Production) (pull_request) Has been skipped
This reverts commit c2ef3a3160.
2026-01-15 21:40:41 +01:00
c2ef3a3160 test: Update default PORT and HTTPS_PORT values for E2E tests.
All checks were successful
Remote Deployment Pipeline / Prepare Context (pull_request) Successful in 2s
Remote Deployment Pipeline / Deploy (Staging) (pull_request) Has been skipped
Remote Deployment Pipeline / Deploy (Pre-Prod) (pull_request) Successful in 1m3s
Remote Deployment Pipeline / Deploy (Dev/Preview) (pull_request) Successful in 45s
Remote Deployment Pipeline / Cleanup Preview (pull_request) Has been skipped
Remote Deployment Pipeline / Deploy (Production) (pull_request) Has been skipped
2026-01-15 21:36:09 +01:00
f60d9bb66c Moved sourcing
Some checks failed
Remote Deployment Pipeline / Prepare Context (pull_request) Successful in 2s
Remote Deployment Pipeline / Deploy (Staging) (pull_request) Has been skipped
Remote Deployment Pipeline / Deploy (Pre-Prod) (pull_request) Successful in 1m9s
Remote Deployment Pipeline / Deploy (Dev/Preview) (pull_request) Failing after 42s
Remote Deployment Pipeline / Cleanup Preview (pull_request) Has been skipped
Remote Deployment Pipeline / Deploy (Production) (pull_request) Has been skipped
2026-01-15 21:30:00 +01:00
de03b9625c Added sourcing
All checks were successful
Remote Deployment Pipeline / Prepare Context (pull_request) Successful in 2s
Remote Deployment Pipeline / Deploy (Staging) (pull_request) Has been skipped
Remote Deployment Pipeline / Deploy (Pre-Prod) (pull_request) Successful in 1m14s
Remote Deployment Pipeline / Deploy (Dev/Preview) (pull_request) Successful in 1m4s
Remote Deployment Pipeline / Cleanup Preview (pull_request) Has been skipped
Remote Deployment Pipeline / Deploy (Production) (pull_request) Has been skipped
2026-01-15 21:26:30 +01:00
44d0093069 ci: Comment out the branch condition for the pre-production deployment workflow.
All checks were successful
Remote Deployment Pipeline / Prepare Context (pull_request) Successful in 3s
Remote Deployment Pipeline / Deploy (Staging) (pull_request) Has been skipped
Remote Deployment Pipeline / Deploy (Pre-Prod) (pull_request) Successful in 1m21s
Remote Deployment Pipeline / Deploy (Dev/Preview) (pull_request) Successful in 53s
Remote Deployment Pipeline / Cleanup Preview (pull_request) Has been skipped
Remote Deployment Pipeline / Deploy (Production) (pull_request) Has been skipped
2026-01-15 21:21:47 +01:00
fc2e0cb44e Uncommented needs
All checks were successful
Remote Deployment Pipeline / Prepare Context (pull_request) Successful in 3s
Remote Deployment Pipeline / Deploy (Staging) (pull_request) Has been skipped
Remote Deployment Pipeline / Deploy (Pre-Prod) (pull_request) Has been skipped
Remote Deployment Pipeline / Deploy (Dev/Preview) (pull_request) Successful in 53s
Remote Deployment Pipeline / Cleanup Preview (pull_request) Has been skipped
Remote Deployment Pipeline / Deploy (Production) (pull_request) Has been skipped
2026-01-15 21:20:17 +01:00
7121747d35 feat: Add pre-production deployment stage with E2E tests, a dedicated environment file, and update production deployment dependency.
All checks were successful
Remote Deployment Pipeline / Prepare Context (pull_request) Successful in 2s
Remote Deployment Pipeline / Deploy (Staging) (pull_request) Has been skipped
Remote Deployment Pipeline / Deploy (Dev/Preview) (pull_request) Successful in 1m33s
Remote Deployment Pipeline / Cleanup Preview (pull_request) Has been skipped
Remote Deployment Pipeline / Deploy (Pre-Prod) (pull_request) Has been skipped
Remote Deployment Pipeline / Deploy (Production) (pull_request) Has been skipped
2026-01-15 21:17:40 +01:00
b448b47b70 Merge pull request 'chore(deps): update traefik:v3.6 docker digest to 03650d0' (#29) from renovate/traefik-v3.6 into main
All checks were successful
Remote Deployment Pipeline / Prepare Context (push) Successful in 3s
Remote Deployment Pipeline / Deploy (Staging) (push) Successful in 1m0s
Remote Deployment Pipeline / Deploy (Dev/Preview) (push) Has been skipped
Remote Deployment Pipeline / Cleanup Preview (push) Has been skipped
Remote Deployment Pipeline / Deploy (Production) (push) Successful in 1m20s
Reviewed-on: #29
2026-01-15 20:42:37 +01:00
539341dc65 chore(deps): update traefik:v3.6 docker digest to 03650d0
All checks were successful
Remote Deployment Pipeline / Prepare Context (pull_request) Successful in 4s
Remote Deployment Pipeline / Deploy (Staging) (pull_request) Has been skipped
Remote Deployment Pipeline / Deploy (Dev/Preview) (pull_request) Has been skipped
Remote Deployment Pipeline / Cleanup Preview (pull_request) Successful in 13s
Remote Deployment Pipeline / Deploy (Production) (pull_request) Has been skipped
2026-01-15 03:28:58 +00:00
86e37ef551 Merge pull request 'Added route file back' (#28) from add-route-file-back into main
All checks were successful
Remote Deployment Pipeline / Prepare Context (push) Successful in 2s
Remote Deployment Pipeline / Deploy (Staging) (push) Successful in 49s
Remote Deployment Pipeline / Deploy (Dev/Preview) (push) Has been skipped
Remote Deployment Pipeline / Cleanup Preview (push) Has been skipped
Remote Deployment Pipeline / Deploy (Production) (push) Successful in 56s
Reviewed-on: #28
2025-12-25 21:22:07 +01:00
1d30d5afad Added route file back
All checks were successful
Remote Deployment Pipeline / Prepare Context (pull_request) Successful in 3s
Remote Deployment Pipeline / Deploy (Staging) (pull_request) Has been skipped
Remote Deployment Pipeline / Deploy (Dev/Preview) (pull_request) Has been skipped
Remote Deployment Pipeline / Cleanup Preview (pull_request) Successful in 10s
Remote Deployment Pipeline / Deploy (Production) (pull_request) Has been skipped
2025-12-25 21:20:32 +01:00
ef466353b8 Merge pull request 'fix-pipeline-fail' (#27) from fix-pipeline-fail into main
All checks were successful
Remote Deployment Pipeline / Prepare Context (push) Successful in 2s
Remote Deployment Pipeline / Deploy (Staging) (push) Successful in 49s
Remote Deployment Pipeline / Deploy (Dev/Preview) (push) Has been skipped
Remote Deployment Pipeline / Cleanup Preview (push) Has been skipped
Remote Deployment Pipeline / Deploy (Production) (push) Successful in 1m1s
Reviewed-on: #27
2025-12-25 21:13:47 +01:00
6e9c0f0442 Removed new file
All checks were successful
Remote Deployment Pipeline / Prepare Context (pull_request) Successful in 3s
Remote Deployment Pipeline / Deploy (Staging) (pull_request) Has been skipped
Remote Deployment Pipeline / Deploy (Dev/Preview) (pull_request) Has been skipped
Remote Deployment Pipeline / Deploy (Production) (pull_request) Has been skipped
Remote Deployment Pipeline / Cleanup Preview (pull_request) Successful in 14s
2025-12-25 21:11:27 +01:00
ba65f0609a chore: remove staging/dev routing configuration and associated extra host entries 2025-12-25 21:09:55 +01:00
38ed72b6de Testing whether folder works (#26)
Some checks failed
Remote Deployment Pipeline / Prepare Context (push) Successful in 3s
Remote Deployment Pipeline / Deploy (Staging) (push) Successful in 51s
Remote Deployment Pipeline / Deploy (Dev/Preview) (push) Has been skipped
Remote Deployment Pipeline / Cleanup Preview (push) Has been skipped
Remote Deployment Pipeline / Deploy (Production) (push) Failing after 23m6s
Reviewed-on: #26
Co-authored-by: kovagoadi <kovagoadi@gmail.com>
Co-committed-by: kovagoadi <kovagoadi@gmail.com>
2025-12-25 20:43:31 +01:00
8c6c01b916 Setup env (#24)
All checks were successful
Remote Deployment Pipeline / Prepare Context (push) Successful in 3s
Remote Deployment Pipeline / Deploy (Staging) (push) Successful in 51s
Remote Deployment Pipeline / Deploy (Dev/Preview) (push) Has been skipped
Remote Deployment Pipeline / Cleanup Preview (push) Has been skipped
Remote Deployment Pipeline / Deploy (Production) (push) Successful in 1m1s
Reviewed-on: #24
Co-authored-by: kovagoadi <kovagoadi@gmail.com>
Co-committed-by: kovagoadi <kovagoadi@gmail.com>
2025-12-20 15:12:51 +01:00
249f3030c3 Merge pull request 'Update traefik:v3.6 Docker digest to 6762263' (#25) from renovate/traefik-v3.6 into main
All checks were successful
Remote Deployment Pipeline / Prepare Context (push) Successful in 2s
Remote Deployment Pipeline / Deploy (Staging) (push) Successful in 48s
Remote Deployment Pipeline / Deploy (Dev/Preview) (push) Has been skipped
Remote Deployment Pipeline / Cleanup Preview (push) Has been skipped
Remote Deployment Pipeline / Deploy (Production) (push) Successful in 1m16s
Reviewed-on: #25
2025-12-20 14:15:18 +01:00
5678f43f4c Update traefik:v3.6 Docker digest to 6762263
All checks were successful
Remote Deployment Pipeline / Prepare Context (pull_request) Successful in 2s
Remote Deployment Pipeline / Deploy (Staging) (pull_request) Has been skipped
Remote Deployment Pipeline / Deploy (Dev/Preview) (pull_request) Has been skipped
Remote Deployment Pipeline / Cleanup Preview (pull_request) Successful in 10s
Remote Deployment Pipeline / Deploy (Production) (pull_request) Has been skipped
2025-12-20 03:23:06 +00:00
9de4b3a699 Merge pull request 'Update traefik:v3.6 Docker digest to 4ec25d3' (#23) from renovate/traefik-v3.6 into main
All checks were successful
Remote Deployment Pipeline / Prepare Context (push) Successful in 2s
Remote Deployment Pipeline / Deploy (Staging) (push) Successful in 48s
Remote Deployment Pipeline / Deploy (Dev/Preview) (push) Has been skipped
Remote Deployment Pipeline / Cleanup Preview (push) Has been skipped
Remote Deployment Pipeline / Deploy (Production) (push) Successful in 56s
Reviewed-on: #23
2025-12-19 19:55:27 +01:00
83984df467 Update traefik:v3.6 Docker digest to 4ec25d3
All checks were successful
Remote Deployment Pipeline / Prepare Context (pull_request) Successful in 3s
Remote Deployment Pipeline / Deploy (Staging) (pull_request) Has been skipped
Remote Deployment Pipeline / Deploy (Dev/Preview) (pull_request) Has been skipped
Remote Deployment Pipeline / Cleanup Preview (pull_request) Successful in 10s
Remote Deployment Pipeline / Deploy (Production) (pull_request) Has been skipped
2025-12-19 03:28:04 +00:00
7e253b5046 Merge pull request 'Update traefik:v3.6 Docker digest to 2979bff' (#22) from renovate/traefik-v3.6 into main
All checks were successful
Remote Deployment Pipeline / Prepare Context (push) Successful in 2s
Remote Deployment Pipeline / Deploy (Staging) (push) Successful in 47s
Remote Deployment Pipeline / Deploy (Dev/Preview) (push) Has been skipped
Remote Deployment Pipeline / Cleanup Preview (push) Has been skipped
Remote Deployment Pipeline / Deploy (Production) (push) Successful in 54s
Reviewed-on: #22
2025-12-17 23:56:27 +01:00
dd7aeb8f39 Update traefik:v3.6 Docker digest to 2979bff
All checks were successful
Remote Deployment Pipeline / Prepare Context (pull_request) Successful in 2s
Remote Deployment Pipeline / Deploy (Staging) (pull_request) Has been skipped
Remote Deployment Pipeline / Deploy (Dev/Preview) (pull_request) Has been skipped
Remote Deployment Pipeline / Cleanup Preview (pull_request) Successful in 11s
Remote Deployment Pipeline / Deploy (Production) (pull_request) Has been skipped
2025-12-17 03:27:39 +00:00
f9ca764aa3 Merge pull request 'Update traefik:v3.6 Docker digest to c5bd185' (#21) from renovate/traefik-v3.6 into main
All checks were successful
Remote Deployment Pipeline / Prepare Context (push) Successful in 2s
Remote Deployment Pipeline / Deploy (Staging) (push) Successful in 49s
Remote Deployment Pipeline / Deploy (Dev/Preview) (push) Has been skipped
Remote Deployment Pipeline / Cleanup Preview (push) Has been skipped
Remote Deployment Pipeline / Deploy (Production) (push) Successful in 57s
Reviewed-on: #21
2025-12-08 11:54:38 +01:00
5d465f75c3 Update traefik:v3.6 Docker digest to c5bd185
All checks were successful
Remote Deployment Pipeline / Prepare Context (pull_request) Successful in 3s
Remote Deployment Pipeline / Deploy (Staging) (pull_request) Has been skipped
Remote Deployment Pipeline / Deploy (Dev/Preview) (pull_request) Has been skipped
Remote Deployment Pipeline / Deploy (Production) (pull_request) Has been skipped
Remote Deployment Pipeline / Cleanup Preview (pull_request) Successful in 11s
2025-12-08 03:27:50 +00:00
23d99e7a9f Merge pull request 'Update traefik:v3.6 Docker digest to d01757c' (#20) from renovate/traefik-v3.6 into main
All checks were successful
Remote Deployment Pipeline / Prepare Context (push) Successful in 3s
Remote Deployment Pipeline / Deploy (Staging) (push) Successful in 5m3s
Remote Deployment Pipeline / Deploy (Dev/Preview) (push) Has been skipped
Remote Deployment Pipeline / Cleanup Preview (push) Has been skipped
Remote Deployment Pipeline / Deploy (Production) (push) Successful in 1m1s
Reviewed-on: #20
2025-12-06 12:55:37 +01:00
0f1770e1c0 Update traefik:v3.6 Docker digest to d01757c
All checks were successful
Remote Deployment Pipeline / Prepare Context (pull_request) Successful in 3s
Remote Deployment Pipeline / Deploy (Staging) (pull_request) Has been skipped
Remote Deployment Pipeline / Deploy (Dev/Preview) (pull_request) Has been skipped
Remote Deployment Pipeline / Cleanup Preview (pull_request) Successful in 16s
Remote Deployment Pipeline / Deploy (Production) (pull_request) Has been skipped
2025-12-06 03:27:57 +00:00
7b014c9eb2 Merge pull request 'Update actions/checkout digest to 8e8c483' (#19) from renovate/actions-checkout-digest into main
All checks were successful
Remote Deployment Pipeline / Prepare Context (push) Successful in 2s
Remote Deployment Pipeline / Deploy (Staging) (push) Successful in 44s
Remote Deployment Pipeline / Deploy (Dev/Preview) (push) Has been skipped
Remote Deployment Pipeline / Cleanup Preview (push) Has been skipped
Remote Deployment Pipeline / Deploy (Production) (push) Successful in 43s
Reviewed-on: #19
2025-12-03 11:17:20 +01:00
29b45882a2 Update actions/checkout digest to 8e8c483
All checks were successful
Remote Deployment Pipeline / Prepare Context (pull_request) Successful in 2s
Remote Deployment Pipeline / Deploy (Staging) (pull_request) Has been skipped
Remote Deployment Pipeline / Deploy (Dev/Preview) (pull_request) Has been skipped
Remote Deployment Pipeline / Deploy (Production) (pull_request) Has been skipped
Remote Deployment Pipeline / Cleanup Preview (pull_request) Successful in 10s
2025-12-03 03:23:53 +00:00
70751a19ff Update actions/checkout action to v6 (#18)
All checks were successful
Remote Deployment Pipeline / Prepare Context (push) Successful in 2s
Remote Deployment Pipeline / Deploy (Staging) (push) Successful in 43s
Remote Deployment Pipeline / Deploy (Dev/Preview) (push) Has been skipped
Remote Deployment Pipeline / Cleanup Preview (push) Has been skipped
Remote Deployment Pipeline / Deploy (Production) (push) Successful in 46s
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [actions/checkout](https://github.com/actions/checkout) | action | major | `v4` -> `v6` |

---

### Release Notes

<details>
<summary>actions/checkout (actions/checkout)</summary>

### [`v6`](https://github.com/actions/checkout/compare/v5...v6)

[Compare Source](https://github.com/actions/checkout/compare/v5...v6)

### [`v5`](https://github.com/actions/checkout/compare/v4...v5)

[Compare Source](https://github.com/actions/checkout/compare/v4...v5)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi4yNi4xMSIsInVwZGF0ZWRJblZlciI6IjQyLjI2LjExIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: kovagoadi <kovagoadi@kovagoadi.hu>
Reviewed-on: #18
Co-authored-by: Renovate Bot <renovate@kovagoadi.hu>
Co-committed-by: Renovate Bot <renovate@kovagoadi.hu>
2025-12-01 10:09:18 +01:00
a9a3f0b186 Update easingthemes/ssh-deploy action to v5.1.1 (#17)
All checks were successful
Remote Deployment Pipeline / Prepare Context (push) Successful in 2s
Remote Deployment Pipeline / Deploy (Staging) (push) Successful in 45s
Remote Deployment Pipeline / Deploy (Dev/Preview) (push) Has been skipped
Remote Deployment Pipeline / Cleanup Preview (push) Has been skipped
Remote Deployment Pipeline / Deploy (Production) (push) Successful in 44s
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [easingthemes/ssh-deploy](https://github.com/easingthemes/ssh-deploy) | action | minor | `v5.0.0` -> `v5.1.1` |

---

### Release Notes

<details>
<summary>easingthemes/ssh-deploy (easingthemes/ssh-deploy)</summary>

### [`v5.1.1`](https://github.com/easingthemes/ssh-deploy/compare/v5.1.0...v5.1.1)

[Compare Source](https://github.com/easingthemes/ssh-deploy/compare/v5.1.0...v5.1.1)

### [`v5.1.0`](https://github.com/easingthemes/ssh-deploy/releases/tag/v5.1.0)

[Compare Source](https://github.com/easingthemes/ssh-deploy/compare/v5.0.3...v5.1.0)

##### What's Changed

- Feature: Delete Script After Execution by [@&#8203;Armadillidiid](https://github.com/Armadillidiid) in [#&#8203;184](https://github.com/easingthemes/ssh-deploy/pull/184)

##### New Contributors

- [@&#8203;Armadillidiid](https://github.com/Armadillidiid) made their first contribution in [#&#8203;184](https://github.com/easingthemes/ssh-deploy/pull/184)

**Full Changelog**: <https://github.com/easingthemes/ssh-deploy/compare/v5.0.3...v5.1.0>

### [`v5.0.3`](https://github.com/easingthemes/ssh-deploy/releases/tag/v5.0.3)

[Compare Source](https://github.com/easingthemes/ssh-deploy/compare/v5.0.2...v5.0.3)

##### What's Changed

- Update actions to Node.js 20 by [@&#8203;alekw](https://github.com/alekw) in [#&#8203;180](https://github.com/easingthemes/ssh-deploy/pull/180)

##### New Contributors

- [@&#8203;alekw](https://github.com/alekw) made their first contribution in [#&#8203;180](https://github.com/easingthemes/ssh-deploy/pull/180)

**Full Changelog**: <https://github.com/easingthemes/ssh-deploy/compare/v5.0.2...v5.0.3>

### [`v5.0.2`](https://github.com/easingthemes/ssh-deploy/releases/tag/v5.0.2)

[Compare Source](https://github.com/easingthemes/ssh-deploy/compare/v5.0.1...v5.0.2)

##### What's Changed

- fix: added the missing declarations [#&#8203;177](https://github.com/easingthemes/ssh-deploy/issues/177) by [@&#8203;skyArony](https://github.com/skyArony) in [#&#8203;178](https://github.com/easingthemes/ssh-deploy/pull/178)

##### New Contributors

- [@&#8203;skyArony](https://github.com/skyArony) made their first contribution in [#&#8203;178](https://github.com/easingthemes/ssh-deploy/pull/178)

**Full Changelog**: <https://github.com/easingthemes/ssh-deploy/compare/v5.0.1...v5.0.2>

### [`v5.0.1`](https://github.com/easingthemes/ssh-deploy/compare/v5.0.0...v5.0.1)

[Compare Source](https://github.com/easingthemes/ssh-deploy/compare/v5.0.0...v5.0.1)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi4yNi4xMSIsInVwZGF0ZWRJblZlciI6IjQyLjI2LjExIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: kovagoadi <kovagoadi@kovagoadi.hu>
Reviewed-on: https://gitea.kovagoadi.hu/kovagoadi.hu/traefik/pulls/17
Co-authored-by: Renovate Bot <renovate@kovagoadi.hu>
Co-committed-by: Renovate Bot <renovate@kovagoadi.hu>
2025-12-01 10:06:21 +01:00
707fed06c7 Update appleboy/ssh-action action to v1.2.4 (#16)
All checks were successful
Remote Deployment Pipeline / Prepare Context (push) Successful in 3s
Remote Deployment Pipeline / Deploy (Staging) (push) Successful in 42s
Remote Deployment Pipeline / Deploy (Dev/Preview) (push) Has been skipped
Remote Deployment Pipeline / Cleanup Preview (push) Has been skipped
Remote Deployment Pipeline / Deploy (Production) (push) Successful in 42s
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [appleboy/ssh-action](https://github.com/appleboy/ssh-action) | action | minor | `v1.0.3` -> `v1.2.4` |

---

### Release Notes

<details>
<summary>appleboy/ssh-action (appleboy/ssh-action)</summary>

### [`v1.2.4`](https://github.com/appleboy/ssh-action/releases/tag/v1.2.4)

[Compare Source](https://github.com/appleboy/ssh-action/compare/v1.2.3...v1.2.4)

#### Changelog

##### Enhancements

- [`4e3535e`](4e3535e14e): chore: bump default DRONE\_SSH\_VERSION to 1.8.2 ([@&#8203;appleboy](https://github.com/appleboy))

##### Build process updates

- [`823bd89`](823bd89e13): ci: trigger GitHub Actions workflows only on version tags ([@&#8203;appleboy](https://github.com/appleboy))

##### Documentation updates

- [`652a0be`](652a0bee3c): docs: update CI documentation and workflow references ([@&#8203;appleboy](https://github.com/appleboy))
- [`f6208e0`](f6208e096d): docs: document and demonstrate capturing and using command output ([@&#8203;appleboy](https://github.com/appleboy))

### [`v1.2.3`](https://github.com/appleboy/ssh-action/releases/tag/v1.2.3)

[Compare Source](https://github.com/appleboy/ssh-action/compare/v1.2.2...v1.2.3)

#### Changelog

##### Features

- [`20d5c5b`](20d5c5bbc9): feat: add configurable curl insecure flag to GitHub action ([@&#8203;appleboy](https://github.com/appleboy))

##### Bug fixes

- [`170eebb`](170eebb2ee): fix: enhance binary download flow with robust error handling ([#&#8203;394](https://github.com/appleboy/ssh-action/issues/394)) ([@&#8203;appleboy](https://github.com/appleboy))

##### Enhancements

- [`b27b9f8`](b27b9f8968): chore: refactor system to improve efficiency and update API usage ([@&#8203;appleboy](https://github.com/appleboy))
- [`0e19dd9`](0e19dd962d): chore: improve robustness and consistency across multiple scripts ([@&#8203;appleboy](https://github.com/appleboy))

##### Refactor

- [`b6690ee`](b6690ee817): refactor: improve error handling and code readability across scripts ([#&#8203;374](https://github.com/appleboy/ssh-action/issues/374)) ([@&#8203;appleboy](https://github.com/appleboy))

##### Build process updates

- [`2b3c650`](2b3c6504b3): ci: unify and enhance GitHub workflow configurations ([@&#8203;appleboy](https://github.com/appleboy))
- [`ffd1eec`](ffd1eec364): ci: add workflow step for multi-command SSH testing ([#&#8203;386](https://github.com/appleboy/ssh-action/issues/386)) ([@&#8203;appleboy](https://github.com/appleboy))
- [`53f5c5c`](53f5c5cedf): ci: add automated Trivy security scanning via GitHub Actions ([@&#8203;appleboy](https://github.com/appleboy))

##### Documentation updates

- [`52a1840`](52a1840ca6): docs: update SSH action version to v1 in all README files ([#&#8203;372](https://github.com/appleboy/ssh-action/issues/372)) ([@&#8203;appleboy](https://github.com/appleboy))
- [`689de3c`](689de3cf64): docs: improve CLI messaging and error clarity for users ([@&#8203;appleboy](https://github.com/appleboy))
- [`9ca1cd2`](9ca1cd2174): docs: document the new `curl_insecure` configuration option ([@&#8203;appleboy](https://github.com/appleboy))
- [`bd83ba7`](bd83ba7e2b): docs: document and configure drone-ssh version usage ([#&#8203;381](https://github.com/appleboy/ssh-action/issues/381)) ([@&#8203;appleboy](https://github.com/appleboy))
- [`b80f638`](b80f638dc4): docs: rewrite and unify documentation across all supported languages ([@&#8203;appleboy](https://github.com/appleboy))
- [`c7fbbc9`](c7fbbc9208): docs: add table of contents to multilingual README files ([@&#8203;appleboy](https://github.com/appleboy))
- [`4d84f05`](4d84f0522a): docs: revamp and unify multi-language readme documentation ([@&#8203;appleboy](https://github.com/appleboy))
- [`8f3cc07`](8f3cc07719): docs: add comprehensive tables of contents to all README files ([@&#8203;appleboy](https://github.com/appleboy))
- [`8745f95`](8745f9583c): docs: restructure and clarify parameter documentation across all readmes ([@&#8203;appleboy](https://github.com/appleboy))
- [`57f6f35`](57f6f3556d): docs(readme): better wording for script\_path property ([#&#8203;387](https://github.com/appleboy/ssh-action/issues/387)) ([@&#8203;kontur](https://github.com/kontur))
- [`3ca8a7c`](3ca8a7c535): docs: clarify script\_path usage in Chinese remote execution docs ([@&#8203;appleboy](https://github.com/appleboy))
- [`c680069`](c680069d84): docs: add comprehensive documentation for project setup and usage ([@&#8203;appleboy](https://github.com/appleboy))
- [`91f3272`](91f3272fc5): docs: add Trivy security scan badge to all documentation ([@&#8203;appleboy](https://github.com/appleboy))

### [`v1.2.2`](https://github.com/appleboy/ssh-action/releases/tag/v1.2.2)

[Compare Source](https://github.com/appleboy/ssh-action/compare/v1.2.1...v1.2.2)

#### Changelog

##### Enhancements

- [`b0a8f32`](b0a8f324e1): chore: bump DRONE\_SSH version to 1.8.1 ([@&#8203;appleboy](https://github.com/appleboy))
- [`2ead5e3`](2ead5e3657): chore: update action version across workflows and documentation ([@&#8203;appleboy](https://github.com/appleboy))

##### Documentation updates

- [`9817ef4`](9817ef4a17): docs(readme): set -e for script\_stop functionality ([#&#8203;368](https://github.com/appleboy/ssh-action/issues/368)) ([@&#8203;Setland34](https://github.com/Setland34))
- [`9273705`](92737056c0): docs: improve documentation and defaults for execution and security ([@&#8203;appleboy](https://github.com/appleboy))
- [`d99ccf8`](d99ccf8c09): docs: improve documentation clarity and consistency ([@&#8203;appleboy](https://github.com/appleboy))
- [`01a5359`](01a53594eb): docs: enhance language support and improve documentation clarity ([@&#8203;appleboy](https://github.com/appleboy))
- [`48992f2`](48992f2e2c): docs: prioritize English in language selection options ([@&#8203;appleboy](https://github.com/appleboy))
- [`039c9e0`](039c9e07bb): docs: update README with private key instructions in multiple languages ([@&#8203;appleboy](https://github.com/appleboy))
- [`a0a0326`](a0a0326939): docs: clarify parameter descriptions for improved documentation ([@&#8203;appleboy](https://github.com/appleboy))

### [`v1.2.1`](https://github.com/appleboy/ssh-action/releases/tag/v1.2.1)

[Compare Source](https://github.com/appleboy/ssh-action/compare/v1.2.0...v1.2.1)

#### Changelog

##### Features

- [`102c0d2`](102c0d2e5f): feat: capture stdout and store as output ([#&#8203;287](https://github.com/appleboy/ssh-action/issues/287)) ([@&#8203;GammaGames](https://github.com/GammaGames))

##### Enhancements

- [`8fdfeb0`](8fdfeb034e): chore(github): update `appleboy/ssh-action` to version `v1.2.0` across workflows ([@&#8203;appleboy](https://github.com/appleboy))
- [`43d4ebb`](43d4ebbb72): chore: Add test to stable workflow for script\_path ([#&#8203;347](https://github.com/appleboy/ssh-action/issues/347)) ([@&#8203;kyle-leonhard](https://github.com/kyle-leonhard))
- [`8faa842`](8faa84277b): chore: standardize formatting and update dependencies in workflows ([@&#8203;appleboy](https://github.com/appleboy))

##### Build process updates

- [`1c1ad10`](1c1ad10f6d): ci(action): remove script stop functionality from project ([#&#8203;350](https://github.com/appleboy/ssh-action/issues/350)) ([@&#8203;appleboy](https://github.com/appleboy))
- [`e13c387`](e13c387332): ci(action): display an environment variable with special characters ([#&#8203;351](https://github.com/appleboy/ssh-action/issues/351)) ([@&#8203;appleboy](https://github.com/appleboy))
- [`66aa4d3`](66aa4d343b): ci: add SSH testing job to GitHub Actions workflow ([#&#8203;355](https://github.com/appleboy/ssh-action/issues/355)) ([@&#8203;appleboy](https://github.com/appleboy))
- [`86aa40d`](86aa40ddb7): ci: add SSH server testing to GitHub Actions workflow ([@&#8203;appleboy](https://github.com/appleboy))

##### Documentation updates

- [`a8952eb`](a8952ebe2a): docs(readme): update documentation for GitHub Actions and Docker support ([@&#8203;appleboy](https://github.com/appleboy))
- [`cec69ef`](cec69ef231): docs(readme): standardize terminology and capitalization across project ([@&#8203;appleboy](https://github.com/appleboy))
- [`a9e2fdf`](a9e2fdf08d): docs(readme): improve README structure and add new input variables ([@&#8203;appleboy](https://github.com/appleboy))
- [`6137f73`](6137f733fb): docs: improve project documentation and organization ([@&#8203;appleboy](https://github.com/appleboy))
- [`b76e617`](b76e6173e8): docs(readme): standardize and format README files across languages ([@&#8203;appleboy](https://github.com/appleboy))
- [`4853185`](48531853a7): docs(readme): refactor README files to improve language link structure ([@&#8203;appleboy](https://github.com/appleboy))
- [`49751ff`](49751ff516): docs: standardize `script_file` naming to `script_path` in documentation ([#&#8203;360](https://github.com/appleboy/ssh-action/issues/360)) ([@&#8203;appleboy](https://github.com/appleboy))

### [`v1.2.0`](https://github.com/appleboy/ssh-action/releases/tag/v1.2.0)

[Compare Source](https://github.com/appleboy/ssh-action/compare/v1.1.0...v1.2.0)

#### Changelog

##### Features

- [`703ffa3`](703ffa3c1e): feat(actions): enhance system performance and API integration ([@&#8203;appleboy](https://github.com/appleboy))

##### Bug fixes

- [`3f14168`](3f1416813d): fix: typo in success message ([#&#8203;340](https://github.com/appleboy/ssh-action/issues/340)) ([@&#8203;1ukastesar](https://github.com/1ukastesar))
- [`25259c3`](25259c3d50): fix: refactor and enhance API and testing infrastructure ([@&#8203;appleboy](https://github.com/appleboy))

##### Enhancements

- [`bb32884`](bb32884d53): chore: enhance CI/CD workflows and documentation formatting ([@&#8203;appleboy](https://github.com/appleboy))
- [`362a7f1`](362a7f1677): chore: support running commands from a file ([#&#8203;341](https://github.com/appleboy/ssh-action/issues/341)) ([@&#8203;kyle-leonhard](https://github.com/kyle-leonhard))
- [`176437b`](176437b548): chore: refactor codebase for improved consistency and performance ([@&#8203;appleboy](https://github.com/appleboy))

##### Refactor

- [`bf84378`](bf84378588): refactor: refactor codebase and improve API performance ([@&#8203;appleboy](https://github.com/appleboy))

##### Build process updates

- [`2763143`](2763143a97): ci(script): enhance CI workflows and API integration ([@&#8203;appleboy](https://github.com/appleboy))
- [`8b84eae`](8b84eaec3a): ci(script): improve CI robustness and coverage across environments ([@&#8203;appleboy](https://github.com/appleboy))

##### Documentation updates

- [`ab698e5`](ab698e59d8): docs(readme): enhance network protocol support and testing ([@&#8203;appleboy](https://github.com/appleboy))
- [`7eaf766`](7eaf76671a): docs(readme): update SSH action and enhance Chinese README files ([@&#8203;appleboy](https://github.com/appleboy))

### [`v1.1.0`](https://github.com/appleboy/ssh-action/releases/tag/v1.1.0)

[Compare Source](https://github.com/appleboy/ssh-action/compare/v1.0.3...v1.1.0)

#### Changelog

##### Bug fixes

- [`0c7561b`](0c7561b1a3): fix: switch to SSH key authentication for security ([@&#8203;appleboy](https://github.com/appleboy))

##### Enhancements

- [`9b978f0`](9b978f09f2): chore: update SSH action version in README files ([@&#8203;appleboy](https://github.com/appleboy))
- [`1991c55`](1991c553ec): chore(file): update target file ([@&#8203;appleboy](https://github.com/appleboy))
- [`aa293c2`](aa293c24bb): chore: optimize system configuration and API integration ([@&#8203;appleboy](https://github.com/appleboy))
- [`036cad7`](036cad7df7): chore: update drone-ssh to version 1.7.7 ([@&#8203;appleboy](https://github.com/appleboy))
- [`8b60782`](8b6078208d): chore(cli): enhance version handling and testing mechanisms ([@&#8203;appleboy](https://github.com/appleboy))
- [`5ade826`](5ade826485): chore: improve CLI reliability and version visibility ([@&#8203;appleboy](https://github.com/appleboy))
- [`eaeb069`](eaeb06998d): chore(cli): enhance curl command with silent mode and redirects ([@&#8203;appleboy](https://github.com/appleboy))
- [`58164d0`](58164d0dc2): chore: remove Dockerfile and related configurations ([@&#8203;appleboy](https://github.com/appleboy))

##### Refactor

- [`da612c8`](da612c8015): refactor: optimize CI pipeline for faster execution ([@&#8203;appleboy](https://github.com/appleboy))

##### Build process updates

- [`c781418`](c78141851a): ci: enhance GitHub Actions for IPv6 and flexibility ([#&#8203;303](https://github.com/appleboy/ssh-action/issues/303)) ([@&#8203;appleboy](https://github.com/appleboy))
- [`d2d6858`](d2d6858859): ci: enhance GitHub workflow for SSH actions and deployments ([@&#8203;appleboy](https://github.com/appleboy))
- [`551964e`](551964ebda): ci: optimize GitHub Actions workflow configuration ([@&#8203;appleboy](https://github.com/appleboy))
- [`f916346`](f916346256): ci: refactor CI workflow and improve robustness ([#&#8203;320](https://github.com/appleboy/ssh-action/issues/320)) ([@&#8203;appleboy](https://github.com/appleboy))
- [`aabaf12`](aabaf1254d): ci: add bug report template ([@&#8203;appleboy](https://github.com/appleboy))
- [`c8594ae`](c8594ae37d): ci: implement GitHub Actions for remote SSH execution ([@&#8203;appleboy](https://github.com/appleboy))
- [`40aad53`](40aad53c5a): ci: add SSH authentication setup for GitHub Actions ([@&#8203;appleboy](https://github.com/appleboy))
- [`0b0e770`](0b0e77098a): ci: optimize and enhance SSH server workflow ([@&#8203;appleboy](https://github.com/appleboy))
- [`977b74a`](977b74a12d): ci: enhance CI workflow with SSH job and optimizations ([@&#8203;appleboy](https://github.com/appleboy))
- [`2eeab5b`](2eeab5bdba): ci: refactor GitHub Actions key management ([@&#8203;appleboy](https://github.com/appleboy))
- [`acd41e5`](acd41e5091): ci: enhance SSH job testing with varied key/password scenarios ([@&#8203;appleboy](https://github.com/appleboy))
- [`f05aefe`](f05aefe351): ci: enhance SSH action configuration and error handling ([@&#8203;appleboy](https://github.com/appleboy))
- [`e40b597`](e40b597081): ci: add GitHub Actions job for SSH key passphrase support ([@&#8203;appleboy](https://github.com/appleboy))
- [`15b64dc`](15b64dc891): ci: enhance CI pipeline with SSH key handling improvements ([@&#8203;appleboy](https://github.com/appleboy))
- [`a39b3cc`](a39b3cce7d): ci: enhance CI/CD pipeline with SSH command execution ([@&#8203;appleboy](https://github.com/appleboy))
- [`815c574`](815c5743ac): ci: enhance deployment with multi-host SSH action ([@&#8203;appleboy](https://github.com/appleboy))
- [`378323e`](378323e4c8): ci: add multi-server support to CI workflow ([@&#8203;appleboy](https://github.com/appleboy))
- [`fc1c1fc`](fc1c1fce51): ci: add GitHub Actions job for [`ed25519`](https://github.com/appleboy/ssh-action/commit/ed25519) key support ([@&#8203;appleboy](https://github.com/appleboy))
- [`f0e5a23`](f0e5a23d53): ci: add environment variable handling in GitHub Actions ([@&#8203;appleboy](https://github.com/appleboy))
- [`9c32aa6`](9c32aa61f8): ci: refactor workflows and API integrations ([@&#8203;appleboy](https://github.com/appleboy))
- [`97f8d75`](97f8d752b5): ci: enable root access in CI pipeline ([@&#8203;appleboy](https://github.com/appleboy))
- [`5a8776f`](5a8776fd15): ci: switch to password authentication in GitHub workflow ([@&#8203;appleboy](https://github.com/appleboy))
- [`b6941ae`](b6941ae5d5): ci: refactor codebase and optimize performance ([@&#8203;appleboy](https://github.com/appleboy))
- [`43895f2`](43895f2cd5): ci: refactor SSH testing workflows and job configurations ([@&#8203;appleboy](https://github.com/appleboy))
- [`06fa62e`](06fa62e61c): ci: rename the workflow files. ([@&#8203;appleboy](https://github.com/appleboy))
- [`b4a07ca`](b4a07ca594): ci: enhance GitHub Actions with secret variable support ([#&#8203;330](https://github.com/appleboy/ssh-action/issues/330)) ([@&#8203;appleboy](https://github.com/appleboy))
- [`25ce8cb`](25ce8cbbcb): ci: implement automated release workflow with GoReleaser ([@&#8203;appleboy](https://github.com/appleboy))

##### Documentation updates

- [`8a779a5`](8a779a5b1a): docs: describe true usage of allenvs parameter ([#&#8203;301](https://github.com/appleboy/ssh-action/issues/301)) ([@&#8203;hussu010](https://github.com/hussu010))
- [`fe44be0`](fe44be0b96): docs: improve documentation and CI robustness ([@&#8203;appleboy](https://github.com/appleboy))
- [`dd0f09c`](dd0f09ca07): docs: improve README clarity and completeness ([@&#8203;appleboy](https://github.com/appleboy))
- [`71d43ea`](71d43ea0f7): docs: improve documentation and testing configurations ([@&#8203;appleboy](https://github.com/appleboy))
- [`28428a1`](28428a13f5): docs: improve cross-platform clipboard support for key copying ([@&#8203;appleboy](https://github.com/appleboy))
- [`d732991`](d732991ab0): docs(lang): README.zh-cn Document ([#&#8203;332](https://github.com/appleboy/ssh-action/issues/332)) ([@&#8203;astralwaveio](https://github.com/astralwaveio))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi4yNi4xMSIsInVwZGF0ZWRJblZlciI6IjQyLjI2LjExIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Reviewed-on: https://gitea.kovagoadi.hu/kovagoadi.hu/traefik/pulls/16
Co-authored-by: Renovate Bot <renovate@kovagoadi.hu>
Co-committed-by: Renovate Bot <renovate@kovagoadi.hu>
2025-12-01 10:03:23 +01:00
23e65c4014 Merge pull request 'Pin dependencies' (#15) from renovate/pin-dependencies into main
All checks were successful
Remote Deployment Pipeline / Prepare Context (push) Successful in 3s
Remote Deployment Pipeline / Deploy (Staging) (push) Successful in 46s
Remote Deployment Pipeline / Deploy (Dev/Preview) (push) Has been skipped
Remote Deployment Pipeline / Cleanup Preview (push) Has been skipped
Remote Deployment Pipeline / Deploy (Production) (push) Successful in 47s
Reviewed-on: #15
2025-11-30 21:18:22 +01:00
de7c379fe2 Pin dependencies
All checks were successful
Remote Deployment Pipeline / Prepare Context (pull_request) Successful in 3s
Remote Deployment Pipeline / Deploy (Staging) (pull_request) Has been skipped
Remote Deployment Pipeline / Deploy (Dev/Preview) (pull_request) Has been skipped
Remote Deployment Pipeline / Deploy (Production) (pull_request) Has been skipped
Remote Deployment Pipeline / Cleanup Preview (pull_request) Successful in 9s
2025-11-30 03:23:40 +00:00
10a20a555d Added volume and set error exit (#14)
All checks were successful
Remote Deployment Pipeline / Prepare Context (push) Successful in 2s
Remote Deployment Pipeline / Deploy (Staging) (push) Successful in 1m10s
Remote Deployment Pipeline / Deploy (Dev/Preview) (push) Has been skipped
Remote Deployment Pipeline / Cleanup Preview (push) Has been skipped
Remote Deployment Pipeline / Deploy (Production) (push) Successful in 1m15s
Reviewed-on: #14
Co-authored-by: kovagoadi <kovagoadi@gmail.com>
Co-committed-by: kovagoadi <kovagoadi@gmail.com>
2025-11-29 19:55:18 +01:00
a12904d7a6 Add LEGACY_NETWORK variable to environment files (#13)
All checks were successful
Remote Deployment Pipeline / Prepare Context (push) Successful in 3s
Remote Deployment Pipeline / Deploy (Staging) (push) Successful in 55s
Remote Deployment Pipeline / Deploy (Dev/Preview) (push) Has been skipped
Remote Deployment Pipeline / Cleanup Preview (push) Has been skipped
Remote Deployment Pipeline / Deploy (Production) (push) Successful in 10m47s
Reviewed-on: #13
Co-authored-by: kovagoadi <kovagoadi@gmail.com>
Co-committed-by: kovagoadi <kovagoadi@gmail.com>
2025-11-29 19:41:51 +01:00
17deabc0e9 Merge pull request 'Moved to real port numbers' (#12) from move-to-real-port into main
All checks were successful
Remote Deployment Pipeline / Prepare deployment vars (push) Successful in 3s
Remote Deployment Pipeline / Create remote directory (push) Successful in 5s
Remote Deployment Pipeline / Cleanup MR environment (push) Has been skipped
Remote Deployment Pipeline / Sync repository files (push) Successful in 20s
Remote Deployment Pipeline / Run docker-compose remotely (Dev) (push) Has been skipped
Remote Deployment Pipeline / Run docker-compose remotely (Staging) (push) Successful in 6s
Remote Deployment Pipeline / Run docker-compose remotely (Prod) (push) Successful in 9s
Reviewed-on: #12
2025-11-28 00:13:53 +01:00
960a5631d0 Moved to real port numbers
All checks were successful
Remote Deployment Pipeline / Prepare deployment vars (pull_request) Successful in 3s
Remote Deployment Pipeline / Create remote directory (pull_request) Has been skipped
Remote Deployment Pipeline / Cleanup MR environment (pull_request) Successful in 9s
Remote Deployment Pipeline / Sync repository files (pull_request) Has been skipped
Remote Deployment Pipeline / Run docker-compose remotely (Dev) (pull_request) Has been skipped
Remote Deployment Pipeline / Run docker-compose remotely (Staging) (pull_request) Has been skipped
Remote Deployment Pipeline / Run docker-compose remotely (Prod) (pull_request) Has been skipped
2025-11-28 00:12:41 +01:00
2702b73798 Initial migration from legacy nginx (#11)
All checks were successful
Remote Deployment Pipeline / Prepare deployment vars (push) Successful in 2s
Remote Deployment Pipeline / Create remote directory (push) Successful in 5s
Remote Deployment Pipeline / Cleanup MR environment (push) Has been skipped
Remote Deployment Pipeline / Sync repository files (push) Successful in 19s
Remote Deployment Pipeline / Run docker-compose remotely (Dev) (push) Has been skipped
Remote Deployment Pipeline / Run docker-compose remotely (Staging) (push) Successful in 11s
Remote Deployment Pipeline / Run docker-compose remotely (Prod) (push) Successful in 10s
Reviewed-on: #11
Co-authored-by: kovagoadi <kovagoadi@gmail.com>
Co-committed-by: kovagoadi <kovagoadi@gmail.com>
2025-11-27 23:58:43 +01:00
931008367d Merge pull request 'Update actions/checkout action to v6' (#10) from renovate/actions-checkout-6.x into main
All checks were successful
Remote Deployment Pipeline / Prepare deployment vars (push) Successful in 2s
Remote Deployment Pipeline / Create remote directory (push) Successful in 6s
Remote Deployment Pipeline / Cleanup MR environment (push) Has been skipped
Remote Deployment Pipeline / Sync repository files (push) Successful in 19s
Remote Deployment Pipeline / Run docker-compose remotely (Dev) (push) Has been skipped
Remote Deployment Pipeline / Run docker-compose remotely (Staging) (push) Successful in 6s
Remote Deployment Pipeline / Run docker-compose remotely (Prod) (push) Successful in 5s
Reviewed-on: #10
2025-11-22 00:06:21 +01:00
b05e44b56e Merge branch 'main' into renovate/actions-checkout-6.x
All checks were successful
Remote Deployment Pipeline / Prepare deployment vars (pull_request) Successful in 3s
Remote Deployment Pipeline / Create remote directory (pull_request) Has been skipped
Remote Deployment Pipeline / Cleanup MR environment (pull_request) Successful in 9s
Remote Deployment Pipeline / Sync repository files (pull_request) Has been skipped
Remote Deployment Pipeline / Run docker-compose remotely (Dev) (pull_request) Has been skipped
Remote Deployment Pipeline / Run docker-compose remotely (Staging) (pull_request) Has been skipped
Remote Deployment Pipeline / Run docker-compose remotely (Prod) (pull_request) Has been skipped
2025-11-22 00:05:22 +01:00
5a011d8f87 Update actions/checkout action to v6
All checks were successful
Remote Deployment Pipeline / Prepare deployment vars (pull_request) Successful in 2s
Remote Deployment Pipeline / Create remote directory (pull_request) Successful in 5s
Remote Deployment Pipeline / Cleanup MR environment (pull_request) Has been skipped
Remote Deployment Pipeline / Sync repository files (pull_request) Successful in 18s
Remote Deployment Pipeline / Run docker-compose remotely (Dev) (pull_request) Successful in 7s
Remote Deployment Pipeline / Run docker-compose remotely (Staging) (pull_request) Has been skipped
Remote Deployment Pipeline / Run docker-compose remotely (Prod) (pull_request) Has been skipped
2025-11-21 03:28:33 +00:00
19 changed files with 751 additions and 170 deletions

View File

@@ -8,202 +8,218 @@ on:
types: [opened, synchronize, reopened, closed] types: [opened, synchronize, reopened, closed]
env: env:
# Base path for PR preview environments # --- PATH CONFIGURATION ---
REMOTE_DEPLOY_PATH: /var/app/traefik/test REMOTE_DEPLOY_PATH: /var/app/traefik/test
# --- CUSTOMIZABLE PRODUCTION PATH ---
# Set the absolute path for your production deployment on the remote server.
REMOTE_PROD_PATH: /var/app/traefik/prod REMOTE_PROD_PATH: /var/app/traefik/prod
REMOTE_STAGING_PATH: /var/app/traefik/staging REMOTE_STAGING_PATH: /var/app/traefik/staging
REMOTE_PREPROD_PATH: /var/app/traefik/preprod
# --- SECRETS ---
SSH_HOST: ${{ secrets.SSH_HOST }} SSH_HOST: ${{ secrets.SSH_HOST }}
SSH_USER: ${{ secrets.SSH_USER }} SSH_USER: ${{ secrets.SSH_USER }}
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
SSH_PORT: ${{ secrets.SSH_PORT || 22 }} SSH_PORT: ${{ secrets.SSH_PORT || 22 }}
jobs: jobs:
prepare_deployment_vars: # ------------------------------------------------------------------
name: Prepare deployment vars # STAGE 1: PREPARE CONTEXT
# ------------------------------------------------------------------
prepare_context:
name: Prepare Context
runs-on: ubuntu-latest runs-on: ubuntu-latest
outputs: outputs:
deploy_path: ${{ steps.set-vars.outputs.deploy_path }} pr_path: ${{ steps.calc.outputs.pr_path }}
steps: steps:
- name: Set deployment variables - id: calc
id: set-vars name: Prepare Context
run: | run: |
REPO_NAME=$(echo "${{ github.repository }}" | cut -d '/' -f 2) REPO_NAME=$(echo "${{ github.repository }}" | cut -d '/' -f 2)
if [[ "${{ github.event_name }}" == "pull_request" ]]; then if [[ "${{ github.event_name }}" == "pull_request" ]]; then
# For PRs, create a unique directory under the base path echo "pr_path=${REMOTE_DEPLOY_PATH}/${REPO_NAME}-pr-${{ github.event.pull_request.number }}" >> $GITHUB_OUTPUT
DEPLOY_PATH="${REMOTE_DEPLOY_PATH}/${REPO_NAME}-pr-${{ github.event.pull_request.number }}"
else
# For 'main' branch, use the specified production path.
# Fallback to a default if REMOTE_PROD_PATH is empty.
DEPLOY_PATH="${REMOTE_PROD_PATH:-${REMOTE_DEPLOY_PATH}/main}"
fi fi
echo "DEPLOY_PATH=${DEPLOY_PATH}" >> $GITHUB_ENV
echo "deploy_path=${DEPLOY_PATH}" >> $GITHUB_OUTPUT
echo "DEPLOY_PATH will be: ${DEPLOY_PATH}"
create_remote_directory: # ------------------------------------------------------------------
name: Create remote directory # STAGE 2: DEPLOY PREVIEW (DEV)
# ------------------------------------------------------------------
deploy_preview:
name: Deploy (Dev/Preview)
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: prepare_deployment_vars needs: [prepare_context]
if: | if: github.event_name == 'pull_request' && github.event.action != 'closed'
(github.event_name == 'pull_request' && github.event.action != 'closed' && github.event.pull_request.merged == false)
|| github.ref == 'refs/heads/main'
steps: steps:
- name: Setup SSH - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
uses: webfactory/ssh-agent@a6f90b1f127823b31d4d4a8d96047790581349bd # v0.9.1
with:
ssh-private-key: ${{ env.SSH_PRIVATE_KEY }}
- name: Add host to known_hosts - name: Deploy via Rsync & Docker
run: | uses: easingthemes/ssh-deploy@a1aa0b6cf96ce2406eef90faa35007a4a7bf0ac0 # v5.1.1
mkdir -p ~/.ssh env:
chmod 700 ~/.ssh SSH_PRIVATE_KEY: ${{ env.SSH_PRIVATE_KEY }}
ssh-keyscan -p "$SSH_PORT" -T 10 -H "$SSH_HOST" >> ~/.ssh/known_hosts 2>/dev/null || { REMOTE_HOST: ${{ env.SSH_HOST }}
echo "::error::Failed to ssh-keyscan $SSH_HOST:$SSH_PORT" REMOTE_USER: ${{ env.SSH_USER }}
exit 1 REMOTE_PORT: ${{ env.SSH_PORT }}
} TARGET: ${{ needs.prepare_context.outputs.pr_path }}
chmod 644 ~/.ssh/known_hosts # Exclude git internals to save bandwidth
EXCLUDE: ".git/, .github/"
# 1. Create directory first
SCRIPT_BEFORE: |
mkdir -p ${{ needs.prepare_context.outputs.pr_path }}
# 2. Run Docker Compose after sync
SCRIPT_AFTER: |
set -e
cd ${{ needs.prepare_context.outputs.pr_path }}
docker compose --env-file dev.env -f docker-compose.yaml up -d --build --remove-orphans --wait
- name: Create directory on remote # ------------------------------------------------------------------
run: ssh -p "$SSH_PORT" $SSH_USER@$SSH_HOST "mkdir -p '${{ needs.prepare_deployment_vars.outputs.deploy_path }}'" # STAGE 3: DEPLOY STAGING
# ------------------------------------------------------------------
sync_repo_files: deploy_staging:
name: Sync repository files name: Deploy (Staging)
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: [create_remote_directory, prepare_deployment_vars] if: github.ref == 'refs/heads/main'
if: |
(github.event_name == 'pull_request' && github.event.action != 'closed' && github.event.pull_request.merged == false)
|| github.ref == 'refs/heads/main'
steps: steps:
- name: Checkout repository - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
- name: Sync files via scp - name: Deploy via Rsync & Docker
uses: appleboy/scp-action@master uses: easingthemes/ssh-deploy@a1aa0b6cf96ce2406eef90faa35007a4a7bf0ac0 # v5.1.1
env:
SSH_PRIVATE_KEY: ${{ env.SSH_PRIVATE_KEY }}
REMOTE_HOST: ${{ env.SSH_HOST }}
REMOTE_USER: ${{ env.SSH_USER }}
REMOTE_PORT: ${{ env.SSH_PORT }}
TARGET: ${{ env.REMOTE_STAGING_PATH }}
EXCLUDE: ".git/, .github/"
SCRIPT_BEFORE: |
mkdir -p ${{ env.REMOTE_STAGING_PATH }}
SCRIPT_AFTER: |
set -e
cd ${{ env.REMOTE_STAGING_PATH }}
docker compose --env-file staging.env -f docker-compose.yaml up -d --build --remove-orphans --wait
# ------------------------------------------------------------------
# STAGE 3.5: DEPLOY PRE-PROD
# ------------------------------------------------------------------
deploy_preprod:
name: Deploy (Pre-Prod)
runs-on: ubuntu-latest
# needs: [deploy_staging]
# if: github.ref == 'refs/heads/test_preprod'
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- name: Deploy via Rsync & Docker
uses: easingthemes/ssh-deploy@a1aa0b6cf96ce2406eef90faa35007a4a7bf0ac0 # v5.1.1
env:
SSH_PRIVATE_KEY: ${{ env.SSH_PRIVATE_KEY }}
REMOTE_HOST: ${{ env.SSH_HOST }}
REMOTE_USER: ${{ env.SSH_USER }}
REMOTE_PORT: ${{ env.SSH_PORT }}
TARGET: ${{ env.REMOTE_PREPROD_PATH }}
EXCLUDE: ".git/, .github/"
SCRIPT_BEFORE: |
mkdir -p ${{ env.REMOTE_PREPROD_PATH }}
SCRIPT_AFTER: |
set -e
cd ${{ env.REMOTE_PREPROD_PATH }}
docker compose --env-file preprod.env -f docker-compose.yaml -f docker-compose.prod.yaml up -d --build --remove-orphans --wait
- name: Run E2E Tests
uses: appleboy/ssh-action@823bd89e131d8d508129f9443cad5855e9ba96f0 # v1.2.4
with: with:
host: ${{ env.SSH_HOST }} host: ${{ env.SSH_HOST }}
username: ${{ env.SSH_USER }} username: ${{ env.SSH_USER }}
key: ${{ env.SSH_PRIVATE_KEY }} key: ${{ env.SSH_PRIVATE_KEY }}
port: ${{ env.SSH_PORT }} port: ${{ env.SSH_PORT }}
source: "./" script: |
target: "${{ needs.prepare_deployment_vars.outputs.deploy_path }}" set -e
cd ${{ env.REMOTE_PREPROD_PATH }}
- name: Sync file via scp (staging) echo "Running E2E tests..."
if: github.ref == 'refs/heads/main' python3 -m venv .venv
uses: appleboy/scp-action@master . .venv/bin/activate
# Export env vars
set -a
. preprod.env
set +a
pip install -r tests/e2e/requirements.txt
# Run tests
if pytest tests/e2e/; then
echo "Tests passed!"
# Cleanup on success
docker compose --env-file preprod.env -f docker-compose.yaml -f docker-compose.prod.yaml down --remove-orphans
else
echo "Tests failed!"
# Optional: Cleanup on failure? Or keep for debugging?
# User's previous script had it after, implying it runs if pytest succeeds (due to set -e).
# I will fail the step.
exit 1
fi
# ------------------------------------------------------------------
# STAGE 4: DEPLOY PRODUCTION
# ------------------------------------------------------------------
deploy_prod:
name: Deploy (Production)
runs-on: ubuntu-latest
needs: [deploy_preprod]
if: github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- name: Deploy via Rsync & Docker
uses: easingthemes/ssh-deploy@a1aa0b6cf96ce2406eef90faa35007a4a7bf0ac0 # v5.1.1
env:
SSH_PRIVATE_KEY: ${{ env.SSH_PRIVATE_KEY }}
REMOTE_HOST: ${{ env.SSH_HOST }}
REMOTE_USER: ${{ env.SSH_USER }}
REMOTE_PORT: ${{ env.SSH_PORT }}
TARGET: ${{ env.REMOTE_PROD_PATH }}
EXCLUDE: ".git/, .github/"
SCRIPT_BEFORE: |
mkdir -p ${{ env.REMOTE_PROD_PATH }}
SCRIPT_AFTER: |
set -e
cd ${{ env.REMOTE_PROD_PATH }}
docker compose --env-file prod.env -f docker-compose.yaml -f docker-compose.prod.yaml up -d --build --remove-orphans --wait
# Run E2E Tests
echo "Running E2E tests..."
export CI=true
# Create venv to avoid polluting system python
python3 -m venv .venv
. .venv/bin/activate
# Export env vars so pytest can see them
set -a
. prod.env
set +a
pip install -r tests/e2e/requirements.txt
pytest tests/e2e/
# ------------------------------------------------------------------
# CLEANUP (Using appleboy/ssh-action for pure command execution)
# ------------------------------------------------------------------
cleanup:
name: Cleanup Preview
runs-on: ubuntu-latest
needs: [prepare_context]
if: github.event_name == 'pull_request' && (github.event.action == 'closed' || github.event.pull_request.merged == true)
steps:
- name: Remove Remote Environment
uses: appleboy/ssh-action@823bd89e131d8d508129f9443cad5855e9ba96f0 # v1.2.4
with: with:
host: ${{ env.SSH_HOST }} host: ${{ env.SSH_HOST }}
username: ${{ env.SSH_USER }} username: ${{ env.SSH_USER }}
key: ${{ env.SSH_PRIVATE_KEY }} key: ${{ env.SSH_PRIVATE_KEY }}
port: ${{ env.SSH_PORT }} port: ${{ env.SSH_PORT }}
source: "./" script: |
target: ${{ env.REMOTE_STAGING_PATH }} TARGET="${{ needs.prepare_context.outputs.pr_path }}"
if [ -d "$TARGET" ]; then
run_docker_compose_dev: cd "$TARGET"
name: Run docker-compose remotely (Dev) docker compose down -v || true
runs-on: ubuntu-latest cd ..
needs: [sync_repo_files, prepare_deployment_vars] rm -rf "$TARGET"
if: | echo "Cleanup successful"
(github.event_name == 'pull_request' && github.event.action != 'closed' && github.event.pull_request.merged == false) else
steps: echo "Directory not found, skipping."
- name: Setup SSH fi
uses: webfactory/ssh-agent@a6f90b1f127823b31d4d4a8d96047790581349bd # v0.9.1
with:
ssh-private-key: ${{ env.SSH_PRIVATE_KEY }}
- name: Add host to known_hosts
run: |
mkdir -p ~/.ssh
chmod 700 ~/.ssh
ssh-keyscan -p "$SSH_PORT" -T 10 -H "$SSH_HOST" >> ~/.ssh/known_hosts 2>/dev/null || {
echo "::error::Failed to ssh-keyscan $SSH_HOST:$SSH_PORT"
exit 1
}
chmod 644 ~/.ssh/known_hosts
- name: Run docker-compose on remote host
run: ssh -p "$SSH_PORT" $SSH_USER@$SSH_HOST "cd '${{ needs.prepare_deployment_vars.outputs.deploy_path }}' && docker-compose --env-file dev.env -f docker-compose.yaml up -d --build"
run_docker_compose_staging:
name: Run docker-compose remotely (Staging)
runs-on: ubuntu-latest
needs: [sync_repo_files, prepare_deployment_vars]
if: |
(github.ref == 'refs/heads/main')
steps:
- name: Setup SSH
uses: webfactory/ssh-agent@a6f90b1f127823b31d4d4a8d96047790581349bd # v0.9.1
with:
ssh-private-key: ${{ env.SSH_PRIVATE_KEY }}
- name: Add host to known_hosts
run: |
mkdir -p ~/.ssh
chmod 700 ~/.ssh
ssh-keyscan -p "$SSH_PORT" -T 10 -H "$SSH_HOST" >> ~/.ssh/known_hosts 2>/dev/null || {
echo "::error::Failed to ssh-keyscan $SSH_HOST:$SSH_PORT"
exit 1
}
chmod 644 ~/.ssh/known_hosts
- name: Run docker-compose on remote host
run: ssh -p "$SSH_PORT" $SSH_USER@$SSH_HOST "cd '${REMOTE_STAGING_PATH}' && docker-compose --env-file staging.env -f docker-compose.yaml up -d --build"
run_docker_compose_prod:
name: Run docker-compose remotely (Prod)
runs-on: ubuntu-latest
needs: [sync_repo_files, prepare_deployment_vars]
if: |
(github.ref == 'refs/heads/main')
steps:
- name: Setup SSH
uses: webfactory/ssh-agent@a6f90b1f127823b31d4d4a8d96047790581349bd # v0.9.1
with:
ssh-private-key: ${{ env.SSH_PRIVATE_KEY }}
- name: Add host to known_hosts
run: |
mkdir -p ~/.ssh
chmod 700 ~/.ssh
ssh-keyscan -p "$SSH_PORT" -T 10 -H "$SSH_HOST" >> ~/.ssh/known_hosts 2>/dev/null || {
echo "::error::Failed to ssh-keyscan $SSH_HOST:$SSH_PORT"
exit 1
}
chmod 644 ~/.ssh/known_hosts
- name: Run docker-compose on remote host
run: ssh -p "$SSH_PORT" $SSH_USER@$SSH_HOST "cd '${{ needs.prepare_deployment_vars.outputs.deploy_path }}' && docker-compose --env-file prod.env -f docker-compose.yaml up -d --build"
cleanup_mr_environment:
name: Cleanup MR environment
runs-on: ubuntu-latest
needs: prepare_deployment_vars
if: |
github.event_name == 'pull_request' &&
(github.event.action == 'closed' || github.event.pull_request.merged == true)
steps:
- name: Setup SSH
uses: webfactory/ssh-agent@a6f90b1f127823b31d4d4a8d96047790581349bd # v0.9.1
with:
ssh-private-key: ${{ env.SSH_PRIVATE_KEY }}
- name: Add host to known_hosts
run: |
mkdir -p ~/.ssh
chmod 700 ~/.ssh
ssh-keyscan -p "$SSH_PORT" -T 10 -H "$SSH_HOST" >> ~/.ssh/known_hosts 2>/dev/null || {
echo "::error::Failed to ssh-keyscan $SSH_HOST:$SSH_PORT"
exit 1
}
chmod 644 ~/.ssh/known_hosts
- name: Run docker-compose down on remote host
run: ssh -p "$SSH_PORT" $SSH_USER@$SSH_HOST "cd '${{ needs.prepare_deployment_vars.outputs.deploy_path }}' && docker-compose down"
- name: Delete deployment directory
run: |
ssh -p "$SSH_PORT" $SSH_USER@$SSH_HOST "if [ -d '${{ needs.prepare_deployment_vars.outputs.deploy_path }}' ]; then rm -rf '${{ needs.prepare_deployment_vars.outputs.deploy_path }}'; echo 'Directory removed.'; else echo 'Directory not found, skipping.'; fi"

View File

@@ -1,3 +1,9 @@
PORT=898 PORT=898
HTTPS_PORT=446
ENV=dev ENV=dev
NETWORK_NAME=proxy NETWORK_NAME=proxy
CERTBOT_CA_RESOLVER=https://acme-staging-v02.api.letsencrypt.org/directory
DOMAIN=dev.kovagoadi.hu
ACME_BYPASS=false
TRAEFIK_LEGACY_OPT=
# TRAEFIK_LEGACY_OPT="--providers.file.directory=/etc/traefik"

9
docker-compose.prod.yaml Normal file
View File

@@ -0,0 +1,9 @@
services:
traefik:
networks:
- proxy
- legacy-nginx
networks:
legacy-nginx:
name: proxy
external: true

View File

@@ -1,7 +1,6 @@
services: services:
traefik: traefik:
image: "traefik:v3.6@sha256:aaf0f6185419a50c74651448c1a5bf4606bd2d2ddb7b8749eed505d55bf8b8ea" image: "traefik:v3.6@sha256:03650d05c2ce54959c1016c879371d20ad303ecbaecc1621f6ed231cd2e0b516"
# container_name: "traefik"
restart: unless-stopped restart: unless-stopped
security_opt: security_opt:
- no-new-privileges:true - no-new-privileges:true
@@ -13,11 +12,26 @@ services:
- "--providers.docker.network=proxy" - "--providers.docker.network=proxy"
- "--providers.docker.constraints=Label(`env`, `${ENV}`)" - "--providers.docker.constraints=Label(`env`, `${ENV}`)"
- "--entryPoints.web.address=:80" - "--entryPoints.web.address=:80"
- "--entryPoints.https.address=:443"
- "--entryPoints.web.allowACMEByPass=${ACME_BYPASS}"
- "--certificatesresolvers.letsencrypt.acme.httpchallenge=true"
- "--certificatesresolvers.letsencrypt.acme.httpchallenge.entrypoint=web"
- "--certificatesresolvers.letsencrypt.acme.email=kovagoadi@gmail.com"
- "--certificatesresolvers.letsencrypt.acme.storage=/letsencrypt/acme.json"
- "--certificatesResolvers.letsencrypt.acme.caServer=${CERTBOT_CA_RESOLVER}"
- "${TRAEFIK_LEGACY_OPT:-}"
- "--providers.file.watch=true"
# extra_hosts:
# - "staging:${STAGING_IP:-192.168.1.85}"
# - "webserver:${LEGACY_IP:-192.168.1.85}"
ports: ports:
- "${PORT}:80" - "${PORT}:80"
- "${HTTPS_PORT}:443"
- "8080" - "8080"
volumes: volumes:
- "/var/run/docker.sock:/var/run/docker.sock:ro" - "/var/run/docker.sock:/var/run/docker.sock:ro"
- "letsencrypt:/letsencrypt"
- "./${ENV}:/etc/traefik"
whoami: whoami:
image: "traefik/whoami@sha256:200689790a0a0ea48ca45992e0450bc26ccab5307375b41c84dfc4f2475937ab" image: "traefik/whoami@sha256:200689790a0a0ea48ca45992e0450bc26ccab5307375b41c84dfc4f2475937ab"
@@ -27,7 +41,15 @@ services:
labels: labels:
- "env=${ENV}" - "env=${ENV}"
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.whoami.rule=Host(`whoami.docker.localhost`)" - "traefik.http.routers.whoami.priority=100"
- "traefik.http.routers.whoami.rule=Host(`test-whoami.${DOMAIN}`)"
- "traefik.http.routers.https.priority=100"
- "traefik.http.routers.https.rule=Host(`test-whoami.${DOMAIN}`)"
- "traefik.http.routers.whoami.entrypoints=web" - "traefik.http.routers.whoami.entrypoints=web"
- traefik.http.routers.https.entrypoints=https
- traefik.http.routers.https.tls=true
- traefik.http.routers.https.tls.certresolver=letsencrypt
networks: networks:
proxy: proxy:
volumes:
letsencrypt:

9
preprod.env Normal file
View File

@@ -0,0 +1,9 @@
PORT=8081
HTTPS_PORT=447
ENV=preprod
NETWORK_NAME=proxy
CERTBOT_CA_RESOLVER=https://acme-staging-v02.api.letsencrypt.org/directory
DOMAIN=preprod.kovagoadi.hu
ACME_BYPASS=false
TRAEFIK_LEGACY_OPT="--providers.file.directory=/etc/traefik"
CI=true

View File

@@ -0,0 +1,47 @@
# ./traefik/forward-to-legacy-nginx.yaml
tcp:
routers:
# Router for HTTPS (Passthrough)
nginx-legacy-router-secure:
rule: "HostSNI(`*`)"
service: nginx-legacy-service-secure
# Passthrough must be true for SSL to reach Nginx encrypted
tls:
passthrough: true
priority: 10
entryPoints:
- "https"
services:
# Service defining the external IP
nginx-legacy-service-secure:
loadBalancer:
servers:
# This is the actual external IP and Port of your Nginx
- address: "webserver:443"
http:
routers:
# 1. TRAEFIK-MANAGED ACME HANDLER (Removed manual router)
traefik-acme-handler:
rule: "Host(`test-whoami.kovagoadi.hu`) && PathPrefix(`/.well-known/acme-challenge/`)"
entryPoints:
- "web"
service: "acme-http@internal" # This is the internal service name
priority: 1000 # High priority to ensure it wins
# 2. THE HTTP CATCH-ALL (Sends other ACME and HTTP to Nginx)
nginx-legacy-router:
rule: "HostRegexp(`^.+$`)"
service: nginx-legacy-service
# Low priority ensures specific containers are handled first, but before the default acme-handler
priority: 90
entryPoints:
- "web"
services:
nginx-legacy-service:
loadBalancer:
servers:
- url: "http://webserver:80"

View File

@@ -0,0 +1,33 @@
http:
routers:
# Router for HTTP (Port 80)
staging:
rule: "HostRegexp(`^.+\\.staging\\.kovagoadi\\.hu$`) || HostRegexp(`^.+\\.dev\\.kovagoadi\\.hu$`)"
entryPoints:
- "web"
service: "dev-staging"
priority: 1000
services:
dev-staging:
loadBalancer:
servers:
- url: "http://staging:8080"
tcp:
routers:
# Router for HTTPS (Passthrough)
dev-staging-secure:
rule: "HostSNIRegexp(`^.+\\.staging\\.kovagoadi\\.hu$`) || HostSNIRegexp(`^.+\\.dev\\.kovagoadi\\.hu$`)"
service: "dev-staging-secure"
# Passthrough must be true for SSL to reach Nginx encrypted
tls:
passthrough: true
priority: 1000
entryPoints:
- "https"
services:
dev-staging-secure:
loadBalancer:
servers:
# Note: Ensure Traefik trusts the cert at .85 or set insecureSkipVerify
- address: "staging:445"

View File

@@ -1,3 +1,8 @@
PORT=81 PORT=80
HTTPS_PORT=443
ENV=prod ENV=prod
NETWORK_NAME=proxy NETWORK_NAME=proxy
CERTBOT_CA_RESOLVER=https://acme-v02.api.letsencrypt.org/directory
DOMAIN=kovagoadi.hu
ACME_BYPASS=true
TRAEFIK_LEGACY_OPT="--providers.file.directory=/etc/traefik"

View File

@@ -0,0 +1,47 @@
# ./traefik/forward-to-legacy-nginx.yaml
tcp:
routers:
# Router for HTTPS (Passthrough)
nginx-legacy-router-secure:
rule: "HostSNI(`*`)"
service: nginx-legacy-service-secure
# Passthrough must be true for SSL to reach Nginx encrypted
tls:
passthrough: true
priority: 10
entryPoints:
- "https"
services:
# Service defining the external IP
nginx-legacy-service-secure:
loadBalancer:
servers:
# This is the actual external IP and Port of your Nginx
- address: "webserver:443"
http:
routers:
# 1. TRAEFIK-MANAGED ACME HANDLER (Removed manual router)
traefik-acme-handler:
rule: "Host(`test-whoami.kovagoadi.hu`) && PathPrefix(`/.well-known/acme-challenge/`)"
entryPoints:
- "web"
service: "acme-http@internal" # This is the internal service name
priority: 1000 # High priority to ensure it wins
# 2. THE HTTP CATCH-ALL (Sends other ACME and HTTP to Nginx)
nginx-legacy-router:
rule: "HostRegexp(`^.+$`)"
service: nginx-legacy-service
# Low priority ensures specific containers are handled first, but before the default acme-handler
priority: 90
entryPoints:
- "web"
services:
nginx-legacy-service:
loadBalancer:
servers:
- url: "http://webserver:80"

View File

@@ -0,0 +1,33 @@
http:
routers:
# Router for HTTP (Port 80)
staging:
rule: "HostRegexp(`^.+\\.staging\\.kovagoadi\\.hu$`) || HostRegexp(`^.+\\.dev\\.kovagoadi\\.hu$`)"
entryPoints:
- "web"
service: "dev-staging"
priority: 1000
services:
dev-staging:
loadBalancer:
servers:
- url: "http://staging:8080"
tcp:
routers:
# Router for HTTPS (Passthrough)
dev-staging-secure:
rule: "HostSNIRegexp(`^.+\\.staging\\.kovagoadi\\.hu$`) || HostSNIRegexp(`^.+\\.dev\\.kovagoadi\\.hu$`)"
service: "dev-staging-secure"
# Passthrough must be true for SSL to reach Nginx encrypted
tls:
passthrough: true
priority: 1000
entryPoints:
- "https"
services:
dev-staging-secure:
loadBalancer:
servers:
# Note: Ensure Traefik trusts the cert at .85 or set insecureSkipVerify
- address: "staging:445"

View File

@@ -1,3 +1,8 @@
PORT=8080 PORT=8080
HTTPS_PORT=445
ENV=staging ENV=staging
NETWORK_NAME=proxy NETWORK_NAME=proxy
CERTBOT_CA_RESOLVER=https://acme-staging-v02.api.letsencrypt.org/directory
DOMAIN=staging.kovagoadi.hu
ACME_BYPASS=false
TRAEFIK_LEGACY_OPT=

1
tests/e2e/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
__pycache__

View File

@@ -0,0 +1,2 @@
pytest
requests

221
tests/e2e/test_traefik.py Normal file
View File

@@ -0,0 +1,221 @@
import pytest
import requests
import os
# Configuration
DOMAIN = os.getenv("DOMAIN", "asdasd.kovagoadi.hu")
PORT = os.getenv("PORT", "10000")
HTTPS_PORT = os.getenv("HTTPS_PORT", "10001")
BASE_URL = f"http://127.0.0.1:{PORT}"
HTTPS_BASE_URL = f"https://127.0.0.1:{HTTPS_PORT}"
HOST_HEADER = f"test-whoami.{DOMAIN}"
@pytest.fixture(scope="session", autouse=True)
def mock_webserver():
"""Start ephemeral mock webserver containers and configure Traefik."""
import time
# Skip ephemeral mocks in CI environment; test against real services
if os.getenv("CI"):
print("CI environment detected. Skipping ephemeral mock setup; testing against real services.")
yield
return
# In CI (Docker-in-Docker), we need to use the HOST path for volumes, not the container path.
# The workflow mounts the project root to /app, but the Docker daemon is on the host.
# We pass PROJECT_ROOT env var to the test container to tell it where the files are on the HOST.
cwd = os.getenv("PROJECT_ROOT", os.getcwd())
certs_dir = os.path.join(cwd, "tests/mock_nginx/certs")
image = "nginx:alpine"
# Define mocks
mocks = [
{
"name": "mock-legacy-ephemeral",
"alias": "webserver",
"conf": os.path.join(cwd, "tests/mock_nginx/legacy.conf"),
"ports": ["80", "443"]
},
{
"name": "mock-staging-ephemeral",
"alias": "mock",
"conf": os.path.join(cwd, "tests/mock_nginx/staging.conf"),
"ports": ["8080", "445"]
}
]
# Cleanup and Start Mocks
mock_ips = {}
for mock in mocks:
subprocess.run(["docker", "rm", "-f", mock["name"]], capture_output=True)
cmd = [
"docker", "run", "-d", "--rm",
"--name", mock["name"],
"--network", "proxy",
"--network-alias", mock["alias"],
"-v", f"{mock['conf']}:/etc/nginx/nginx.conf:ro",
"-v", f"{certs_dir}:/etc/nginx/certs:ro",
image
]
print(f"Starting {mock['name']}...")
result = subprocess.run(cmd, capture_output=True, text=True)
if result.returncode != 0:
print(f"STDOUT: {result.stdout}")
print(f"STDERR: {result.stderr}")
pytest.fail(f"Failed to start {mock['name']}: {result.stderr}")
# Inspect container to get IP
inspect_cmd = ["docker", "inspect", "-f", "{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}", mock["name"]]
inspect_res = subprocess.run(inspect_cmd, capture_output=True, text=True)
if inspect_res.returncode != 0:
pytest.fail(f"Failed to inspect {mock['name']}: {inspect_res.stderr}")
mock_ips[mock["alias"]] = inspect_res.stdout.strip()
print(f"{mock['name']} IP: {mock_ips[mock['alias']]}")
# Restart Traefik with IP env vars for extra_hosts
print(f"Restarting Traefik with STAGING_IP={mock_ips['mock']} and LEGACY_IP={mock_ips['webserver']}...")
env = os.environ.copy()
env["STAGING_IP"] = mock_ips["mock"]
env["LEGACY_IP"] = mock_ips["webserver"]
# In CI (Docker-in-Docker), we need to tell docker-compose that the project root
# is the HOST path (PROJECT_ROOT), not the container path (/app).
# This ensures volume mounts use the correct host paths.
if "PROJECT_ROOT" in os.environ:
env["COMPOSE_PROJECT_DIR"] = os.environ["PROJECT_ROOT"]
# We need to recreate the container to pick up extra_hosts changes
try:
subprocess.run(["docker-compose", "--env-file", "preprod.env", "up", "-d", "--force-recreate", "--no-deps", "traefik"], env=env, check=True, capture_output=True, text=True)
except subprocess.CalledProcessError as e:
print(f"Docker Compose STDOUT: {e.stdout}")
print(f"Docker Compose STDERR: {e.stderr}")
raise e
# Wait for everything to settle
time.sleep(5)
yield
print("Stopping mocks and restoring Traefik...")
for mock in mocks:
subprocess.run(["docker", "stop", mock["name"]], capture_output=True)
# Restore Traefik to default (optional)
subprocess.run(["docker-compose", "--env-file", "preprod.env", "up", "-d", "--force-recreate", "--no-deps", "traefik"], check=True)
def test_whoami_http_reachable():
"""Verify that the whoami service is reachable via HTTP."""
try:
response = requests.get(BASE_URL, headers={"Host": HOST_HEADER}, timeout=5)
assert response.status_code == 200
assert "Hostname:" in response.text
except requests.exceptions.RequestException as e:
pytest.fail(f"Failed to connect to {BASE_URL}: {e}")
import subprocess
def test_whoami_https_reachable():
"""Verify that the whoami service is reachable via HTTPS using curl (to handle SNI/DNS)."""
# We use curl because requests doesn't support --resolve easily to force SNI with custom IP
cmd = [
"curl", "-s", "-k", "--fail",
"--resolve", f"{HOST_HEADER}:{HTTPS_PORT}:127.0.0.1",
f"https://{HOST_HEADER}:{HTTPS_PORT}"
]
try:
result = subprocess.run(cmd, capture_output=True, text=True, timeout=10, check=True)
assert result.returncode == 0
except subprocess.CalledProcessError as e:
pytest.fail(f"Curl failed with exit code {e.returncode}: {e.stderr}")
except subprocess.TimeoutExpired:
pytest.fail("Curl timed out")
def test_https_redirect():
"""Verify that HTTP requests are NOT redirected to HTTPS (based on config, or check if they SHOULD be)."""
# Based on docker-compose, there is no global redirect middleware configured on the entrypoint.
# So HTTP should remain HTTP.
try:
response = requests.get(BASE_URL, headers={"Host": HOST_HEADER}, allow_redirects=False, timeout=5)
assert response.status_code == 200
except requests.exceptions.RequestException as e:
pytest.fail(f"Failed to connect to {BASE_URL}: {e}")
def test_unknown_host_404():
"""Verify that requests to an unknown host (hitting legacy-nginx catch-all) are routed to the mock."""
try:
# We use a domain that doesn't match the specific *.dev.kovagoadi.hu rules
# so it falls through to the catch-all 'nginx-legacy-router'
response = requests.get(BASE_URL + "/login", headers={"Host": "tar.kovagoadi.hu"}, timeout=5)
assert response.status_code == 200
except requests.exceptions.RequestException as e:
pytest.fail(f"Failed to connect to {BASE_URL}: {e}")
def test_unknown_host_https_passthrough():
"""Verify that HTTPS requests to an unknown host are passed through to the mock Nginx."""
# We use curl to handle SNI and self-signed certs
# unknown.com should hit the catch-all SNI router
cmd = [
"curl", "-s", "-k", "-i", "--fail",
"--resolve", f"tar.kovagoadi.hu:{HTTPS_PORT}:127.0.0.1",
f"https://tar.kovagoadi.hu:{HTTPS_PORT}/login"
]
try:
result = subprocess.run(cmd, capture_output=True, text=True, timeout=10, check=True)
assert result.returncode == 0
except subprocess.CalledProcessError as e:
pytest.fail(f"Curl failed with exit code {e.returncode}: {e.stderr}")
except subprocess.TimeoutExpired:
pytest.fail("Curl timed out")
def test_staging_http_routing():
"""Verify HTTP requests to *.staging.kovagoadi.hu are routed to the mock."""
host = "test-whoami.staging.kovagoadi.hu"
try:
response = requests.get(BASE_URL, headers={"Host": host}, timeout=5)
assert response.status_code == 200
except requests.exceptions.RequestException as e:
pytest.fail(f"Failed to connect to {BASE_URL} with host {host}: {e}")
def test_dev_http_routing():
"""Verify HTTP requests to *.dev.kovagoadi.hu are routed to the mock."""
host = "test-whoami.dev.kovagoadi.hu"
try:
response = requests.get(BASE_URL, headers={"Host": host}, timeout=5)
assert response.status_code == 200
except requests.exceptions.RequestException as e:
pytest.fail(f"Failed to connect to {BASE_URL} with host {host}: {e}")
def test_staging_https_routing():
"""Verify HTTPS requests to *.staging.kovagoadi.hu are routed to the mock."""
host = "test-whoami.staging.kovagoadi.hu"
cmd = [
"curl", "-s", "-k", "-i", "--fail",
"--resolve", f"{host}:{HTTPS_PORT}:127.0.0.1",
f"https://{host}:{HTTPS_PORT}"
]
try:
result = subprocess.run(cmd, capture_output=True, text=True, timeout=10, check=True)
assert result.returncode == 0
except subprocess.CalledProcessError as e:
pytest.fail(f"Curl failed with exit code {e.returncode}: {e.stderr}")
except subprocess.TimeoutExpired:
pytest.fail("Curl timed out")
def test_dev_https_routing():
"""Verify HTTPS requests to *.dev.kovagoadi.hu are routed to the mock."""
host = "test-whoami.dev.kovagoadi.hu"
cmd = [
"curl", "-s", "-k", "-i", "--fail",
"--resolve", f"{host}:{HTTPS_PORT}:127.0.0.1",
f"https://{host}:{HTTPS_PORT}"
]
try:
result = subprocess.run(cmd, capture_output=True, text=True, timeout=10, check=True)
assert result.returncode == 0
except subprocess.CalledProcessError as e:
pytest.fail(f"Curl failed with exit code {e.returncode}: {e.stderr}")
except subprocess.TimeoutExpired:
pytest.fail("Curl timed out")

View File

@@ -0,0 +1,19 @@
-----BEGIN CERTIFICATE-----
MIIDCzCCAfOgAwIBAgIUU5vuywVWaoDfFyee7NCy0BqXU3kwDQYJKoZIhvcNAQEL
BQAwFTETMBEGA1UEAwwKbW9jay1uZ2lueDAeFw0yNTEyMjUxNjAwMTNaFw0yNjEy
MjUxNjAwMTNaMBUxEzARBgNVBAMMCm1vY2stbmdpbngwggEiMA0GCSqGSIb3DQEB
AQUAA4IBDwAwggEKAoIBAQCaoLrs78+HbDFB/HsXTy5nqtP7V33Js0GDWxk6QkOq
qbCtd5e2fzjkFFWkFIuouLEL1+4xW5txToaCtIYhQUgwST/Wu4wLlzrueRmprTh2
oTLbpSVXn6kO7dvDinsfelcjnLNgjRkkKPRYVvnCsrr2O9gFhClWf+WKMuNP99/O
4Y7Na4l6fyQAMjDSgdFjVvB+D9YMbkfNmo5hs009lF0Y6u35hIaY1NyfI+csvwWZ
j75I/1TGKQGwrmtG2U31xM8Y8mj7mye0IeXoIg8rl/efYVKRcEBahu0140t6A69g
N7kCSsGhl78VJEUVz5OuOSdV9UDwzawiHh/M+1KE3/3VAgMBAAGjUzBRMB0GA1Ud
DgQWBBQOgMuir6oD712l2GKpUoPo0RUcyDAfBgNVHSMEGDAWgBQOgMuir6oD712l
2GKpUoPo0RUcyDAPBgNVHRMBAf8EBTADAQH/MA0GCSqGSIb3DQEBCwUAA4IBAQAv
52u9mAOTKStdNZA4R68icJRXmOuxkTh9/rMdOYFF+GM2bMiX1DsvY9/VAFuy7EdZ
yfvu72JyaBDMljryz6doupXm9Do9um2sTU0YKkarV2EECYqt5uC56KWs9XZ9mnYW
wnTrLTbGZhRbGz4pq+Pq7Z1VUexV/Tnoxs5RlOaDxrlaS9htLfIR3dv2bhQiMGN9
1LESNZ16c3s4026pxeojCKFVf2GS+IBdbzljdUzBMVzwGl10UZQHfMDJptuW6JKo
rO5XVp5cLpLzSgUSGtGIoT2dR2Nk5kxGw4VbRCKKD7CDdS+JFypSwdg3v2oNfAmV
op1lOPZtztQRw/6zo4Ex
-----END CERTIFICATE-----

View File

@@ -0,0 +1,28 @@
-----BEGIN PRIVATE KEY-----
MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCaoLrs78+HbDFB
/HsXTy5nqtP7V33Js0GDWxk6QkOqqbCtd5e2fzjkFFWkFIuouLEL1+4xW5txToaC
tIYhQUgwST/Wu4wLlzrueRmprTh2oTLbpSVXn6kO7dvDinsfelcjnLNgjRkkKPRY
VvnCsrr2O9gFhClWf+WKMuNP99/O4Y7Na4l6fyQAMjDSgdFjVvB+D9YMbkfNmo5h
s009lF0Y6u35hIaY1NyfI+csvwWZj75I/1TGKQGwrmtG2U31xM8Y8mj7mye0IeXo
Ig8rl/efYVKRcEBahu0140t6A69gN7kCSsGhl78VJEUVz5OuOSdV9UDwzawiHh/M
+1KE3/3VAgMBAAECggEANx57c5Fqj1IMXwLC2ATEPHUDGpHOB5PMEyhqnj9XwqK5
laRPYuEH5Rmwi4w9Wnf3uIqQ4GxQxTuiLD5wn7MXKgs6Y++31LvkaHSnprnWKkd9
Cxnb7Ve/GlDEqXgYOpjQLiQiNxUk9KRasZDTeElg5vxfHVxGpgxyROit6egokiR8
JNglP+zrHicuvzl4f2DGQmjF5C4HQgyFIVrBv+vNKlqKmg2HatKIqBE60u7uw6CI
/Q8ecqU9oVZscOF9T6hUJX0xijGSsE5UTR87U2zo0+fQRJ5qZ5pLjIuF5YiCi0eT
qZex+h1TuTHNFoc1gcAyj5eDZQwwzZiR/Lae/pDyYwKBgQDVPy/elkUkoDm/OlbE
g+wZpBAGGw2ACCK5SpgwRVmHEZUvBbNZgLfE0BydaK88eDTDbLpvfVNvMoNrZQTh
bAqt9XsFBzmfMusiDYbK3ebhooObEcc6I1GmU5fqHuDv3h0CaEli2JjPmB44mXr8
EGtl98nijNgAmbaA3p7IlWGeGwKBgQC5oPJOjSw6ZRywZwB220tIm0vMcp60sTmq
H+ESaNMkpB38T9OBTdprBjAUzDCZC4jKFwU03ZQtGIN9S6BhogqyP8BRI/+lGJRQ
ZLT1eVSHuC8bX1kVfb5tlahRQ2VUSj5cZxyOiZ8JXa1r1bf8/FZ/0tzLB4a7Ge5Z
2lyQXa3SzwKBgCGCDkmRn0fEDY7o4d17RUw6JXJwKczmel5XRFbBbvH0Z1a+NJJp
0XaRpQ1u96ou0Uur+Bewv72HWHM1qnCpg3wWSMBfhERpwdzV90pFWBQ4bymcv4t5
JUlXdVWKiJnocvJ/5JgtpMVqB8WpCFQ3WEjriMOakg52GOFjGdw27OHlAoGBAKmk
eezpvXK8dySLbXQx4zI+ol38nie6E13zdmixnczNo42zkjKIaMUISaaoGP20+dTe
huaSXVl9HqXCGJdBVI8kDejZgkdqGBkEgBAaSvMhkwNr9ujaGs7hR4rEkfUfSLB/
lyx4fvw7PULgdR3hqld06E0v2qRhBV/eXFufET0nAoGAaXKncm7o2LnMIcJV3qrk
c0darLx+VWg0ILnE3/6kGSgGGnMm93tEwSX8h7Nq7QRNkVLUalVAcjm7jR9XGNsY
W8oXqsyqmntNSA2f9w4MqYO2/i/xtN830qW2nw/RLLV5avD6EkY2KrlFbrrZQr2y
q8oFyEAxJc8Kmo5ocnrPq1s=
-----END PRIVATE KEY-----

View File

@@ -0,0 +1,26 @@
events {}
http {
server {
listen 80;
server_name _;
location / {
add_header X-Mock-Service "legacy";
return 200 "Mock Nginx Legacy HTTP\n";
}
}
server {
listen 443 ssl;
server_name _;
ssl_certificate /etc/nginx/certs/server.crt;
ssl_certificate_key /etc/nginx/certs/server.key;
location / {
add_header X-Mock-Service "legacy";
return 200 "Mock Nginx Legacy HTTPS\n";
}
}
}

View File

@@ -0,0 +1,26 @@
events {}
http {
server {
listen 80;
server_name _;
location / {
add_header X-Mock-Service "true";
return 200 "Mock Nginx HTTP\n";
}
}
server {
listen 443 ssl;
server_name _;
ssl_certificate /etc/nginx/certs/server.crt;
ssl_certificate_key /etc/nginx/certs/server.key;
location / {
add_header X-Mock-Service "true";
return 200 "Mock Nginx HTTPS\n";
}
}
}

View File

@@ -0,0 +1,26 @@
events {}
http {
server {
listen 8080;
server_name _;
location / {
add_header X-Mock-Service "staging";
return 200 "Mock Nginx Staging HTTP\n";
}
}
server {
listen 445 ssl;
server_name _;
ssl_certificate /etc/nginx/certs/server.crt;
ssl_certificate_key /etc/nginx/certs/server.key;
location / {
add_header X-Mock-Service "staging";
return 200 "Mock Nginx Staging HTTPS\n";
}
}
}