fix(4allportal): ingress forwarding #930
Workflow file for this run
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
name: Lint Code Base | |
"on": | |
- pull_request | |
jobs: | |
build: | |
name: Lint Code Base | |
runs-on: ubuntu-latest | |
env: | |
CT_TARGET_BRANCH: ${{ github.event.repository.default_branch }} | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: install yq | |
run: | | |
sudo snap install yq | |
- name: Extract helm repos | |
id: helm-repos | |
run: | | |
echo -n "::set-output name=repos::" | |
for DIR in ./charts/*; do | |
FILE="$DIR/Chart.yaml" | |
DIR="${DIR//\./}" | |
yq e '.dependencies.[].repository' "$FILE" | |
done | sort -u | awk '{printf (NR>1 ? "," : "") NR "=" $1}' | |
echo | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.11 | |
- name: Set up chart-testing | |
uses: helm/[email protected] | |
- name: Lint charts | |
run: ct lint | |
env: | |
CT_CHART_REPOS: ${{ steps.helm-repos.outputs.repos }} |