Add filter for apps for which ownership can be overriden #1767
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: test-gh-k8s-1.21 | |
on: | |
push: | |
branches: | |
- develop | |
pull_request: | |
types: [opened, reopened, synchronize] | |
jobs: | |
test-all: | |
name: Test GH 1.21 | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '1.22' | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v4 | |
with: | |
path: src/github.com/${{ github.repository }} | |
fetch-depth: 0 | |
- name: Run Tests | |
run: | | |
set -e -x | |
export GOPATH=$(pwd) | |
cd src/github.com/${{ github.repository }} | |
# Install ytt for build | |
mkdir -p /tmp/bin | |
export PATH=/tmp/bin:$PATH | |
./hack/verify-no-dirty-files.sh | |
wget -O- https://carvel.dev/install.sh | K14SIO_INSTALL_BIN_DIR=/tmp/bin bash | |
curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 | |
install minikube-linux-amd64 /usr/local/bin/minikube | |
minikube start --driver=docker --kubernetes-version 1.21.0 | |
eval $(minikube docker-env --shell=bash) | |
# Ensure that there is no existing kapp installed | |
rm -f /tmp/bin/kapp | |
./hack/build-binaries.sh | |
export KAPP_E2E_NAMESPACE=kapp-test | |
kubectl create ns $KAPP_E2E_NAMESPACE | |
./hack/test-all.sh |