Skip to content

Commit

Permalink
feat: Add runner scale set as an option to build on
Browse files Browse the repository at this point in the history
The default is set to the small graph builder pipeline.
  • Loading branch information
MichaelsJP committed Aug 28, 2023
1 parent ac35378 commit 412f389
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/build_graph.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,19 @@ on:
required: false
type: boolean
default: true
runner-scale-set:
description: "Chose the runer scale set to use"
required: true
type: choice
default: graph-builder-small
options:
- graph-builder-small
- graph-builder-medium
- graph-builder-large

jobs:
build-graph:
runs-on: ["graph-builder-small*"]
runs-on: ${{ github.event.inputs.runner-scale-set }}
environment: ${{ inputs.environment }}
steps:
- name: Checkout repository
Expand Down Expand Up @@ -56,7 +65,7 @@ jobs:
cat /etc/os-release
cat /proc/cpuinfo
cat /proc/meminfo
df -h#
df -h
- name: List all installed software
run: |
apt list --installed
Expand Down

0 comments on commit 412f389

Please sign in to comment.