A Buildkite plugin to start a sauce-connect tunnel with
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.buildkite
.ci
hooks
tests
.travis.yml
LICENSE
README.md
docker-compose.yml
plugin.yml

README.md

Sauce Connect Buildkite Plugin Build Status

A Buildkite plugin that opens a sauce-connect tunnel.

It contains a command hook, and tests using plugin-tester.

Example

It looks like this on success:

sauce-connect success

And like this on a connection failure:

sauce-connect failure

Usage

steps:
  - command: 'yarn && yarn saucelabs-based-tests'
    plugins:
      joscha/sauce-connect#v2.1.0: ~

Configuration

tunnel-identifier (optional)

The tunnel identifier to use, by default it will use the Buildkite Job ID (BUILDKITE_JOB_ID)

steps:
  - command: 'yarn && yarn saucelabs-based-tests'
    plugins:
      joscha/sauce-connect#v2.1.0:
        tunnel-identifier: "my-custom-tunnel-id"

sauce-connect-version (optional)

The Sauce Connect version to use, available versions, see here.

steps:
  - command: 'yarn && yarn saucelabs-based-tests'
    plugins:
      joscha/sauce-connect#v2.1.0:
        sauce-connect-version: "4.4.12"

Tests

To run the tests, run .ci/test.sh

Lint

  • Plugin: .ci/lint-plugin.sh
  • Shell files .ci/lint-shell.sh

License

MIT (see LICENSE)