Skip to content
This repository has been archived by the owner on Feb 25, 2022. It is now read-only.

adobe/helix-purge

Helix Purge

Purge two CDNs at once

Status

codecov CircleCI GitHub license GitHub issues LGTM Code Quality Grade: JavaScript semantic-release

Installation

Usage

curl -X POST https://adobeioruntime.net/api/v1/web/helix/helix-services/purge@v1?host=…&xfh=…&path=…
  • host: the inner cdn hostname
  • xfh: the outer cdn hostnames, comma separated
  • path: the path to purge

For more, see the API documentation.

Development

Deploying Helix Purge

Deploying Helix Purge requires the wsk command line client, authenticated to a namespace of your choice. For Project Helix, we use the helix namespace.

All commits to master that pass the testing will be deployed automatically. All commits to branches that will pass the testing will get commited as /helix-services/purge@ci<num> and tagged with the CI build number.

Operations

To temporarily stop purges, edit OK.md, so that it says "not ok".