https://github.com/lambdatest/lambdatest-buildkite-plugin
https://github.com/lambdatest/lambdatest-buildkite-plugin
buildkite-plugin hacktoberfest
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/lambdatest/lambdatest-buildkite-plugin
- Owner: LambdaTest
- License: other
- Created: 2023-08-18T09:53:27.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-11-07T15:54:46.000Z (over 1 year ago)
- Last Synced: 2025-07-30T15:25:48.195Z (10 months ago)
- Topics: buildkite-plugin, hacktoberfest
- Language: Shell
- Homepage:
- Size: 30.3 KB
- Stars: 0
- Watchers: 6
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# LambdaTest Buildkite Plugin
A [Buildkite plugin](https://buildkite.com/docs/agent/v3/plugins) that opens a [LambdaTest tunnel](https://www.lambdatest.com/support/docs/testing-locally-hosted-pages/).
It contains a [pre-command hook](hooks/pre-command), [pre-exit hook](hooks/pre-exit), and [tests](tests/command.bats) using [plugin-tester](https://github.com/buildkite-plugins/plugin-tester).
## Configuration
### `tunnelName`
To use a particular tunnel, you can get `LT_TUNNEL_NAME` from the environment variables in your test scripts (`BUILDKITE_JOB_ID`).
```yml
steps:
- command: 'yarn && yarn LT test'
plugins:
- lambdatest/lambdatest#v1.0.0
```
## Tests
To run the tests, run `.ci/test.sh`
## Lint
* Plugin: `.ci/lint-plugin.sh`
* Shell files `.ci/lint-shell.sh`