Skip to content

Commit

Permalink
chore: Update k8s matrix with k8s v1.24+ (#246)
Browse files Browse the repository at this point in the history
* chore: Update k8s matrix with k8s v1.24+
* fix: removed k8s 1.18 and 1.19 from the matrix. Kapp controller version used CI requires k8 1.20+


Signed-off-by: Rashed Kamal <krashed@vmware.com>
  • Loading branch information
rashedkvm authored Aug 23, 2022
1 parent f8b8a5b commit 10c46bf
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,11 @@ jobs:
strategy:
matrix:
k8s:
- 1.18.20
- 1.19.16
- 1.20.15
- 1.21.12
- 1.22.9
- 1.23.6
- 1.24.2
fail-fast: false
env:
REGISTRY_NAME: registry.local
Expand All @@ -143,7 +142,7 @@ jobs:
- name: Install kind
run: |
cd $(mktemp -d -t kind.XXXX)
curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.11.1/kind-$(go env GOHOSTOS)-$(go env GOHOSTARCH)
curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.14.0/kind-$(go env GOHOSTOS)-$(go env GOHOSTARCH)
chmod +x ./kind
sudo mv ./kind /usr/local/bin
cd -
Expand Down Expand Up @@ -205,7 +204,7 @@ jobs:
set -o nounset
set -o pipefail
kapp deploy -a kapp-controller -y -f https://github.com/vmware-tanzu/carvel-kapp-controller/releases/download/v0.36.1/release.yml
kapp deploy -a kapp-controller -y -f https://github.com/vmware-tanzu/carvel-kapp-controller/releases/download/v0.39.0/release.yml
- name: Deploy Service Bindings Package
run: |
set -o errexit
Expand Down Expand Up @@ -297,7 +296,7 @@ jobs:
set -o pipefail
deploys=$(kapp app-change list -a service-bindings-ctrl --json | jq '.Tables[0].Rows | length')
if [ "$deploys" != "1" ]; then
if [ "$((deploys))" -gt 1 ]; then
echo "Too many app changes for the service-binding package, expected 1 found ${deploys}"
exit 1
fi
Expand Down

0 comments on commit 10c46bf

Please sign in to comment.