Skip to content

Verify Installation #306

Verify Installation

Verify Installation #306

Workflow file for this run

# © 2023 SolarWinds Worldwide, LLC. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at:http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
name: Verify Installation
on:
workflow_dispatch:
inputs:
install-registry:
required: true
description: 'Registry used for install tests, one of: pypi, testpypi'
type: choice
default: 'pypi'
options:
- pypi
- testpypi
solarwinds-version:
required: false
description: 'Optional solarwinds-apm version, e.g. 0.0.3.2'
env:
SOLARWINDS_APM_VERSION: ${{ github.event.inputs.solarwinds-version }}
SW_APM_COLLECTOR_AO_PROD: ${{ secrets.SW_APM_COLLECTOR_AO_PROD }}
SW_APM_COLLECTOR_PROD: ${{ secrets.SW_APM_COLLECTOR_PROD }}
SW_APM_COLLECTOR_STAGING: ${{ secrets.SW_APM_COLLECTOR_STAGING }}
SW_APM_SERVICE_KEY_AO_PROD: ${{ secrets.SW_APM_SERVICE_KEY_AO_PROD }}
SW_APM_SERVICE_KEY_PROD: ${{ secrets.SW_APM_SERVICE_KEY_PROD }}
SW_APM_SERVICE_KEY_STAGING: ${{ secrets.SW_APM_SERVICE_KEY_STAGING }}
permissions:
id-token: write
contents: read
jobs:
install-tests:
runs-on: ${{ matrix.arch == 'arm64' && fromJSON('{"group":"apm-arm-runner"}') || 'ubuntu-latest' }}
env:
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
strategy:
matrix:
hostname:
- py3.8-alpine3.12
- py3.8-alpine3.13
- py3.8-debian10
- py3.8-debian11
- py3.8-ubuntu18.04
- py3.8-ubuntu20.04
- py3.9-alpine3.12
- py3.9-alpine3.13
- py3.9-alpine3.16
- py3.9-alpine3.17
- py3.9-centos8
- py3.9-debian10
- py3.9-debian11
- py3.9-rhel8
- py3.10-alpine3.13
- py3.10-alpine3.16
- py3.10-alpine3.17
- py3.10-amazon2023
- py3.10-debian10
- py3.10-debian11
- py3.10-ubuntu22.04
- py3.11-alpine3.16
- py3.11-alpine3.17
- py3.11-debian10
- py3.11-debian11
- py3.12-alpine3.19
- py3.12-alpine3.20
- py3.12-debian11
- py3.12-debian12
arch:
- x64
- arm64
include:
- hostname: py3.8-alpine3.12
image: python:3.8-alpine3.12
- hostname: py3.8-alpine3.13
image: python:3.8-alpine3.13
- hostname: py3.8-debian10
image: python:3.8-buster
- hostname: py3.8-debian11
image: python:3.8-bullseye
- hostname: py3.8-ubuntu18.04
image: ubuntu:18.04
- hostname: py3.8-ubuntu20.04
image: ubuntu:20.04
- hostname: py3.9-alpine3.12
image: python:3.9-alpine3.12
- hostname: py3.9-alpine3.13
image: python:3.9-alpine3.13
- hostname: py3.9-alpine3.16
image: python:3.9-alpine3.16
- hostname: py3.9-alpine3.17
image: python:3.9-alpine3.17
- hostname: py3.9-centos8
image: centos:8
- hostname: py3.9-debian10
image: python:3.9-buster
- hostname: py3.9-debian11
image: python:3.9-bullseye
- hostname: py3.9-rhel8
image: registry.fedoraproject.org/f33/python3
- hostname: py3.10-alpine3.13
image: python:3.10-alpine3.13
- hostname: py3.10-alpine3.16
image: python:3.10-alpine3.16
- hostname: py3.10-alpine3.17
image: python:3.10-alpine3.17
- hostname: py3.10-amazon2023
image: amazonlinux:2023
- hostname: py3.10-debian10
image: python:3.10-buster
- hostname: py3.10-debian11
image: python:3.10-bullseye
- hostname: py3.10-ubuntu22.04
image: ubuntu:22.04
- hostname: py3.11-alpine3.16
image: python:3.11-alpine3.16
- hostname: py3.11-alpine3.17
image: python:3.11-alpine3.17
- hostname: py3.11-debian10
image: python:3.11-buster
- hostname: py3.11-debian11
image: python:3.11-bullseye
- hostname: py3.12-alpine3.19
image: python:3.12-alpine3.19
- hostname: py3.12-alpine3.20
image: python:3.12-alpine3.20
- hostname: py3.12-debian11
image: python:3.12-bullseye
- hostname: py3.12-debian12
image: python:3.12-bookworm
# Note: JavaScript Actions (checkout) in Alpine only supported in x64
exclude:
- hostname: py3.8-alpine3.12
arch: arm64
- hostname: py3.8-alpine3.13
arch: arm64
- hostname: py3.9-alpine3.12
arch: arm64
- hostname: py3.9-alpine3.13
arch: arm64
- hostname: py3.9-alpine3.16
arch: arm64
- hostname: py3.9-alpine3.17
arch: arm64
- hostname: py3.10-alpine3.13
arch: arm64
- hostname: py3.10-alpine3.16
arch: arm64
- hostname: py3.10-alpine3.17
arch: arm64
- hostname: py3.11-alpine3.16
arch: arm64
- hostname: py3.11-alpine3.17
arch: arm64
- hostname: py3.12-alpine3.19
arch: arm64
- hostname: py3.12-alpine3.20
arch: arm64
container:
image: "${{ matrix.image }}"
options: --hostname "${{ matrix.hostname }}"
steps:
- if: ${{ matrix.image == 'amazonlinux:2023' }}
run: yum install -y tar gzip
- if: ${{ matrix.image == 'ubuntu:18.04' }}
uses: actions/checkout@v3
- if: ${{ matrix.image != 'ubuntu:18.04' }}
uses: actions/checkout@v4
- name: Setup and run install test
working-directory: ./tests/docker/install
run: ./_helper_run_install_tests.sh
shell: sh
env:
MODE: ${{ github.event.inputs.install-registry }}