Integration

Pathly GitLab-CI-Komponenten

pathly-ping und pathly-scenario im GitLab-Katalog.

OpenAPI-VertragAPI-Schlüssel ausstellenKostenloses Solo-Konto

Vollständiges Dokument, ohne Authentifizierung, bereit für Ihren Client-Generator.

GitLab CI

CI-Komponenten unter gitlab.com/pathly1/provider/gitlab-ci, veröffentlicht im GitLab CI/CD Catalog (ping, assert, run, scenario). PATHLY_API_TOKEN als maskierte Variable.

Komponente nach dem Deploy (Stage smoke) einhängen.

include pathly-assert

# .gitlab-ci.yml
include:
  - component: gitlab.com/pathly1/provider/gitlab-ci/pathly-assert@0.1.2
    inputs:
      api_token: $PATHLY_API_TOKEN
      scenario_id: $PATHLY_SCENARIO_ID

pathly-run (smoke post-deploy)

include:
  - component: gitlab.com/pathly1/provider/gitlab-ci/pathly-run@0.1.2
    inputs:
      api_token: $PATHLY_API_TOKEN
      scenario_id: $PATHLY_SCENARIO_ID
      timeout_sec: "120"

pathly-scenario

include:
  - component: gitlab.com/pathly1/provider/gitlab-ci/pathly-scenario@0.1.2
    inputs:
      api_token: $PATHLY_API_TOKEN
      scenario_name: Checkout
      scenario_url: https://www.example.com/cart
      interval_sec: "300"