Skip to content

Commit 286eb89

Browse files
authored
feat: runs deploy workflows on ARM by default (#203)
* feat: runs deploy workflows on ARM by default * feat: get_values on ARM by default
1 parent d8185bc commit 286eb89

File tree

3 files changed

+14
-4
lines changed

3 files changed

+14
-4
lines changed

.github/workflows/deploy_cloudformation.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,11 @@ on:
6767
description: Additional parameters of aws cloudformation deploy
6868
required: false
6969
type: string
70+
runner:
71+
description: Runner to use
72+
required: false
73+
type: string
74+
default: ubuntu-22.04-arm64
7075

7176
outputs:
7277
stackOutputs:
@@ -86,7 +91,7 @@ on:
8691

8792
jobs:
8893
deploy:
89-
runs-on: ubuntu-latest
94+
runs-on: ${{ inputs.runner }}
9095
outputs:
9196
stackOutputs: ${{ steps.deploy.outputs.stackOutputs }}
9297
steps:

.github/workflows/deploy_helmfile.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ on:
7777
description: Runner to use
7878
required: false
7979
type: string
80-
default: ubuntu-22.04
80+
default: ubuntu-22.04-arm64
8181
helmfileVersion:
8282
description: Helmfile version
8383
required: false

.github/workflows/get_values.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ on:
88
description: Commit SHA
99
required: false
1010
type: string
11+
runner:
12+
description: Runner to use
13+
required: false
14+
type: string
15+
default: ubuntu-22.04-arm64
1116

1217
outputs:
1318
short_commit_sha:
@@ -25,7 +30,7 @@ on:
2530

2631
jobs:
2732
get_values:
28-
runs-on: ubuntu-latest
33+
runs-on: ${{ inputs.runner }}
2934
outputs:
3035
short_commit_sha: ${{ steps.get_context.outputs.short_commit_sha }}
3136
clean_branch_name: ${{ steps.get_context.outputs.clean_branch_name }}
@@ -56,7 +61,7 @@ jobs:
5661
echo "clean_branch_name=${CLEAN_BRANCH_NAME}" >> $GITHUB_OUTPUT
5762
echo "clean_branch_name_with_suffix=${CLEAN_BRANCH_NAME_WITH_SUFFIX}" >> $GITHUB_OUTPUT
5863
59-
- name: get last commit author
64+
- name: get last commit author
6065
uses: actions/github-script@v7
6166
id: get_commit_author
6267
with:

0 commit comments

Comments
 (0)