v0.6.0 refactor #512
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
name: Integration | |
on: | |
push: | |
tags: ["v*"] | |
branches: [main] | |
paths-ignore: | |
- "**/*.md" | |
- "**/*.nix" | |
- "**/*.lock" | |
pull_request: | |
branches: [main] | |
paths-ignore: | |
- "**/*.md" | |
- "**/*.nix" | |
- "**/*.lock" | |
workflow_dispatch: | |
inputs: | |
debug_enabled: | |
description: 'Debug with tmate set "debug_enabled"' | |
required: false | |
default: "false" | |
jobs: | |
kubernetes-docker: | |
runs-on: macos-13 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: "1.21" | |
- name: Install CLI deps | |
run: | | |
brew install kubectl docker coreutils lima | |
- name: Build and Install | |
run: make && sudo make install | |
- name: tmate debugging session | |
uses: mxschmitt/action-tmate@v3 | |
with: | |
limit-access-to-actor: true | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }} | |
- name: Start Colima | |
run: colima start --runtime docker --kubernetes | |
- name: Delay | |
run: sleep 20 | |
- name: Validate Kubernetes | |
run: kubectl cluster-info && kubectl version && kubectl get nodes -o wide | |
- name: Teardown | |
run: colima delete -f | |
kubernetes-containerd: | |
runs-on: macos-13 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: "1.21" | |
- name: Install CLI deps | |
run: | | |
brew install kubectl docker coreutils lima | |
- name: Build and Install | |
run: make && sudo make install | |
- name: tmate debugging session | |
uses: mxschmitt/action-tmate@v3 | |
with: | |
limit-access-to-actor: true | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }} | |
- name: Start | |
run: colima start --runtime containerd --kubernetes | |
- name: Delay | |
run: sleep 20 | |
- name: Validate Kubernetes | |
run: kubectl cluster-info && kubectl version && kubectl get nodes -o wide | |
- name: Teardown | |
run: colima delete -f | |
docker: | |
runs-on: macos-13 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: "1.21" | |
- name: Install CLI deps | |
run: | | |
brew install kubectl docker coreutils lima | |
- name: Build and Install | |
run: make && sudo make install | |
- name: tmate debugging session | |
uses: mxschmitt/action-tmate@v3 | |
with: | |
limit-access-to-actor: true | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }} | |
- name: Start Colima | |
run: colima start --runtime docker | |
- name: Delay | |
run: sleep 10 | |
- name: Validate Docker | |
run: docker ps && docker info | |
- name: Validate DNS | |
run: colima ssh -- nslookup host.docker.internal | |
- name: Build Image | |
run: docker build integration | |
- name: Stop | |
run: colima stop | |
- name: Teardown | |
run: colima delete -f | |
docker-aarch64: | |
runs-on: macos-13 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: "1.21" | |
- name: Install CLI deps | |
run: | | |
brew install kubectl docker coreutils lima | |
- name: Build and Install | |
run: make && sudo make install | |
- name: tmate debugging session | |
uses: mxschmitt/action-tmate@v3 | |
with: | |
limit-access-to-actor: true | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }} | |
- name: Start Colima | |
run: colima start --runtime docker --arch aarch64 | |
- name: Delay | |
run: sleep 20 | |
- name: Validate Docker | |
run: docker ps && docker info | |
- name: Build Image | |
run: docker build integration | |
- name: Validate DNS | |
run: colima ssh -- nslookup host.docker.internal | |
- name: Stop | |
run: colima stop | |
- name: Teardown | |
run: colima delete -f | |
containerd: | |
runs-on: macos-13 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: "1.21" | |
- name: Install CLI deps | |
run: | | |
brew install kubectl docker coreutils lima | |
- name: Build and Install | |
run: make && sudo make install | |
- name: tmate debugging session | |
uses: mxschmitt/action-tmate@v3 | |
with: | |
limit-access-to-actor: true | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }} | |
- name: Start Colima | |
run: colima start --runtime containerd | |
- name: Delay | |
run: sleep 10 | |
- name: Validate Containerd | |
run: colima nerdctl ps && colima nerdctl info | |
- name: Validate DNS | |
run: colima ssh -- nslookup host.docker.internal | |
- name: Build Image | |
run: colima nerdctl -- build integration | |
- name: Stop | |
run: colima stop | |
- name: Teardown | |
run: colima delete -f | |
containerd-aarch64: | |
runs-on: macos-13 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: "1.21" | |
- name: Install CLI deps | |
run: | | |
brew install kubectl docker coreutils lima | |
- name: Build and Install | |
run: make && sudo make install | |
- name: tmate debugging session | |
uses: mxschmitt/action-tmate@v3 | |
with: | |
limit-access-to-actor: true | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }} | |
- name: Start Colima | |
run: colima start --runtime containerd --arch aarch64 | |
- name: Validate Containerd | |
run: colima nerdctl ps && colima nerdctl info | |
- name: Validate DNS | |
run: colima ssh -- nslookup host.docker.internal | |
- name: Build Image | |
run: colima nerdctl -- build integration | |
- name: Delay | |
run: sleep 10 | |
- name: Stop | |
run: colima stop | |
- name: Teardown | |
run: colima delete -f |