Install Instructions #75
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: Install Instructions | |
on: | |
workflow_dispatch: | |
inputs: | |
base_url: | |
type: string | |
description: URL to test against. Defaults to https://docs.konghq.com. Use the netlify preview URL when testing against a branch. | |
jobs: | |
install-instructions: | |
env: | |
BASE_URL: https://docs.konghq.com | |
strategy: | |
fail-fast: false | |
matrix: | |
distro: [ubuntu, rhel, amazon-linux, debian] | |
arch: ["linux/amd64", "linux/arm64"] | |
runs-on: ubuntu-latest | |
timeout-minutes: 60 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: "recursive" | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
with: | |
platforms: arm64 | |
- name: Run Install tests | |
env: | |
DISTRO: ${{ matrix.distro }} | |
ARCH: ${{ matrix.arch }} | |
CONTINUE_ON_ERROR: 1 | |
IGNORE_SKIPS: 1 | |
EXPECTED_FAILURES_EXIT_CODE: 0 | |
BASE_URL: ${{ github.event.inputs.base_url || env.BASE_URL }} | |
run: | | |
cd tools/install-tester | |
npm ci | |
node index.js |