build: changelog automatic update #351
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: CI | |
on: | |
push: | |
branches: | |
- master | |
- integration | |
- experimental* | |
- release_* | |
- ci* | |
- pci* | |
tags: | |
- v* | |
pull_request: | |
workflow_dispatch: | |
inputs: | |
workflow_branch: | |
description: branch to use | |
required: true | |
type: string | |
repository_dispatch: | |
types: | |
- metwork-trigger* | |
env: | |
# DOCKER_RUN_OPTIONS: "-v ${{ github.workspace }}:/src -e GITHUB_REF -e GITHUB_RUN_NUMBER -e GITHUB_SHA -e GITHUB_REPOSITORY" | |
WORKFLOW_SCRIPTS_DIR: .github/workflows | |
DOCKER_WORKFLOW_SCRIPTS_DIR: /src/.github/workflows | |
PAYLOAD_BRANCH: ${{ github.event.client_payload.branch }} | |
PAYLOAD_OS: ${{ github.event.client_payload.os }} | |
WORKFLOW_BRANCH: ${{ github.event.inputs.workflow_branch }} | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
container: | |
- rockylinux:8.5 | |
- rockylinux:8.6 | |
- rockylinux:8.7 | |
- rockylinux:8.8 | |
- rockylinux:8.9 | |
# - rockylinux:8.10 | |
- rockylinux/rockylinux:8.10 | |
- rockylinux:9.0 | |
- rockylinux:9.1 | |
- rockylinux:9.2 | |
- rockylinux:9.3 | |
# - rockylinux:9.4 | |
- rockylinux/rockylinux:9.4 | |
- fedora:34 | |
- fedora:35 | |
- fedora:36 | |
- fedora:37 | |
- fedora:38 | |
- fedora:39 | |
- fedora:40 | |
- fedora:41 | |
- fedora:42 | |
container: | |
image: ${{ matrix.container }} | |
steps: | |
- name: install git fedora | |
if: ${{ startsWith(matrix.container, 'fedora:') }} | |
run: | | |
yum -y install git | |
- name: install git rocky | |
if: ${{ startsWith(matrix.container, 'rockylinux:') }} | |
run: | | |
yum -y install git | |
- name: install git alma | |
if: ${{ startsWith(matrix.container, 'almalinux:') }} | |
run: | | |
yum -y install git | |
- name: install git centos-stream | |
if: ${{ startsWith(matrix.container, 'dokken/centos-stream') }} | |
run: | | |
yum -y install git | |
- name: install git opensuse | |
if: ${{ startsWith(matrix.container, 'opensuse') }} | |
run: | | |
zypper -n install git | |
- name: install git mageia | |
if: ${{ startsWith(matrix.container, 'mageia:') }} | |
run: | | |
yes |urpmi lib64apr1_0 lib64apr-util1_0 git | |
- name: checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
ref: ${{ github.event.client_payload.branch || github.event.inputs.workflow_branch || github.ref }} | |
- name: set variables | |
id: SetVariables | |
run: | | |
${WORKFLOW_SCRIPTS_DIR}/set_variables.sh | |
- name: integration_tests | |
if: ${{ steps.SetVariables.outputs.branch != 'null' }} | |
run: | | |
export REPOSITORY=${{ steps.SetVariables.outputs.repository }} | |
export IMAGE=${{ matrix.container }} | |
export BRANCH=${{ steps.SetVariables.outputs.branch }} | |
export SECRET=${{ secrets.METWORK_ACCESS_TOKEN }} | |
${WORKFLOW_SCRIPTS_DIR}/integration_tests.sh | |