ci: switch deploy+smoke jobs to self-hosted runner (peptide-vps) [v1.7.1] #21

Merged
peptiderepo merged 1 commits from claude/deploy-self-hosted-20260617 into main 2026-06-17 04:04:59 +00:00
4 changed files with 13 additions and 4 deletions

View File

@@ -35,7 +35,7 @@ permissions:
jobs: jobs:
deploy-staging: deploy-staging:
name: Deploy to Staging name: Deploy to Staging
runs-on: ubuntu-latest runs-on: [self-hosted, peptide-vps]
environment: staging environment: staging
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@@ -83,7 +83,7 @@ jobs:
# skipped smoke (run_smoke: false) still allows prod via the if-condition. # skipped smoke (run_smoke: false) still allows prod via the if-condition.
needs: [deploy-staging, smoke] needs: [deploy-staging, smoke]
if: ${{ !cancelled() && needs.deploy-staging.result == 'success' && needs.smoke.result != 'failure' }} if: ${{ !cancelled() && needs.deploy-staging.result == 'success' && needs.smoke.result != 'failure' }}
runs-on: ubuntu-latest runs-on: [self-hosted, peptide-vps]
environment: production environment: production
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4

View File

@@ -32,7 +32,7 @@ on:
jobs: jobs:
smoke: smoke:
name: Playwright smoke suite name: Playwright smoke suite
runs-on: ubuntu-latest runs-on: [self-hosted, peptide-vps]
timeout-minutes: 15 timeout-minutes: 15
steps: steps:

View File

@@ -1,5 +1,14 @@
# Changelog # Changelog
## [1.7.1] - 2026-06-17
### Changed
- **CI/CD**: Switch `deploy-staging`, `deploy-production`, and `smoke` jobs from
`ubuntu-latest` (GitHub-hosted) to `[self-hosted, peptide-vps]` (org runner on
KVM8 VPS). This routes all Hostinger SSH/rsync traffic through our stable VPS IP,
fixing the Azure-region throttle that caused intermittent deploy failures.
Callers' CI/validate jobs are unaffected (remain on `ubuntu-latest`).
## [1.7.0] - 2026-06-17 ## [1.7.0] - 2026-06-17
### Added ### Added

View File

@@ -1,6 +1,6 @@
{ {
"name": "peptide-e2e", "name": "peptide-e2e",
"version": "1.7.0", "version": "1.7.1",
"description": "Playwright smoke tests for peptiderepo.com (staging + production)", "description": "Playwright smoke tests for peptiderepo.com (staging + production)",
"private": true, "private": true,
"scripts": { "scripts": {