Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/build_vanagon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ on:
description: 'A comma-separated list of platforms to build for. Do not include spaces. If not provided, will use the default list of platforms supported by OpenVox.'
required: false
type: string
platforms_key:
description: 'The key in platforms.json holding the default platform list for this project. Only used when platform_list is not provided.'
required: false
type: string
default: 'vanagon'
vanagon_branch:
description: 'The branch of the vanagon repository to use'
required: false
Expand Down Expand Up @@ -58,10 +63,11 @@ jobs:
- id: set-matrix
env:
PLATFORM_LIST: ${{ inputs.platform_list }}
PLATFORMS_KEY: ${{ inputs.platforms_key }}
PROJECT_NAME: ${{ inputs.project_name }}
BRANCH: ${{ inputs.branch }}
run: |
mapfile -t default_list < <(jq -r --arg branch "${BRANCH}" '.[$branch].vanagon[]' .shared-actions/platforms.json)
mapfile -t default_list < <(jq -r --arg branch "${BRANCH}" --arg key "${PLATFORMS_KEY}" '.[$branch][$key][]' .shared-actions/platforms.json)
if [[ -n "${PLATFORM_LIST}" ]]; then
IFS=',' read -r -a platforms <<< "${PLATFORM_LIST}"
else
Expand Down
38 changes: 38 additions & 0 deletions platforms.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,23 @@
"redhatfips-8",
"redhatfips-9",
"redhatfips-10"
],
"server-vanagon": [
"amazon-2023-x86_64",
"debian-13-amd64",
"el-8-x86_64",
"el-9-x86_64",
"el-10-x86_64",
"fedora-43-x86_64",
"fedora-44-x86_64",
"redhatfips-8-x86_64",
"redhatfips-9-x86_64",
"redhatfips-10-x86_64",
"sles-15-x86_64",
"sles-16-x86_64",
"ubuntu-22.04-amd64",
"ubuntu-24.04-amd64",
"ubuntu-26.04-amd64"
]
},
"8.x": {
Expand Down Expand Up @@ -125,6 +142,27 @@
"ezbake-fips-rpm": [
"redhatfips-8",
"redhatfips-9"
],
"server-vanagon": [
"amazon-2-x86_64",
"amazon-2023-x86_64",
"debian-11-amd64",
"debian-12-amd64",
"debian-13-amd64",
"el-8-x86_64",
"el-9-x86_64",
"el-10-x86_64",
"fedora-42-x86_64",
"fedora-43-x86_64",
"fedora-44-x86_64",
"redhatfips-8-x86_64",
"redhatfips-9-x86_64",
"sles-15-x86_64",
"sles-16-x86_64",
"ubuntu-22.04-amd64",
"ubuntu-24.04-amd64",
"ubuntu-25.04-amd64",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We just dropped 25.04 in #181

"ubuntu-26.04-amd64"
]
}
}
Loading