1. lambda-dev/lambda-tunnel@0.0.2

lambda-dev/lambda-tunnel@0.0.2

Sections
Encapsulates interactions with Lambdatest tunnel
Created: March 11, 2019Version Published: March 11, 2019Releases: 2
Org Usage:
< 25

Orb Quick Start Guide

Use CircleCI version 2.1 at the top of your .circleci/config.yml file.

1 version: 2.1

Add the orbs stanza below your version, invoking the orb:

1 2 orbs: lambda-tunnel: lambda-dev/lambda-tunnel@0.0.2

Use lambda-tunnel elements in your existing workflows and jobs.

Opt-in to use of uncertified orbs on your organization’s Security settings page.

Jobs

with_tunnel

Use Lambdatest Tunnel

Show job Source
PARAMETER
DESCRIPTION
REQUIRED
DEFAULT
TYPE
docker
-
No
circleci/node:7.10
string
steps
Steps to execute once the Lambdatest Tunnel is available
Yes
-
steps

Orb Source

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 # This code is licensed from CircleCI to the user under the MIT license. # See here for details: https://circleci.com/developer/orbs/licensing version: 2.1 description: > Encapsulates interactions with Lambdatest tunnel commands: install: steps: - run: name: "Downloading tunnel binary" command: | wget https://s3.amazonaws.com/lambda-tunnel/LT_Linux.zip - run: name: "Extracting tunnel binary" command: | sudo apt-get install unzip unzip LT_Linux.zip open_tunnel: steps: - run: name: "Executing tunnel binary" background: true command: | : ${LT_EMAIL:?"Required Env Variable - LT_EMAIL not found!"} : ${LT_USERNAME:?"Required Env Variable - LT_USERNAME not found!"} : ${LT_ACCESS_KEY:?"Required Env Variable - LT_ACCESS_KEY not found!"} ./LT -user ${LT_EMAIL} -key ${LT_ACCESS_KEY} #wait for Lambda tunnel to be up sleep 40 close_tunnel: steps: - run: name: Close Lambdatest Tunnel command: killall LT jobs: with_tunnel: description: Use Lambdatest Tunnel parameters: docker: type: string default: "circleci/node:7.10" steps: type: steps description: Steps to execute once the Lambdatest Tunnel is available docker: - image: <<parameters.docker>> steps: - checkout - install - open_tunnel - steps: << parameters.steps >> - close_tunnel
Developer Updates
Get tips to optimize your builds
Or join our research panel and give feedback
By submitting this form, you are agreeing to ourTerms of UseandPrivacy Policy.