mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Update helm_ci.yml - add ct
flag --target-branch ${{ github.event.repository.default_branch }}
(#5106)
* Update helm_ci.yml - add ct link flag --target-branch ${{ github.event.repository.default_branch }} This validates that the chart version has been bumped * Update helm_ci.yml - add --target-branch to ct list-changed command
This commit is contained in:
parent
4538265412
commit
fe7ff5c4db
6
.github/workflows/helm_ci.yml
vendored
6
.github/workflows/helm_ci.yml
vendored
|
@ -36,16 +36,16 @@ jobs:
|
|||
- name: Run chart-testing (list-changed)
|
||||
id: list-changed
|
||||
run: |
|
||||
changed=$(ct list-changed --chart-dirs k8s/charts)
|
||||
changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }} --chart-dirs k8s/charts)
|
||||
if [[ -n "$changed" ]]; then
|
||||
echo "::set-output name=changed::true"
|
||||
fi
|
||||
|
||||
- name: Run chart-testing (lint)
|
||||
run: ct lint --all --validate-maintainers=false --chart-dirs k8s/charts
|
||||
run: ct lint --target-branch ${{ github.event.repository.default_branch }} --all --validate-maintainers=false --chart-dirs k8s/charts
|
||||
|
||||
- name: Create kind cluster
|
||||
uses: helm/kind-action@v1.8.0
|
||||
|
||||
- name: Run chart-testing (install)
|
||||
run: ct install --all --chart-dirs k8s/charts
|
||||
run: ct install --target-branch ${{ github.event.repository.default_branch }} --all --chart-dirs k8s/charts
|
||||
|
|
Loading…
Reference in a new issue