forked from lakekeeper/lakekeeper
-
Notifications
You must be signed in to change notification settings - Fork 0
58 lines (51 loc) · 1.82 KB
/
kube-auth.yml
File metadata and controls
58 lines (51 loc) · 1.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
name: Kubernetes auth integration test
on:
push:
branches:
- main
pull_request:
env:
CARGO_TERM_COLOR: always
permissions:
contents: read # Needed to checkout code
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
cancel-in-progress: true
jobs:
docker:
uses: ./.github/workflows/docker_build.yml
with:
platform: 'amd64'
dockerfile: 'docker/full.Dockerfile'
image_name: 'lakekeeper-local'
kube_auth:
needs: docker
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
- uses: engineerd/setup-kind@v0.6.2
with:
version: "v0.24.0"
- name: Restore binary
uses: actions/download-artifact@v6
with:
name: lakekeeper-image
path: artifacts
- name: Display structure of downloaded files
run: ls -Rlh artifacts
- name: Restore Docker image
run: docker load -i artifacts/lakekeeper-local-amd64.tar && kind load docker-image localhost/lakekeeper-local:amd64
- uses: azure/setup-helm@v4.3.1
id: install
- run: helm repo add lakekeeper https://lakekeeper.github.io/lakekeeper-charts/
name: Add lakekeeper helm repo
- name: Install lakekeeper (wait 300s)
run: helm install -f tests/kube-auth/values.yaml --set catalog.image.repository=localhost/lakekeeper-local --set catalog.image.tag=amd64 my-lakekeeper lakekeeper/lakekeeper --version 0.7.1 && sleep 300
- name: Run tests
run: kubectl run bootstrap-test --image=curlimages/curl -it --command=true --restart=Never -- /bin/sh -c "$(cat tests/kube-auth/bootstrap.sh)"
- name: bootstrap-logs
if: failure()
run: kubectl logs bootstrap-test
- name: server-logs
if: failure()
run : kubectl logs deployments/my-lakekeeper