An open API service indexing awesome lists of open source software.

https://github.com/lambdatest/test-at-scale-scripts


https://github.com/lambdatest/test-at-scale-scripts

golang hacktoberfest javascript linux ruby rust

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

          

# Test-at-scale

Contains scripts to setup TAS.

- Laser
- Photon
- Neuron
- JS Runners
- Test-at-Scale
- Test-at-Scale-js-smart-select

## Dev Onboarding

### Local System Setup

#### Mac Users

- Install [Homebrew](https://brew.sh/).

```bash
/bin/bash -c "$(curl -fsSL )"
```

- Install [Docker Desktop](https://www.docker.com/products/docker-desktop). Start the Docker Desktop Application before proceeding further.

- Add your machine’s [SSH keys on GitHub](https://docs.github.com/en/github/authenticating-to-github/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your-github-account).

- Create a new folder and paste mac_deployer.sh (refer Attachments) in that folder.

- Run the script using the command below. (You'll need to define credentials for various services and configurations of resources required by TestAtScale system)

```bash
bash mac_deployer.sh
```

**This script may ask for your root password in order to add entry in /etc/hosts.**

### Enviroment variables

```bash
db_pass=db-pass
azure_acc_name=azure-acc-name
azure_acc_key=azure-acc-key
github_client_id=github-client-id
github_client_secret=github-client-secret
gitlab_client_id=gitlab-client-id
gitlab_client_secret=gitlab-client-secret
bitbucket_client_id=bitbucket-client-id
bitbucket_client_secret=bitbucket-client-secret
github_app_app_name=github-app-app-id
github_app_app_id=github-app-app-id
github_app_client_id=github-app-client-id
github_app_client_secret=github-app-client-secret
github_app_private_key=github-app-private-key
```
#### Obtaining the values for environment variables

| Variable | Function | Find it here |
| :---------- | :-------- | :--------- |
| db_pass | Password for the database will be used to connect to the database running in a mysql docker container locally from the application.| You can use any password you want.|
| azure_acc_name | Name of the Azure account.| Azure portal|
| azure_acc_key | Key of the Azure account.| Azure portal|
| github_client_id | Client ID of the GitHub application.| [GitHub application settings](https://docs.github.com/en/developers/apps/building-oauth-apps/creating-an-oauth-app)|
| github_client_secret | Client secret of the GitHub application.| [GitHub application settings](https://docs.github.com/en/developers/apps/building-oauth-apps/creating-an-oauth-app)|
| gitlab_client_id | Client ID of the GitLab application.| [GitLab application settings](https://docs.gitlab.com/ee/integration/oauth_provider.html)|
| gitlab_client_secret | Client secret of the GitLab application.| [GitLab application settings](https://docs.gitlab.com/ee/integration/oauth_provider.html)|
| bitbucket_client_id | Client ID of the Bitbucket application.| [Bitbucket application settings](https://developer.atlassian.com/cloud/bitbucket/oauth-2/)|
| bitbucket_client_secret | Client secret of the Bitbucket application.| [Bitbucket application settings](https://developer.atlassian.com/cloud/bitbucket/oauth-2/)|
| github_app_app_name | Name of the GitHub application.| [GitHub application settings](https://docs.github.com/en/developers/apps/building-github-apps/creating-a-github-app)|
| github_app_app_id | App ID of the GitHub application.| [GitHub application settings](https://docs.github.com/en/developers/apps/building-github-apps/creating-a-github-app)|
| github_app_client_id | Client ID of the GitHub application.| [GitHub application settings](https://docs.github.com/en/developers/apps/building-github-apps/creating-a-github-app)|
| github_app_client_secret | Client secret of the GitHub application.| [GitHub application settings](https://docs.github.com/en/developers/apps/building-github-apps/creating-a-github-app)|
| github_app_private_key | Private key of the GitHub application.| [GitHub application settings](https://docs.github.com/en/developers/apps/building-github-apps/creating-a-github-app)|