Skip to content

Update HTTP listener to HTTPS for web UIs and configure TLS termination #7

Update HTTP listener to HTTPS for web UIs and configure TLS termination

Update HTTP listener to HTTPS for web UIs and configure TLS termination #7

Workflow file for this run

name: validate

Check failure on line 1 in .github/workflows/validate.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/validate.yaml

Invalid workflow file

(Line: 19, Col: 14): Unexpected symbol: '...'. Located at position 1 within expression: ...
on:
pull_request:
paths:
- "platform/**"
- "catalog/**"
- "backstage/**"
push:
branches: [main]
jobs:
yaml-and-manifests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: yamllint
run: |
pip install yamllint
# Skeletons contain Nunjucks (${{ ... }}) and are not valid YAML on their own.
yamllint -d relaxed \
$(git ls-files 'platform/**/*.yaml' 'catalog/**/*.yaml') || true
- name: Validate rendered manifests against Kubernetes + CRD schemas
run: |
curl -sL https://github.com/yannh/kubeconform/releases/latest/download/kubeconform-linux-amd64.tar.gz | tar xz
# -ignore-missing-schemas because Kong Operator / Strimzi CRDs aren't in the
# default schema set. For strict CRD validation, add -schema-location pointing
# at your extracted CRD OpenAPI schemas.
./kubeconform -ignore-missing-schemas -summary platform
asyncapi:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Validate AsyncAPI specs
run: |
npm install -g @asyncapi/cli
for f in catalog/specs/*.asyncapi.yaml; do
echo "Validating $f"
asyncapi validate "$f"
done