release v0.17.2 #57
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.22 | |
- name: make | |
run: make | |
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 | |
with: | |
name: helm-skaffold | |
path: ./test/skaffold.yaml | |
if-no-files-found: error | |
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 | |
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@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.22 | |
- name: make | |
run: make | |
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 | |
with: | |
name: draft-binary-win | |
path: ./draft.exe | |
if-no-files-found: error | |
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 | |
with: | |
name: check_windows_helm | |
path: ./test/check_windows_helm.ps1 | |
if-no-files-found: error | |
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 | |
with: | |
name: check_windows_addon_helm | |
path: ./test/check_windows_addon_helm.ps1 | |
if-no-files-found: error | |
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 | |
with: | |
name: check_windows_kustomize | |
path: ./test/check_windows_kustomize.ps1 | |
if-no-files-found: error | |
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 | |
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 |