Skip to content

Commit

Permalink
add arm build pipeline (#1482)
Browse files Browse the repository at this point in the history
* add arm build pipeline

Signed-off-by: Corey Hemminger <hemminger@hotmail.com>
  • Loading branch information
Stromweld authored Mar 5, 2023
1 parent ff8d3be commit 16d4f71
Show file tree
Hide file tree
Showing 31 changed files with 322 additions and 382 deletions.
124 changes: 124 additions & 0 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
---
on:
pull_request:

jobs:
pkr-bld-amazonlinux-x64:
# needs:
# - yaml-lint
# - json-lint
# - xml-lint
# - powershell-lint
# - shellcheck-lint
# - packer-iso-check
# - packer-lint
uses: ./.github/workflows/pkr-bld-amazonlinux-x64.yml
secrets: inherit

pkr-bld-hyperv-x64:
# needs:
# - yaml-lint
# - json-lint
# - xml-lint
# - powershell-lint
# - shellcheck-lint
# - packer-iso-check
# - packer-lint
uses: ./.github/workflows/pkr-bld-hyperv-x64.yml
secrets: inherit

pkr-bld-parallels-arm64:
# needs:
# - yaml-lint
# - json-lint
# - xml-lint
# - powershell-lint
# - shellcheck-lint
# - packer-iso-check
# - packer-lint
uses: ./.github/workflows/pkr-bld-parallels-arm64.yml
secrets: inherit

pkr-bld-parallels-x64:
# needs:
# - yaml-lint
# - json-lint
# - xml-lint
# - powershell-lint
# - shellcheck-lint
# - packer-iso-check
# - packer-lint
uses: ./.github/workflows/pkr-bld-parallels-x64.yml
secrets: inherit

pkr-bld-qemu-arm64:
# needs:
# - yaml-lint
# - json-lint
# - xml-lint
# - powershell-lint
# - shellcheck-lint
# - packer-iso-check
# - packer-lint
uses: ./.github/workflows/pkr-bld-qemu-arm64.yml
secrets: inherit

pkr-bld-qemu-x64:
# needs:
# - yaml-lint
# - json-lint
# - xml-lint
# - powershell-lint
# - shellcheck-lint
# - packer-iso-check
# - packer-lint
uses: ./.github/workflows/pkr-bld-qemu-x64.yml
secrets: inherit

pkr-bld-virtualbox-arm64:
# needs:
# - yaml-lint
# - json-lint
# - xml-lint
# - powershell-lint
# - shellcheck-lint
# - packer-iso-check
# - packer-lint
uses: ./.github/workflows/pkr-bld-virtualbox-arm64.yml
secrets: inherit

pkr-bld-virtualbox-x64:
# needs:
# - yaml-lint
# - json-lint
# - xml-lint
# - powershell-lint
# - shellcheck-lint
# - packer-iso-check
# - packer-lint
uses: ./.github/workflows/pkr-bld-virtualbox-x64.yml
secrets: inherit

pkr-bld-vmware-arm64:
# needs:
# - yaml-lint
# - json-lint
# - xml-lint
# - powershell-lint
# - shellcheck-lint
# - packer-iso-check
# - packer-lint
uses: ./.github/workflows/pkr-bld-vmware-arm64.yml
secrets: inherit

pkr-bld-vmware-x64:
# needs:
# - yaml-lint
# - json-lint
# - xml-lint
# - powershell-lint
# - shellcheck-lint
# - packer-iso-check
# - packer-lint
uses: ./.github/workflows/pkr-bld-vmware-x64.yml
secrets: inherit
55 changes: 55 additions & 0 deletions .github/workflows/ci-verify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
---
on:
pull_request:
schedule:
- cron: '0 0 * * 0'

jobs:
markdown-lint:
uses: chef/github-workflows/.github/workflows/markdown-lint.yml@main

markdown-link-checker:
uses: chef/github-workflows/.github/workflows/markdown-link-checker.yml@main

yaml-lint:
uses: chef/github-workflows/.github/workflows/yaml-lint.yml@main

json-lint:
uses: chef/github-workflows/.github/workflows/json-lint.yml@main

xml-lint:
uses: chef/github-workflows/.github/workflows/xml-lint.yml@main

shellcheck-lint:
uses: chef/github-workflows/.github/workflows/shellcheck-lint.yml@main

powershell-lint:
uses: chef/github-workflows/.github/workflows/powershell-lint.yml@main

packer-iso-check:
uses: chef/github-workflows/.github/workflows/packer-iso-url-checker.yml@main
secrets: inherit

packer-lint:
uses: chef/github-workflows/.github/workflows/packer-lint.yml@main
secrets: inherit

check_jobs_pass:
if: always()
needs:
- markdown-lint
- yaml-lint
- json-lint
- xml-lint
- powershell-lint
- shellcheck-lint
- packer-iso-check
- packer-lint
runs-on: Ubuntu-latest
steps:
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@main
with:
allowed-failures:
allowed-skips: ${{ toJSON(needs) }}
jobs: ${{ toJSON(needs) }}
183 changes: 0 additions & 183 deletions .github/workflows/ci.yml

This file was deleted.

Loading

0 comments on commit 16d4f71

Please sign in to comment.