Skip to content

add support for aarch64 architecture #301

add support for aarch64 architecture

add support for aarch64 architecture #301

# this file is generated using gen_integration.sh
name: Integration Tests
on:
pull_request:
branches: [main, staging]
workflow_dispatch:
jobs:
build-linux:
name: Build Draft Linux Binary
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up Go
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
with:
go-version: 1.22
- name: make
run: make
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: helm-skaffold
path: ./test/skaffold.yaml
if-no-files-found: error
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: draft-binary
path: ./draft
if-no-files-found: error
build-windows:
name: Build Draft Windows Binary
runs-on: windows-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up Go
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
with:
go-version: 1.22
- name: make
run: make
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: draft-binary-win
path: ./draft.exe
if-no-files-found: error
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: check_windows_helm
path: ./test/check_windows_helm.ps1
if-no-files-found: error
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: check_windows_addon_helm
path: ./test/check_windows_addon_helm.ps1
if-no-files-found: error
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: check_windows_kustomize
path: ./test/check_windows_kustomize.ps1
if-no-files-found: error
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: check_windows_addon_kustomize
path: ./test/check_windows_addon_kustomize.ps1
if-no-files-found: error
gomodule:
needs:
- build-linux
- build-windows
uses: ./.github/workflows/integration-per-language.yml
with:
language: gomodule
repo: davidgamero/go_echo
go:
needs:
- build-linux
- build-windows
uses: ./.github/workflows/integration-per-language.yml
with:
language: go
repo: "davidgamero/go-echo-no-mod"
python:
needs:
- build-linux
- build-windows
uses: ./.github/workflows/integration-per-language.yml
with:
language: "python"
repo: "OliverMKing/flask-hello-world"
rust:
needs:
- build-linux
- build-windows
uses: ./.github/workflows/integration-per-language.yml
with:
language: "rust"
repo: "OliverMKing/tiny-http-hello-world"
javascript:
needs:
- build-linux
- build-windows
uses: ./.github/workflows/integration-per-language.yml
with:
language: "javascript"
repo: "davidgamero/express-hello-world"
ruby:
needs:
- build-linux
- build-windows
uses: ./.github/workflows/integration-per-language.yml
with:
language: "ruby"
repo: "davidgamero/sinatra-hello-world"
csharp:
needs:
- build-linux
- build-windows
uses: ./.github/workflows/integration-per-language.yml
with:
language: "csharp"
repo: "imiller31/csharp-simple-web-app"
java:
needs:
- build-linux
- build-windows
uses: ./.github/workflows/integration-per-language.yml
with:
language: "java"
repo: "imiller31/simple-java-server"
gradle:
needs:
- build-linux
- build-windows
uses: ./.github/workflows/integration-per-language.yml
with:
language: "gradle"
repo: "imiller31/simple-gradle-server"
swift:
needs:
- build-linux
- build-windows
uses: ./.github/workflows/integration-per-language.yml
with:
language: "swift"
repo: "OliverMKing/swift-hello-world"
erlang:
needs:
- build-linux
- build-windows
uses: ./.github/workflows/integration-per-language.yml
with:
language: "erlang"
repo: "bfoley13/ErlangExample"
clojure:
needs:
- build-linux
- build-windows
uses: ./.github/workflows/integration-per-language.yml
with:
language: "clojure"
repo: "imiller31/clojure-simple-http"
linux-integration-fail:
name: Integration Test Summary
runs-on: ubuntu-latest
needs:
- gomodule
- go
- python
- rust
- javascript
- ruby
- csharp
- java
- gradle
- swift
- erlang
- clojure
if: ${{ cancelled() || contains(needs.*.result, 'cancelled') || contains(needs.*.result, 'failure') }} # i cant believe this is necessary https://github.com/actions/runner/issues/2566
steps:
- run: |
echo "Some workflows have failed!"
exit 1