Skip to content

Commit

Permalink
Merge branch 'main' of github.com:Decathlon/ara into enh/addlog
Browse files Browse the repository at this point in the history
  • Loading branch information
RVANDO12 committed Jan 20, 2025
2 parents a3ef0f8 + d982149 commit 028b27d
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/charts-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,53 +7,53 @@ on:

jobs:
chart_change:
# continue-on-error: true # Uncomment once integration is finished
runs-on: ubuntu-latest
# Map a step output to a job output
outputs:
should_skip: ${{ steps.skip_check.outputs.should_skip }}
steps:
- id: skip_check
uses: fkirc/[email protected]
with:
paths: '["charts/**"]'
cancel_others: 'true'
cancel_others: true

lint-chart:
runs-on: ubuntu-latest
needs: chart_change
if: ${{ needs.chart_change.outputs.should_skip != 'true' }}
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Helm
uses: azure/setup-helm@v1
uses: azure/setup-helm@v3
with:
version: v3.4.0
- uses: actions/setup-python@v2
version: v3.17.0
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.7
python-version: 3.12.8
- name: Set up chart-testing
uses: helm/[email protected]
- name: Run chart-testing (list-changed)
id: list-changed
run: |
changed=$(ct list-changed --target-branch main)
if [[ -n "$changed" ]]; then
echo "::set-output name=changed::true"
fi
echo "changed=$changed" >> $GITHUB_ENV
- name: Run chart-testing (lint)
run: ct lint --check-version-increment=false --target-branch main

lint-docs:
runs-on: ubuntu-latest
if: ${{ needs.chart_change.outputs.should_skip != 'true' }}
needs: lint-chart
steps:
- name: Checkout
uses: actions/checkout@v1
uses: actions/checkout@v3
- name: Run helm-docs
run: .github/helm-docs.sh

kubeval-chart:
runs-on: ubuntu-latest
if: ${{ needs.chart_change.outputs.should_skip != 'true' }}
Expand All @@ -69,17 +69,17 @@ jobs:
- v1.20.1
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Set up Helm
uses: azure/setup-helm@v1
uses: azure/setup-helm@v3
with:
version: v3.4.0
version: v3.12.0
- name: Helm template
run: |
mkdir helm-templates-candidate helm-templates-stable
mkdir -p helm-templates-candidate helm-templates-stable
helm template charts/stable --output-dir helm-templates-stable
helm template charts/candidate --output-dir helm-templates-candidate
- name: validate manifests
- name: Validate manifests
uses: makocchi-git/[email protected]
with:
files: helm-templates-candidate,helm-templates-stable
Expand Down

0 comments on commit 028b27d

Please sign in to comment.