zuul-ngrok

An ngrok tunnel implementation for Zuul

MIT 9 个版本
安装
npm install zuul-ngrok
yarn add zuul-ngrok
pnpm add zuul-ngrok
bun add zuul-ngrok
README

zuul-ngrok

Uses ngrok as a tunneling service to run Zuul exposed to the world, also used when running tests in Saucelabs.

Any ngrok node module options can be specified in .zuul.yml in the tunnel section. For details see the module pages.

Here is an example:

tunnel:
  type: ngrok
  authtoken: JnawIksKFkXQzrxSjIjQ
  subdomain: doge

and another one:

tunnel:
  type: ngrok
  authtoken: JnawIksKFkXQzrxSjIjQ
  proto: tcp

In fact tcp-mode is a special case. If proto is specified, the tcp:// prefix is replaced with http:// for the Zuul tests to run.

The authtoken value is required to set proto, subdomain and httpauth options. It can also be specified in an environmental variable NGROK_AUTH_TOKEN:

NGROK_AUTH_TOKEN=tokentokentoken zuul -- test
版本列表
4.0.0 2016-05-19
3.2.0 2015-11-19
3.1.0 2015-09-04
3.0.0 2015-03-09
2.1.0 2015-03-06
2.0.1 2015-03-03
2.0.0 2015-01-30
1.0.1 2015-01-30
1.0.0 2015-01-29