Skip to content

dns gateway: create manifest for every filter #1558

dns gateway: create manifest for every filter

dns gateway: create manifest for every filter #1558

Workflow file for this run

# Copyright Built On Envoy
# SPDX-License-Identifier: Apache-2.0
# The full text of the Apache license is available in the LICENSE file at
# the root of the repo.
name: Website
on:
push:
branches:
- main
- release/**
pull_request:
branches:
- main
- release/**
env:
GOPROXY: https://proxy.golang.org
jobs:
changes:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: dorny/paths-filter@v4
id: changes
with:
filters: |
website:
- 'website/**'
predicate-quantifier: some # Make the filters be OR-ed
token: "" # don't use github api
outputs:
website: ${{ steps.changes.outputs.website }}
website:
needs: changes
if: ${{ needs.changes.outputs.website == 'true' }}
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./website
steps:
- uses: actions/checkout@v7
- uses: actions/setup-node@v6
with:
node-version: '22'
- uses: actions/setup-go@v6
with:
go-version-file: go.mod
cache-dependency-path: go.sum
- run: make -C ../cli gen
- run: npm ci
- run: npm run build
# Aggregate all the required jobs and make it easier to customize CI required jobs
website-checks:
runs-on: ubuntu-latest
needs:
- website
# We need this to run always to force-fail (and not skip) if any needed
# job has failed. Otherwise, a skipped job will not fail the workflow.
if: always()
steps:
- run: |
echo "CI checks completed"
[ "${{
contains(needs.*.result, 'failure') ||
contains(needs.*.result, 'cancelled')
}}" == "false" ] || exit 1