Skip to content

chore: add configurable pod annotation #136

chore: add configurable pod annotation

chore: add configurable pod annotation #136

name: pr_build
on:
pull_request:
paths:
- '*'
- '*/**'
- '!README.md'
- '!.tool-versions'
- '!COPYING.LGPL-3'
- '!.gitattributes'
- '!.gitignore'
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: wistia/[email protected]
- uses: earthly/actions-setup@v1
with: { version: "v${{ env.EARTHLY_TOOL_VERSION }}" }
- run: earthly +build --GOLANG_VERSION=${{ env.GOLANG_TOOL_VERSION }}
release-test:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: wistia/[email protected]
- uses: earthly/actions-setup@v1
with: { version: "v${{ env.EARTHLY_TOOL_VERSION }}" }
# intentionally avoiding --push, this is just
# to test the command
- run: earthly +release --GOLANG_VERSION=${{ env.GOLANG_TOOL_VERSION }}
skaffold:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: wistia/[email protected]
- uses: earthly/actions-setup@v1
with: { version: "v${{ env.EARTHLY_TOOL_VERSION }}" }
- name: start minikube
uses: hiberbee/[email protected]
- name: setup helm
uses: hiberbee/[email protected]
- name: run skaffold
uses: hiberbee/[email protected]
with:
skaffold-version: "${{ env.SKAFFOLD_TOOL_VERSION }}"
command: run