Skip to content

Commit 1b73793

Browse files
authored
[plugin-lighthouse] Make Lighthouse API key mandatory (#5753)
1 parent c46b6ec commit 1b73793

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/gradle.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,13 +194,15 @@ jobs:
194194
AZURE_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
195195
AZURE_COSMOS_DB_KEY: ${{ secrets.AZURE_COSMOS_DB_KEY }}
196196
GMAIL_PASSWORD: ${{ secrets.GMAIL_PASSWORD }}
197+
LIGHTHOUSE_API_KEY: ${{ secrets.LIGHTHOUSE_API_KEY }}
197198
shell: bash
198199
run: |
199200
if [[ -n $BROWSERSTACK_USER && -n $BROWSERSTACK_KEY && -n $APPLITOOLS_READ_KEY && -n $APPLITOOLS_READ_KEY && -n $MONGODB_USERNAME && -n $MONGODB_PASSWORD && -n $AWS_ACCESS_KEY_ID && -n $AWS_SECRET_ACCESS_KEY && -n $AWS_REGION && -n $AZURE_CLIENT_ID && -n $AZURE_CLIENT_SECRET && -n $AZURE_TENANT_ID && -n $AZURE_SUBSCRIPTION_ID && -n $AZURE_COSMOS_DB_KEY && -n $GMAIL_PASSWORD ]]; then
200201
./gradlew :vividus-tests:debugStories -Pvividus.configuration-set.active=system \
201202
-Pvividus.selenium.grid.username=${BROWSERSTACK_USER} \
202203
-Pvividus.selenium.grid.password=${BROWSERSTACK_KEY} \
203204
-Pvividus.selenium.grid.capabilities.bstack\:options.buildName="VIVIDUS System Tests" \
205+
-Pvividus.lighthouse.api-key=${LIGHTHOUSE_API_KEY} \
204206
-Pvividus.allure.history-directory=output/history/system-tests \
205207
-Pvividus.allure.executor.name="Github Actions (Vividus)" \
206208
-Pvividus.allure.executor.type=github \

docs/modules/plugins/pages/plugin-lighthouse.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ include::partial$plugin-installation.adoc[]
1414
|Default
1515
|Description
1616

17-
|`lighthouse.application-name`
17+
|[subs=+quotes]`*lighthouse.api-key*`
1818
|<string>
1919
|
20-
|The application name to be used in the https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent[User-Agent] header.
20+
|The API key that identifies your project and provides you with API access, quota, and reports.
2121

22-
|`lighthouse.api-key`
22+
|`lighthouse.application-name`
2323
|<string>
2424
|
25-
|The API key that identifies your project and provides you with API access, quota, and reports. Its recommended to specify the key if you plan to use the plugin in an automated way and make multiple queries per second.
25+
|The application name to be used in the https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent[User-Agent] header.
2626

2727
|`lighthouse.categories`
2828
|comma-separated list of categories (`performance`, `best-practices`, `accessibility`, `seo`)

0 commit comments

Comments
 (0)