Skip to content

Commit

Permalink
chore: split aurora and bluefin builds
Browse files Browse the repository at this point in the history
  • Loading branch information
bsherman committed Apr 7, 2024
1 parent b12ab3e commit 3f728c7
Show file tree
Hide file tree
Showing 7 changed files with 99 additions and 2 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/build-38-aurora.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: aurora 38
on:
merge_group:
pull_request:
branches:
- main
- testing
paths-ignore:
- '**.md'
push:
branches:
- main
- testing
paths-ignore:
- '**.md'
schedule:
- cron: '50 16 * * *' # 16:50 UTC everyday
workflow_dispatch:

jobs:
build:
name: build
uses: ./.github/workflows/reusable-build.yml
secrets: inherit
with:
brand_name: aurora
fedora_version: 38
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@ jobs:
uses: ./.github/workflows/reusable-build.yml
secrets: inherit
with:
brand_name: bluefin
fedora_version: 38
27 changes: 27 additions & 0 deletions .github/workflows/build-39-aurora.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: aurora 39
on:
merge_group:
pull_request:
branches:
- main
- testing
paths-ignore:
- '**.md'
push:
branches:
- main
- testing
paths-ignore:
- '**.md'
schedule:
- cron: '40 16 * * *' # 16:40 UTC everyday
workflow_dispatch:

jobs:
build:
name: build
uses: ./.github/workflows/reusable-build.yml
secrets: inherit
with:
brand_name: aurora
fedora_version: 39
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@ jobs:
uses: ./.github/workflows/reusable-build.yml
secrets: inherit
with:
brand_name: bluefin
fedora_version: 39
27 changes: 27 additions & 0 deletions .github/workflows/build-40-aurora.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: aurora 40
on:
merge_group:
pull_request:
branches:
- main
- testing
paths-ignore:
- '**.md'
push:
branches:
- main
- testing
paths-ignore:
- '**.md'
schedule:
- cron: '45 16 * * *' # 16:45 UTC everyday
workflow_dispatch:

jobs:
build:
name: build
uses: ./.github/workflows/reusable-build.yml
secrets: inherit
with:
brand_name: aurora
fedora_version: 40
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@ jobs:
uses: ./.github/workflows/reusable-build.yml
secrets: inherit
with:
brand_name: bluefin
fedora_version: 40
17 changes: 15 additions & 2 deletions .github/workflows/reusable-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
description: 'The Fedora release version: 38, 39, 40, etc'
required: true
type: string
brand_name:
description: "'aurora' or 'bluefin'"
required: true
type: string
env:
IMAGE_REGISTRY: ghcr.io/${{ github.repository_owner }}

Expand All @@ -21,8 +25,17 @@ jobs:
strategy:
fail-fast: false
matrix:
image_flavor: [main, nvidia, asus, asus-nvidia, framework, surface, surface-nvidia]
base_name: [bluefin, bluefin-dx, aurora, aurora-dx]
image_flavor:
- main
- nvidia
- asus
- asus-nvidia
- framework
- surface
- surface-nvidia
base_name:
- ${{ inputs.brand_name }}
- ${{ inputs.brand_name }}-dx
fedora_version:
- ${{ inputs.fedora_version }}
include:
Expand Down

0 comments on commit 3f728c7

Please sign in to comment.