forked from SeleniumHQ/docker-selenium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Viet Nguyen Duc <[email protected]>
- Loading branch information
Showing
5 changed files
with
27 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
name: Test Charts Set Component OverrideName | ||
name: Test Charts Install | ||
|
||
on: | ||
push: | ||
paths: | ||
- 'charts/selenium-grid/templates/*' | ||
- 'charts/selenium-grid/**' | ||
pull_request: | ||
paths: | ||
- 'charts/selenium-grid/templates/*' | ||
- 'charts/selenium-grid/**' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
|
@@ -32,22 +32,19 @@ jobs: | |
- name: Set up chart-testing | ||
uses: helm/[email protected] | ||
|
||
- name: Build chart dependencies | ||
run: | | ||
helm repo add kedacore https://kedacore.github.io/charts | ||
helm repo update | ||
helm dependency build charts/selenium-grid | ||
- name: Run chart-testing (list-changed) | ||
id: list-changed | ||
run: | | ||
changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }}) | ||
changed=$(ct list-changed --config tests/chart-test.yaml) | ||
if [[ -n "$changed" ]]; then | ||
echo "changed=true" >> "$GITHUB_OUTPUT" | ||
echo "{changed}={true}" >> $GITHUB_OUTPUT | ||
fi | ||
- name: Run chart-testing (lint) | ||
run: ct lint --config tests/chart-test.yaml | ||
|
||
- name: Create kind cluster | ||
uses: helm/[email protected] | ||
|
||
- name: Run chart-testing (install) | ||
run: ct install --config tests/ChartTests/ct-nameOverride.yaml --target-branch ${{ github.event.repository.default_branch }} | ||
run: ct install --config tests/chart-test.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
The `ci` folder should contain a `values-*.yaml` file with the desired values, and chart-testing will automatically use these values when running the `ct install` command. For more details, see this [helm/chart-testing-action](https://github.com/helm/chart-testing-action) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#These desired is used to test the overrideName of the component | ||
hub: | ||
nameOverride: my-hub-name | ||
chromeNode: | ||
nameOverride: my-chrome-name | ||
firefoxNode: | ||
nameOverride: my-firefox-name | ||
edgeNode: | ||
nameOverride: my-edge-name |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
target-branch: trunk | ||
chart-dirs: | ||
- charts | ||
chart-repos: | ||
- kedacore=https://kedacore.github.io/charts | ||
upgrade: true | ||
helm-extra-args: --timeout 600s | ||
check-version-increment: false |