1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00

add missing step to install Kyverno CLI (#7797)

Signed-off-by: Chip Zoller <chipzoller@gmail.com>
Co-authored-by: kyverno-bot <104836976+kyverno-bot@users.noreply.github.com>
This commit is contained in:
Chip Zoller 2023-07-10 03:07:38 -04:00 committed by GitHub
parent d937a13f25
commit 4b5197d3ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -262,6 +262,12 @@ jobs:
make kind-install-kyverno make kind-install-kyverno
- name: Wait for kyverno ready - name: Wait for kyverno ready
uses: ./.github/actions/kyverno-wait-ready uses: ./.github/actions/kyverno-wait-ready
- name: Install latest Kyverno CLI
run: |
download_url=$(curl -s "https://api.github.com/repos/kyverno/kyverno/releases/latest" | grep browser_download_url | grep kyverno-cli | grep linux_x86_64.tar.gz\" | cut -d '"' -f 4)
curl -L "$download_url" -o kyverno-cli.tar.gz
tar -xvf kyverno-cli.tar.gz
sudo cp kyverno /usr/local/bin/
- name: Test policy library with kuttl - name: Test policy library with kuttl
run: | run: |
cd policies cd policies