Skip to content

Commit

Permalink
ci: add aws aarch64 os replace test and update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
henrywang committed Feb 17, 2024
1 parent 5fb8ca7 commit 5839700
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 12 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/os-replace.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ jobs:
matrix:
arch: [x86_64]
platform: [openstack, gcp, aws, libvirt]
include:
- arch: aarch64
platform: aws
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -93,6 +96,9 @@ jobs:
matrix:
arch: [x86_64]
platform: [openstack, gcp, aws, libvirt]
include:
- arch: aarch64
platform: aws
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -128,6 +134,9 @@ jobs:
matrix:
arch: [x86_64]
platform: [openstack, gcp, aws, libvirt]
include:
- arch: aarch64
platform: aws
runs-on: ubuntu-latest

steps:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/trigger-cs-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:

- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v4
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: "build: centos-bootc-dev:stream9 - ${{ needs.check-image.outputs.image_version }} - ${{ steps.date.outputs.date }}"
Expand All @@ -72,21 +72,21 @@ jobs:
- name: Enable Pull Request Automerge
if: steps.cpr.outputs.pull-request-operation == 'created'
uses: peter-evans/enable-pull-request-automerge@v2
uses: peter-evans/enable-pull-request-automerge@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
pull-request-number: ${{ steps.cpr.outputs.pull-request-number }}
merge-method: rebase

- name: Add a comment to trigger test workflow
uses: peter-evans/create-or-update-comment@v2
uses: peter-evans/create-or-update-comment@v4
with:
token: ${{ secrets.PAT }}
issue-number: ${{ steps.cpr.outputs.pull-request-number }}
body: /test-cs9-dev

- name: Create a project card to track compose test result
uses: peter-evans/create-or-update-project-card@v2
uses: peter-evans/create-or-update-project-card@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
project-name: bootc test
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/trigger-cs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:

- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v4
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: "build: centos-bootc:stream9 - ${{ needs.check-image.outputs.image_version }} - ${{ steps.date.outputs.date }}"
Expand All @@ -72,21 +72,21 @@ jobs:
- name: Enable Pull Request Automerge
if: steps.cpr.outputs.pull-request-operation == 'created'
uses: peter-evans/enable-pull-request-automerge@v2
uses: peter-evans/enable-pull-request-automerge@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
pull-request-number: ${{ steps.cpr.outputs.pull-request-number }}
merge-method: rebase

- name: Add a comment to trigger test workflow
uses: peter-evans/create-or-update-comment@v2
uses: peter-evans/create-or-update-comment@v4
with:
token: ${{ secrets.PAT }}
issue-number: ${{ steps.cpr.outputs.pull-request-number }}
body: /test-cs9

- name: Create a project card to track compose test result
uses: peter-evans/create-or-update-project-card@v2
uses: peter-evans/create-or-update-project-card@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
project-name: bootc test
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/trigger-rhel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:

- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v4
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: "build: rhel9-rhel_bootc:rhel-9.4 - ${{ needs.check-image.outputs.image_version }} - ${{ steps.date.outputs.date }}"
Expand All @@ -76,21 +76,21 @@ jobs:
- name: Enable Pull Request Automerge
if: steps.cpr.outputs.pull-request-operation == 'created'
uses: peter-evans/enable-pull-request-automerge@v2
uses: peter-evans/enable-pull-request-automerge@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
pull-request-number: ${{ steps.cpr.outputs.pull-request-number }}
merge-method: rebase

- name: Add a comment to trigger test workflow
uses: peter-evans/create-or-update-comment@v2
uses: peter-evans/create-or-update-comment@v4
with:
token: ${{ secrets.PAT }}
issue-number: ${{ steps.cpr.outputs.pull-request-number }}
body: /test-rhel94

- name: Create a project card to track compose test result
uses: peter-evans/create-or-update-project-card@v2
uses: peter-evans/create-or-update-project-card@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
project-name: bootc test
Expand Down

0 comments on commit 5839700

Please sign in to comment.