use private ARM build of yugabyte #146
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: Kube diff | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
env: | |
PR_DIR: pr | |
TARGET_DIR: target | |
ENVS_DIR: manifests/groups | |
GOPATH: ${{ github.workspace }}/go | |
permissions: | |
contents: read | |
pull-requests: write | |
jobs: | |
kube-diff: | |
if: github.event_name == 'pull_request' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout PR branch | |
uses: actions/checkout@v3 | |
with: | |
path: ${{ env.PR_DIR }} | |
- name: Checkout Target branch | |
uses: actions/checkout@v3 | |
with: | |
path: ${{ env.TARGET_DIR }} | |
ref: ${{ github.event.pull_request.base.ref }} | |
- name: setup kustomize | |
shell: bash | |
run: curl -s "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | bash | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: 1.20.1 | |
- env: | |
GLOB_LEVELS: 3 | |
ENVS_DIR: manifests/groups | |
GITHUB_OWNER: ${{ github.repository_owner }} | |
GITHUB_REPO: ${{ github.event.repository.name }} | |
GITHUB_PR_NUMBER: ${{ github.event.pull_request.number }} | |
GITHUB_TOKEN: ${{ github.token }} | |
run: go run github.com/cyclingwithelephants/kubediff/cmd@main |