Compare commits

...

4 Commits

Author SHA1 Message Date
peptiderepo
9cb1fd748b ci: update peptide-e2e reusable-workflow ref to peptide-repo org
Reusable workflow `uses:` refs do not follow GitHub transfer redirects.
Update owner string from peptiderepo to peptide-repo post org-migration.

Agent-Session: fix-e2e-ref-20260617
2026-06-17 11:13:48 +07:00
peptiderepo
2ec631803a ci: update peptide-e2e reusable-workflow ref to peptide-repo org
Reusable workflow `uses:` refs do not follow GitHub transfer redirects.
Update owner string from peptiderepo to peptide-repo post org-migration.

Agent-Session: fix-e2e-ref-20260617
2026-06-17 11:13:46 +07:00
peptiderepo
89b0a11454 ci: update peptide-e2e reusable-workflow ref to peptide-repo org
Reusable workflow `uses:` refs do not follow GitHub transfer redirects.
Update owner string from peptiderepo to peptide-repo post org-migration.

Agent-Session: fix-e2e-ref-20260617
2026-06-17 11:13:45 +07:00
peptiderepo
cae04721c7 ci: run deploy + smoke jobs on the self-hosted peptide-vps runner (#21)
Shared pipeline deploy-staging + deploy-production (deploy-app.yml) and the Playwright staging smoke (smoke.yml) now run on the org self-hosted runner [self-hosted, peptide-vps] from the VPS stable IP, fixing the Hostinger rotating-runner-IP throttle. CI/validate stay GitHub-hosted. v1.7.1.

QA: APPROVE-WITH-P2-NOTES (2026-06-17-e6f6b67); P2 = pre-existing stale peptiderepo/ owner refs (work via redirect, ref-cleanup batch).

Agent-Session: deploy-self-hosted-20260617
2026-06-17 11:04:59 +07:00
5 changed files with 16 additions and 7 deletions

View File

@@ -5,7 +5,7 @@
# #
# jobs: # jobs:
# ci: # ci:
# uses: peptiderepo/peptide-e2e/.github/workflows/ci.yml@main # uses: peptide-repo/peptide-e2e/.github/workflows/ci.yml@main
# with: # with:
# tests: stubs # or wp-framework | brain-monkey | none # tests: stubs # or wp-framework | brain-monkey | none
# has_js: false # has_js: false

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
@@ -72,7 +72,7 @@ jobs:
name: Smoke tests (staging) name: Smoke tests (staging)
needs: deploy-staging needs: deploy-staging
if: ${{ inputs.run_smoke }} if: ${{ inputs.run_smoke }}
uses: peptiderepo/peptide-e2e/.github/workflows/smoke.yml@main uses: peptide-repo/peptide-e2e/.github/workflows/smoke.yml@main
secrets: secrets:
STAGING_WP_ADMIN_USER: ${{ secrets.STAGING_WP_ADMIN_USER }} STAGING_WP_ADMIN_USER: ${{ secrets.STAGING_WP_ADMIN_USER }}
STAGING_WP_ADMIN_PASSWORD: ${{ secrets.STAGING_WP_ADMIN_PASSWORD }} STAGING_WP_ADMIN_PASSWORD: ${{ secrets.STAGING_WP_ADMIN_PASSWORD }}
@@ -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,14 +32,14 @@ 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:
- name: Checkout peptide-e2e (explicit — workflow_call defaults to caller repo) - name: Checkout peptide-e2e (explicit — workflow_call defaults to caller repo)
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
repository: peptiderepo/peptide-e2e repository: peptide-repo/peptide-e2e
ref: main ref: main
- name: Set up Node.js - name: Set up Node.js

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": {